@polkadot/extension-inject 0.46.3 → 0.46.5
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/cjs/packageInfo.js +1 -1
- package/package.json +10 -8
- package/packageInfo.js +1 -1
- package/types.d.ts +2 -1
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.46.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/extension-inject', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.46.5' };
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"sideEffects": true,
|
|
17
17
|
"type": "module",
|
|
18
|
-
"version": "0.46.
|
|
18
|
+
"version": "0.46.5",
|
|
19
19
|
"main": "./cjs/index.js",
|
|
20
20
|
"module": "./index.js",
|
|
21
21
|
"types": "./index.d.ts",
|
|
@@ -88,14 +88,16 @@
|
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
|
-
"@polkadot/
|
|
92
|
-
"@polkadot/
|
|
93
|
-
"@polkadot/
|
|
94
|
-
"@polkadot/util
|
|
95
|
-
"@polkadot/
|
|
96
|
-
"
|
|
91
|
+
"@polkadot/api": "^10.9.1",
|
|
92
|
+
"@polkadot/rpc-provider": "^10.9.1",
|
|
93
|
+
"@polkadot/types": "^10.9.1",
|
|
94
|
+
"@polkadot/util": "^12.3.2",
|
|
95
|
+
"@polkadot/util-crypto": "^12.3.2",
|
|
96
|
+
"@polkadot/x-global": "^12.3.2",
|
|
97
|
+
"tslib": "^2.5.3"
|
|
97
98
|
},
|
|
98
99
|
"peerDependencies": {
|
|
99
|
-
"@polkadot/api": "*"
|
|
100
|
+
"@polkadot/api": "*",
|
|
101
|
+
"@polkadot/util": "*"
|
|
100
102
|
}
|
|
101
103
|
}
|
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.46.
|
|
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.46.5' };
|
package/types.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Signer as InjectedSigner } from '@polkadot/api/types';
|
|
2
2
|
import type { ProviderInterface } from '@polkadot/rpc-provider/types';
|
|
3
3
|
import type { ExtDef } from '@polkadot/types/extrinsic/signedExtensions/types';
|
|
4
|
+
import type { HexString } from '@polkadot/util/types';
|
|
4
5
|
import type { KeypairType } from '@polkadot/util-crypto/types';
|
|
5
6
|
type This = typeof globalThis;
|
|
6
7
|
export type Unsubcall = () => void;
|
|
@@ -35,7 +36,7 @@ export interface ProviderMeta {
|
|
|
35
36
|
}
|
|
36
37
|
export interface MetadataDefBase {
|
|
37
38
|
chain: string;
|
|
38
|
-
genesisHash:
|
|
39
|
+
genesisHash: HexString;
|
|
39
40
|
icon: string;
|
|
40
41
|
ss58Format: number;
|
|
41
42
|
chainType?: 'substrate' | 'ethereum';
|