@polkadot/extension-inject 0.56.1 → 0.57.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/chrome.d.ts +0 -2
- package/cjs/bundle.js +2 -2
- package/cjs/chrome.d.ts +0 -2
- package/cjs/cyrb53.js +1 -2
- package/cjs/packageInfo.js +1 -1
- package/package.json +8 -8
- package/packageInfo.js +1 -1
package/chrome.d.ts
CHANGED
package/cjs/bundle.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.packageInfo = void 0;
|
|
4
|
+
exports.injectExtension = injectExtension;
|
|
4
5
|
const cyrb53_js_1 = require("./cyrb53.js");
|
|
5
6
|
var packageInfo_js_1 = require("./packageInfo.js");
|
|
6
7
|
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_js_1.packageInfo; } });
|
|
@@ -27,4 +28,3 @@ function injectExtension(enable, { name, version }) {
|
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
|
-
exports.injectExtension = injectExtension;
|
package/cjs/chrome.d.ts
CHANGED
package/cjs/cyrb53.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cyrb53 =
|
|
3
|
+
exports.cyrb53 = cyrb53;
|
|
4
4
|
function cyrb53(input, seed = Date.now()) {
|
|
5
5
|
let h1 = 0xdeadbeef ^ seed;
|
|
6
6
|
let h2 = 0x41c6ce57 ^ seed;
|
|
@@ -14,4 +14,3 @@ function cyrb53(input, seed = Date.now()) {
|
|
|
14
14
|
// https://stackoverflow.com/a/52171480
|
|
15
15
|
return (h2 >>> 0).toString(16).padStart(8, '0') + (h1 >>> 0).toString(16).padStart(8, '0');
|
|
16
16
|
}
|
|
17
|
-
exports.cyrb53 = cyrb53;
|
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-inject', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/extension-inject', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.57.1' };
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"sideEffects": true,
|
|
17
17
|
"type": "module",
|
|
18
|
-
"version": "0.
|
|
18
|
+
"version": "0.57.1",
|
|
19
19
|
"main": "./cjs/index.js",
|
|
20
20
|
"module": "./index.js",
|
|
21
21
|
"types": "./index.d.ts",
|
|
@@ -154,13 +154,13 @@
|
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
156
|
"dependencies": {
|
|
157
|
-
"@polkadot/api": "^
|
|
158
|
-
"@polkadot/rpc-provider": "^
|
|
159
|
-
"@polkadot/types": "^
|
|
160
|
-
"@polkadot/util": "^13.2.
|
|
161
|
-
"@polkadot/util-crypto": "^13.2.
|
|
162
|
-
"@polkadot/x-global": "^13.2.
|
|
163
|
-
"tslib": "^2.
|
|
157
|
+
"@polkadot/api": "^15.0.1",
|
|
158
|
+
"@polkadot/rpc-provider": "^15.0.1",
|
|
159
|
+
"@polkadot/types": "^15.0.1",
|
|
160
|
+
"@polkadot/util": "^13.2.3",
|
|
161
|
+
"@polkadot/util-crypto": "^13.2.3",
|
|
162
|
+
"@polkadot/x-global": "^13.2.3",
|
|
163
|
+
"tslib": "^2.8.1"
|
|
164
164
|
},
|
|
165
165
|
"peerDependencies": {
|
|
166
166
|
"@polkadot/api": "*",
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/extension-inject', 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-inject', 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.57.1' };
|