@subwallet/extension-dapp 1.3.69-0 → 1.3.71-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.
- package/bundle-polkadot-extension-dapp.js +1 -1
- package/cjs/bundle.js +2 -2
- package/cjs/packageInfo.js +1 -1
- package/package.json +3 -3
- package/packageInfo.js +1 -1
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
name: '@subwallet/extension-dapp',
|
|
21
21
|
path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : typeof document === 'undefined' ? location.href : (document.currentScript && document.currentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href)) }) && (typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : typeof document === 'undefined' ? location.href : (document.currentScript && document.currentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))) ? new URL((typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : typeof document === 'undefined' ? location.href : (document.currentScript && document.currentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.substring(0, new URL((typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : typeof document === 'undefined' ? location.href : (document.currentScript && document.currentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
22
22
|
type: 'esm',
|
|
23
|
-
version: '1.3.
|
|
23
|
+
version: '1.3.71-0'
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
const unwrapBytes = util.u8aUnwrapBytes;
|
package/cjs/bundle.js
CHANGED
|
@@ -218,10 +218,10 @@ async function web3FromSource(source) {
|
|
|
218
218
|
return throwError('web3FromSource');
|
|
219
219
|
}
|
|
220
220
|
const sources = await web3EnablePromise;
|
|
221
|
-
const found = source && sources.find(
|
|
221
|
+
const found = source && sources.find(_ref0 => {
|
|
222
222
|
let {
|
|
223
223
|
name
|
|
224
|
-
} =
|
|
224
|
+
} = _ref0;
|
|
225
225
|
return name === source;
|
|
226
226
|
});
|
|
227
227
|
if (!found) {
|
package/cjs/packageInfo.js
CHANGED
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"./cjs/detectPackage.js"
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
|
-
"version": "1.3.
|
|
20
|
+
"version": "1.3.71-0",
|
|
21
21
|
"main": "./cjs/index.js",
|
|
22
22
|
"module": "./index.js",
|
|
23
23
|
"types": "./index.d.ts",
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@babel/runtime": "^7.
|
|
70
|
+
"@babel/runtime": "^7.28.4",
|
|
71
71
|
"@polkadot/util": "^13.5.3",
|
|
72
72
|
"@polkadot/util-crypto": "^13.5.3",
|
|
73
|
-
"@subwallet/extension-inject": "^1.3.
|
|
73
|
+
"@subwallet/extension-inject": "^1.3.71-0"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@polkadot/api": "*",
|
package/packageInfo.js
CHANGED
|
@@ -7,5 +7,5 @@ export const packageInfo = {
|
|
|
7
7
|
name: '@subwallet/extension-dapp',
|
|
8
8
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
9
9
|
type: 'esm',
|
|
10
|
-
version: '1.3.
|
|
10
|
+
version: '1.3.71-0'
|
|
11
11
|
};
|