Skip to content

Commit

Permalink
Merge pull request #975 from hypersign-protocol/v5.0.5
Browse files Browse the repository at this point in the history
V5.0.5
  • Loading branch information
Vishwas1 authored Feb 20, 2022
2 parents 32c3066 + a5178b5 commit e9a60c9
Show file tree
Hide file tree
Showing 30 changed files with 5,170 additions and 74,639 deletions.
76,933 changes: 2,861 additions & 74,072 deletions package-lock.json

Large diffs are not rendered by default.

27 changes: 24 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "hyperfye-frontend",
"version": "v5.0.4",
"version": "v5.0.5",
"private": true,
"scripts": {
"serve": "vue-cli-service serve --mode production",
"dev": "vue-cli-service serve --mode staging",
"watch": "watchify src/serviceWorker.js -o public/service-worker.js -v [ babelify --presets [es2015] ]",
"start:dev": " vue-cli-service serve --mode staging ",
"dev": "npm run watch & npm run start:dev",
"setEnv": "cp env.staging .env",
"build": "vue-cli-service build",
"serviceworker": "browserify src/serviceWorker.js -o public/service-worker.js -v [ babelify --presets [es2015] ]",
"build": " npm run serviceworker & vue-cli-service build ",
"build-stage": "vue-cli-service build --mode staging",
"lint": "vue-cli-service lint",
"test:unit": "vue-cli-service test:unit",
Expand All @@ -18,7 +21,9 @@
"auth0-js": "^9.16.2",
"axios": "^0.21.1",
"bootstrap-vue": "^2.0.0-rc.11",
"browserify": "^17.0.0",
"dayjs": "^1.10.6",
"dotenv": "^16.0.0",
"js-file-download": "^0.4.12",
"marked": "^3.0.8",
"node-fetch": "^2.6.0",
Expand All @@ -30,6 +35,7 @@
"vue-easytable": "^2.11.0",
"vue-loading-overlay": "^3.4.0",
"vue-meta": "^2.4.0",
"vue-multiselect": "^2.1.6",
"vue-notification": "^1.3.20",
"vue-qr": "^2.4.0",
"vue-recaptcha": "^1.3.0",
Expand All @@ -40,21 +46,36 @@
"vuejs-datepicker": "^1.6.2",
"vuejs-datetimepicker": "^1.1.13",
"vuejs-paginate": "^2.1.0",
"watchify": "^4.0.0",
"web3": "^1.6.0"
},
"devDependencies": {
"babelify": "^7.2.0",
"@vue/cli-plugin-babel": "^3.0.0-rc.10",
"@vue/cli-plugin-eslint": "^3.0.0-rc.10",
"@vue/cli-plugin-unit-mocha": "^3.0.0-rc.10",
"@vue/cli-service": "^3.0.0-rc.10",
"@vue/test-utils": "^1.0.0-beta.20",
"babel-preset-es2015": "^6.24.1",
"chai": "^4.1.2",
"eslint": "^5.16.0",
"eslint-loader": "^3.0.2",
"eslint-plugin-vue": "^5.2.3",
"prettier": "^2.4.1",
"vue-template-compiler": "^2.5.16"
},
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"es2015"
]
}
]
]
},
"eslintConfig": {
"root": true,
"env": {
Expand Down
Binary file added public/FyreTgram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 64 additions & 0 deletions public/service-worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
"use strict";

self.addEventListener("install", async function () {
console.log("Service worker installing...");
// Add a call to skipWaiting here
});

self.addEventListener("activate", async function () {
console.log("Service Worker actives");
});

self.addEventListener("notificationclick", function (e) {
// console.log(e.notification.data.url);

switch (e.action) {
case "open_url":
// eslint-disable-next-line no-undef
clients.openWindow(e.notification.data.url);
break;

default:
// eslint-disable-next-line no-undef
clients.openWindow(e.notification.data.url);

break;
}
});

self.addEventListener("push", async function (e) {
try {

var data = e.data.json();

// var options = {
// body: body,
// icon: "/mstile-150x150.png",
// image: "",
// vibrate: [100, 50, 100],
// sound: "clip",
// data: {
// dateOfArrival: Date.now(),
// primaryKey: 1,
// },
// actions: [
// {
// action: "explore",
// title: "Explore this new world",

// },
// {
// action: "close",
// title: "I don't want any of this",

// },
// ],
// };
e.waitUntil(self.registration.showNotification(data.data.title, e.data.json()));
} catch (e) {
return;
}
});

},{}]},{},[1]);
Binary file added src/assets/FyreTgram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions src/assets/gift.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/moonbase-alpha.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/ringing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e9a60c9

Please sign in to comment.