@polkadot/extension-inject 0.56.1 → 0.56.2

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 CHANGED
@@ -1,3 +1 @@
1
- /// <reference types="chrome" />
2
- /// <reference types="chrome" />
3
1
  export declare const chrome: typeof globalThis.chrome;
package/cjs/bundle.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.injectExtension = exports.packageInfo = void 0;
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
@@ -1,3 +1 @@
1
- /// <reference types="chrome" />
2
- /// <reference types="chrome" />
3
1
  export declare const chrome: typeof globalThis.chrome;
package/cjs/cyrb53.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.cyrb53 = void 0;
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;
@@ -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.56.1' };
4
+ exports.packageInfo = { name: '@polkadot/extension-inject', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.56.2' };
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "sideEffects": true,
17
17
  "type": "module",
18
- "version": "0.56.1",
18
+ "version": "0.56.2",
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": "^14.2.1",
158
- "@polkadot/rpc-provider": "^14.2.1",
159
- "@polkadot/types": "^14.2.1",
160
- "@polkadot/util": "^13.2.2",
161
- "@polkadot/util-crypto": "^13.2.2",
162
- "@polkadot/x-global": "^13.2.2",
163
- "tslib": "^2.6.2"
157
+ "@polkadot/api": "^14.3.1",
158
+ "@polkadot/rpc-provider": "^14.3.1",
159
+ "@polkadot/types": "^14.3.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.56.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.56.2' };