mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-11-07 17:11:07 +00:00
Bump version to 0.62.19
This commit is contained in:
1 parent
f123bbfacc
commit
8cbd3702d5
59 files changed
+3674
-15
No files matched your search
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see background.js.LICENSE.txt */
|
||||
(()=>{var __webpack_modules__={149(e,t,n){"use strict";n.d(t,{A:()=>D});var r=n(52418),a=n(32064),i=n(44112),s=n(82646),o=n(32135),c=n(25584),u=n(50965);const l=[{info:"local",text:"Local Node (Own, 127.0.0.1:9944)",value:"ws://127.0.0.1:9944/"}],d=l[0],h=[{info:"on",text:"Allow camera access",value:"on"},{info:"off",text:"Do not allow camera access",value:"off"}],p=[{info:"session",text:"Once per session",value:"session"},{info:"tx",text:"On each transaction",value:"tx"}],m=[{info:"off",text:"Do not auto-update extension metadata",value:"off"},{info:"on",text:"Auto-update extension metadata",value:"on"}],f=[{info:"on",text:"Allow local in-browser account storage",value:"on"},{info:"off",text:"Do not allow local in-browser account storage",value:"off"}],g=[{info:"none",text:"Do not attach Ledger devices",value:"none"},{info:"webusb",text:"Attach Ledger via WebUSB (Chrome, recommended)",value:"webusb"},{info:"hid",text:"Attach Ledger via WebHID (Chrome, experimental)",value:"hid"}],y=[{info:"generic",text:"Use the Ledger Pezkuwi Generic App",value:"generic"},{info:"migration",text:"Use the Ledger Migration App",value:"migration"},{info:"chainSpecific",text:"Use the Chain Specific Ledger App",value:"chainSpecific"}],b="undefined"!=typeof window&&window.location.host.includes("pezkuwi")||"undefined"==typeof window||!window.location.host.includes("ui-light")?"full":"light",v=[{info:"full",text:"Fully featured",value:"full"},{info:"light",text:"Basic features only",value:"light"}],w=[{info:"light",text:"Light theme",value:"light"},{info:"dark",text:"Dark theme",value:"dark"}],x=[{info:"default",text:"Default for the connected node",value:"default"},{info:"pezkuwi",text:"Pezkuwi",value:"pezkuwi"},{info:"bizinikiwi",text:"Bizinikiwi",value:"bizinikiwi"},{info:"beachball",text:"Beachball",value:"beachball"}];const k=[{info:"default",text:"Default for the connected node",value:-1},...n(51267).tR.map(({displayName:e,network:t,prefix:n})=>({info:t,text:e,value:n}))],V=[{info:"sr25519",text:"Schnorrkel (sr25519, recommended)",value:"sr25519"},{info:"ed25519",text:"Edwards (ed25519, alternative)",value:"ed25519"},{info:"ecdsa",text:"ECDSA (Non BTC/ETH compatible)",value:"ecdsa"}],S=[{info:"ethereum",text:"ECDSA (ETH compatible)",value:"ethereum"}],T=[...V,{info:"ed25519-ledger",text:"Ledger (ed25519, BIP32 derivation)",value:"ed25519-ledger"}];function P(e,t,n){const r=t||n;return e.some(({value:e})=>e===r)?r:n}const M=new class{#e;#t;#n;#r;#a;#i;#s;#o;#c;#u;#l;#d;#h;#p;#m;constructor(){const e=o.get("settings")||{};this.#e=new s,this.#n="string"==typeof e.apiUrl&&e.apiUrl||c.i4&&{EXTENSION_PREFIX:"Pezkuwi",NODE_ENV:"production",PORT_PREFIX:"0x343cabeadae178ba"}?.WS_URL||d.value,this.#t={param:this.#n,type:"json-rpc"},this.#r=P(h,e.camera,"off"),this.#s=P(y,e.ledgerApp,"generic"),this.#o=P(g,e.ledgerConn,"none"),this.#a=e.i18nLang||"default",this.#i=e.icon||"default",this.#c=e.locking||"session",this.#u=P(m,e.storage,"off"),this.#m=e.notification||"popup",this.#l=(0,u.b)(e.prefix)?-1:e.prefix,this.#d=P(f,e.storage,"off"),this.#h=e.uiMode||b,this.#p=e.uiTheme||"light"}get camera(){return this.#r}get apiType(){return this.#t}get apiUrl(){return this.#n}get i18nLang(){return this.#a}get icon(){return this.#i}get notification(){return this.#m}get ledgerApp(){return this.#s}get ledgerConn(){return this.#o}get locking(){return this.#c}get metadataUp(){return this.#u}get prefix(){return this.#l}get storage(){return this.#d}get uiMode(){return this.#h}get uiTheme(){return this.#p}get availableCamera(){return h}get availableCryptos(){return V}get availableCryptosEth(){return S}get availableCryptosLedger(){return T}get availableIcons(){return x}get availableLedgerApp(){return y}get availableLedgerConn(){return g}get availableLocking(){return p}get availableMetadataUp(){return m}get availableNodes(){return l}get availablePrefixes(){return k}get availableStorage(){return f}get availableUIModes(){return v}get availableUIThemes(){return w}get(){return{apiType:this.#t,apiUrl:this.#n,camera:this.#r,i18nLang:this.#a,icon:this.#i,ledgerApp:this.#s,ledgerConn:this.#o,locking:this.#c,metadataUp:this.#u,notification:this.#m,prefix:this.#l,storage:this.#d,uiMode:this.#h,uiTheme:this.#p}}set(e){this.#t=e.apiType||this.#t,this.#n=e.apiUrl||this.#n,this.#r=e.camera||this.#r,this.#o=e.ledgerConn||this.#o,this.#s=e.ledgerApp||this.#s,this.#a=e.i18nLang||this.#a,this.#i=e.icon||this.#i,this.#c=e.locking||this.#c,this.#u=e.metadataUp||this.#u,this.#m=e.notification||this.#m,this.#l=(0,u.b)(e.prefix)?this.#l:e.prefix,this.#d=e.storage||this.#d,this.#h=e.uiMode||this.#h,this.#p=e.uiTheme||this.#p;const t=this.get();o.set("settings",t),this.#e.emit("change",t)}on(e,t){this.#e.on(e,t)}};var A=n(51344),E=n(23343),z=n(53803);class I extends z.A{constructor(){super(E.Jb&&"polkadot{.js}"!==E.Jb?`${E.Jb}metadata`:"metadata")}}let C=0;function O(){return`${E.Jb}.${Date.now()}.${++C}`}var N=n(47643);const H=chrome.runtime.getURL("notification.html"),j={focusLine truncated
|
||||
Reference in new issue
Block a user