@subwallet/web-runner 1.1.25-0 → 1.1.26-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();class t{_storage={};constructor(){this.sync()}setItem(e,t){this._storage[e]=t,localStorage.setItem(e,t)}getItem(e){return this._storage[e]||localStorage.getItem(e)||null}removeItem(e){this._storage[e]&&delete this._storage[e],localStorage.removeItem(e)}clear(){this._storage={},localStorage.clear()}key(e){return Object.keys(this._storage)[e]||null}length(e){return Object.keys(this._storage)[e]||null}keys(){return Object.keys(this._storage)||[]}copy(){return JSON.parse(JSON.stringify(this._storage))}sync(){this._storage=JSON.parse(JSON.stringify(localStorage))}static get instance(){return window.SWStorage||(console.log("SWStorage init"),window.SWStorage=new t),window.SWStorage}}e.g.chrome||(e.g.chrome={}),e.g.chrome.extension||(e.g.chrome.extension={getURL:e=>e});const r=t.instance;e.g.chrome.runtime={lastError:void 0},e.g.chrome.windows={getCurrent:()=>{}},e.g.chrome.tabs={query:()=>{}},e.g.chrome.storage={local:{get:(e,t)=>{e||(e=r.keys()),"string"==typeof e&&(e=[e]);const o={};e.forEach((e=>{o[e]=function(e,t){const o=r.getItem(e);if(!o)return t;try{return JSON.parse(o)}catch(e){return t}}(e)})),t(o)},set:(e,t)=>{Object.entries(e).forEach((([e,t])=>{var o,s;o=e,s=t,r.setItem(o,JSON.stringify(s))})),t&&t()},remove:(e,t,o)=>{!function(e){r.removeItem(e)}(e),o&&o()}}}})();
package/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"><title>SubWallet</title><script inline inline-asset="fallback.js$" inline-asset-delete></script><script inline inline-asset="web-runner.js$" inline-asset-delete></script><script defer="defer" src="fallback-2cbe8504a1de420e3a98.js"></script><script defer="defer" src="web-runner-4a6b7063f1a8817c23ef.js"></script></head><body><div id="root">SubWallet</div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><title>SubWallet</title><script inline inline-asset="fallback.js$" inline-asset-delete></script><script inline inline-asset="web-runner.js$" inline-asset-delete></script><script defer="defer" src="fallback-9c912c3ba3e1bf2f7289.js"></script><script defer="defer" src="web-runner-aeb37a426a409192cd4f.js"></script></head><body><div id="root">SubWallet</div></body></html>
@@ -688,7 +688,6 @@
688
688
  "{{time}} days": "",
689
689
  "Available for withdrawal": "",
690
690
  "Withdraw in {{time}}": "",
691
- "Withdrawable in a day": "",
692
691
  "Pools": "",
693
692
  "Nominate": "",
694
693
  "Token is not supported": "",
@@ -688,7 +688,6 @@
688
688
  "{{time}} days": "{{time}} 日",
689
689
  "Available for withdrawal": "引き出し可能",
690
690
  "Withdraw in {{time}}": "{{time}} で引き出し",
691
- "Withdrawable in a day": "1 日で引き出し可能",
692
691
  "Pools": "プール",
693
692
  "Nominate": "ノミネート",
694
693
  "Token is not supported": "トークンはサポートされていません",
@@ -688,7 +688,6 @@
688
688
  "{{time}} days": "{{time}} дней",
689
689
  "Available for withdrawal": "Доступно для вывода",
690
690
  "Withdraw in {{time}}": "Вывести через {{time}}",
691
- "Withdrawable in a day": "Выводимо в течение дня",
692
691
  "Pools": "Пулы",
693
692
  "Nominate": "Номинировать",
694
693
  "Token is not supported": "Токен не поддерживается",
@@ -688,7 +688,6 @@
688
688
  "{{time}} days": "",
689
689
  "Available for withdrawal": "",
690
690
  "Withdraw in {{time}}": "",
691
- "Withdrawable in a day": "",
692
691
  "Pools": "Pool",
693
692
  "Nominate": "Nominate",
694
693
  "Token is not supported": "",
@@ -688,7 +688,6 @@
688
688
  "{{time}} days": "",
689
689
  "Available for withdrawal": "",
690
690
  "Withdraw in {{time}}": "",
691
- "Withdrawable in a day": "",
692
691
  "Pools": "集合",
693
692
  "Nominate": "提名",
694
693
  "Token is not supported": "",
package/package.json CHANGED
@@ -14,12 +14,12 @@
14
14
  },
15
15
  "sideEffects": false,
16
16
  "type": "module",
17
- "version": "1.1.25-0",
17
+ "version": "1.1.26-0",
18
18
  "dependencies": {
19
19
  "@babel/runtime": "^7.20.6",
20
- "@subwallet/extension-base": "^1.1.25-0",
21
- "@subwallet/extension-inject": "^1.1.25-0",
22
- "@subwallet/extension-koni-ui": "^1.1.25-0"
20
+ "@subwallet/extension-base": "^1.1.26-0",
21
+ "@subwallet/extension-inject": "^1.1.26-0",
22
+ "@subwallet/extension-koni-ui": "^1.1.26-0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@polkadot/dev": "^0.65.23",
@@ -41,7 +41,7 @@
41
41
  "stream-http": "^3.2.0",
42
42
  "thread-loader": "^3.0.4",
43
43
  "url-loader": "^4.1.1",
44
- "webpack": "^5.74.0",
44
+ "webpack": "^5.89.0",
45
45
  "webpack-cli": "^4.10.0",
46
46
  "webpack-dev-server": "^4.11.1"
47
47
  }