@polkadot/extension-dapp 0.46.8 → 0.47.1
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/bundle.d.ts +2 -2
- package/bundle.js +2 -2
- package/cjs/bundle.js +2 -2
- package/cjs/packageInfo.js +1 -1
- package/package.json +2 -2
- package/packageInfo.js +1 -1
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
const packageInfo = { name: '@polkadot/extension-dapp', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href)) }) && (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))) ? new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.substring(0, new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.
|
|
21
|
+
const packageInfo = { name: '@polkadot/extension-dapp', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href)) }) && (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))) ? new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.substring(0, new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.47.1' };
|
|
22
22
|
|
|
23
23
|
const unwrapBytes = util.u8aUnwrapBytes;
|
|
24
24
|
const wrapBytes = util.u8aWrapBytes;
|
package/bundle.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export declare function web3Enable(originName: string, compatInits?: (() => Prom
|
|
|
14
14
|
/**
|
|
15
15
|
* @summary Retrieves all the accounts across all providers
|
|
16
16
|
* @description
|
|
17
|
-
* This returns the full list of account available (
|
|
18
|
-
* the page.
|
|
17
|
+
* This returns the full list of account available (across all extensions) to
|
|
18
|
+
* the page. Filtering options are available of a per-extension, per type and
|
|
19
19
|
* per-genesisHash basis. Optionally the accounts can be encoded with the provided
|
|
20
20
|
* ss58Format
|
|
21
21
|
*/
|
package/bundle.js
CHANGED
|
@@ -103,8 +103,8 @@ export function web3Enable(originName, compatInits = []) {
|
|
|
103
103
|
/**
|
|
104
104
|
* @summary Retrieves all the accounts across all providers
|
|
105
105
|
* @description
|
|
106
|
-
* This returns the full list of account available (
|
|
107
|
-
* the page.
|
|
106
|
+
* This returns the full list of account available (across all extensions) to
|
|
107
|
+
* the page. Filtering options are available of a per-extension, per type and
|
|
108
108
|
* per-genesisHash basis. Optionally the accounts can be encoded with the provided
|
|
109
109
|
* ss58Format
|
|
110
110
|
*/
|
package/cjs/bundle.js
CHANGED
|
@@ -111,8 +111,8 @@ exports.web3Enable = web3Enable;
|
|
|
111
111
|
/**
|
|
112
112
|
* @summary Retrieves all the accounts across all providers
|
|
113
113
|
* @description
|
|
114
|
-
* This returns the full list of account available (
|
|
115
|
-
* the page.
|
|
114
|
+
* This returns the full list of account available (across all extensions) to
|
|
115
|
+
* the page. Filtering options are available of a per-extension, per type and
|
|
116
116
|
* per-genesisHash basis. Optionally the accounts can be encoded with the provided
|
|
117
117
|
* ss58Format
|
|
118
118
|
*/
|
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/extension-dapp', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/extension-dapp', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.47.1' };
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/packageDetect.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "0.
|
|
21
|
+
"version": "0.47.1",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@polkadot/extension-inject": "0.
|
|
76
|
+
"@polkadot/extension-inject": "0.47.1",
|
|
77
77
|
"@polkadot/util": "^12.6.2",
|
|
78
78
|
"@polkadot/util-crypto": "^12.6.2",
|
|
79
79
|
"tslib": "^2.6.2"
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/extension-dapp', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/extension-dapp', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.47.1' };
|