@metamask/keyring-sdk 2.1.1 → 2.3.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/CHANGELOG.md +27 -2
- package/dist/eth/eth-4337-keyring.cjs +3 -0
- package/dist/eth/eth-4337-keyring.cjs.map +1 -0
- package/dist/eth/eth-4337-keyring.d.cts +35 -0
- package/dist/eth/eth-4337-keyring.d.cts.map +1 -0
- package/dist/eth/eth-4337-keyring.d.mts +35 -0
- package/dist/eth/eth-4337-keyring.d.mts.map +1 -0
- package/dist/eth/eth-4337-keyring.mjs +2 -0
- package/dist/eth/eth-4337-keyring.mjs.map +1 -0
- package/dist/eth/index.cjs.map +1 -1
- package/dist/eth/index.d.cts +1 -0
- package/dist/eth/index.d.cts.map +1 -1
- package/dist/eth/index.d.mts +1 -0
- package/dist/eth/index.d.mts.map +1 -1
- package/dist/eth/index.mjs.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/migration.cjs +95 -0
- package/dist/migration.cjs.map +1 -0
- package/dist/migration.d.cts +124 -0
- package/dist/migration.d.cts.map +1 -0
- package/dist/migration.d.mts +124 -0
- package/dist/migration.d.mts.map +1 -0
- package/dist/migration.mjs +90 -0
- package/dist/migration.mjs.map +1 -0
- package/dist/v2/eth/eth-keyring-v1-adapter.cjs +320 -0
- package/dist/v2/eth/eth-keyring-v1-adapter.cjs.map +1 -0
- package/dist/v2/eth/eth-keyring-v1-adapter.d.cts +156 -0
- package/dist/v2/eth/eth-keyring-v1-adapter.d.cts.map +1 -0
- package/dist/v2/eth/eth-keyring-v1-adapter.d.mts +156 -0
- package/dist/v2/eth/eth-keyring-v1-adapter.d.mts.map +1 -0
- package/dist/v2/eth/eth-keyring-v1-adapter.mjs +314 -0
- package/dist/v2/eth/eth-keyring-v1-adapter.mjs.map +1 -0
- package/dist/v2/eth/index.cjs +1 -0
- package/dist/v2/eth/index.cjs.map +1 -1
- package/dist/v2/eth/index.d.cts +1 -0
- package/dist/v2/eth/index.d.cts.map +1 -1
- package/dist/v2/eth/index.d.mts +1 -0
- package/dist/v2/eth/index.d.mts.map +1 -1
- package/dist/v2/eth/index.mjs +1 -0
- package/dist/v2/eth/index.mjs.map +1 -1
- package/dist/v2/keyring-v1-adapter.cjs +5 -19
- package/dist/v2/keyring-v1-adapter.cjs.map +1 -1
- package/dist/v2/keyring-v1-adapter.d.cts +1 -1
- package/dist/v2/keyring-v1-adapter.d.cts.map +1 -1
- package/dist/v2/keyring-v1-adapter.d.mts +1 -1
- package/dist/v2/keyring-v1-adapter.d.mts.map +1 -1
- package/dist/v2/keyring-v1-adapter.mjs +5 -19
- package/dist/v2/keyring-v1-adapter.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyring-v1-adapter.cjs","sourceRoot":"","sources":["../../src/v2/keyring-v1-adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"keyring-v1-adapter.cjs","sourceRoot":"","sources":["../../src/v2/keyring-v1-adapter.ts"],"names":[],"mappings":";;;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,gBAAgB;IAU3B,YAAY,KAAmB;QAC7B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;IACzB,CAAC;IAED;;;;;;;OAOG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,WAAW;QACf,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;QAChD,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAuB,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,SAAS;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;IAChC,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,WAAW,CAAC,KAAW;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;CACF;AA9DD,4CA8DC","sourcesContent":["import type { KeyringAccount } from '@metamask/keyring-api';\nimport type { Keyring as KeyringV2 } from '@metamask/keyring-api/v2';\nimport type { BaseKeyring } from '@metamask/keyring-utils';\nimport type { Json } from '@metamask/utils';\n\n/**\n * Generic adapter that wraps a v2 {@link KeyringV2} instance and exposes it\n * through the v1 {@link BaseKeyring} interface expected by `KeyringController`.\n *\n * ## Why this exists\n *\n * `KeyringController` interacts with all keyrings via the v1 `BaseKeyring`\n * interface — notably `getAccounts()` which must return `Promise<string[]>`\n * (addresses). The v2 `Keyring` interface returns `Promise<KeyringAccount[]>`\n * from `getAccounts()`, an incompatible signature.\n *\n * ## Architecture\n *\n * This class holds a v2 `Keyring` instance and exposes it via {@link unwrap}.\n * `KeyringController` stores this adapter as the v1 keyring entry; its\n * `KeyringV2Builder` calls `unwrap()` to retrieve the same inner instance for\n * the v2 entry — no state duplication.\n *\n * ```\n * KeyringEntry {\n * keyring: KeyringV1Adapter ← v1 face (this class)\n * keyringV2: InnerKeyring ← v2 face (same instance via unwrap())\n * }\n * ```\n *\n * @typeParam InnerKeyring - The concrete v2 keyring type being wrapped.\n * Defaults to the base {@link KeyringV2} interface. Specifying a concrete\n * subtype preserves full type information through {@link unwrap}.\n */\nexport class KeyringV1Adapter<\n InnerKeyring extends KeyringV2 = KeyringV2,\n> implements BaseKeyring {\n /**\n * Keyring type identifier, mirroring the inner v2 instance's type.\n */\n readonly type: string;\n\n protected readonly inner: InnerKeyring;\n\n constructor(inner: InnerKeyring) {\n this.inner = inner;\n this.type = inner.type;\n }\n\n /**\n * Returns the inner v2 {@link KeyringV2} instance.\n *\n * Intended for use by `KeyringController`'s `KeyringV2Builder` so that both\n * the v1 and v2 keyring entries in a `KeyringEntry` share the same object.\n *\n * @returns The inner v2 keyring instance.\n */\n unwrap(): InnerKeyring {\n return this.inner;\n }\n\n /**\n * Returns the addresses of all accounts in this keyring.\n *\n * Adapts the v2 `getAccounts()` (which returns `KeyringAccount[]`) to the\n * v1 `BaseKeyring` interface (`string[]`).\n *\n * @returns A promise resolving to the list of account addresses.\n */\n async getAccounts(): Promise<string[]> {\n const accounts = await this.inner.getAccounts();\n return accounts.map((account: KeyringAccount) => account.address);\n }\n\n /**\n * Serializes the keyring state.\n *\n * Delegates to the inner v2 instance.\n *\n * @returns A promise resolving to the serialized state.\n */\n async serialize(): Promise<Json> {\n return this.inner.serialize();\n }\n\n /**\n * Restores keyring state from a serialized snapshot.\n *\n * Delegates to the inner v2 instance.\n *\n * @param state - The serialized state to restore.\n * @returns A promise that resolves when deserialization is complete.\n */\n async deserialize(state: Json): Promise<void> {\n return this.inner.deserialize(state);\n }\n}\n"]}
|
|
@@ -31,11 +31,11 @@ import type { Json } from "@metamask/utils";
|
|
|
31
31
|
* subtype preserves full type information through {@link unwrap}.
|
|
32
32
|
*/
|
|
33
33
|
export declare class KeyringV1Adapter<InnerKeyring extends KeyringV2 = KeyringV2> implements BaseKeyring {
|
|
34
|
-
#private;
|
|
35
34
|
/**
|
|
36
35
|
* Keyring type identifier, mirroring the inner v2 instance's type.
|
|
37
36
|
*/
|
|
38
37
|
readonly type: string;
|
|
38
|
+
protected readonly inner: InnerKeyring;
|
|
39
39
|
constructor(inner: InnerKeyring);
|
|
40
40
|
/**
|
|
41
41
|
* Returns the inner v2 {@link KeyringV2} instance.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyring-v1-adapter.d.cts","sourceRoot":"","sources":["../../src/v2/keyring-v1-adapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,IAAI,SAAS,EAAE,iCAAiC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,gCAAgC;AAC3D,OAAO,KAAK,EAAE,IAAI,EAAE,wBAAwB;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,gBAAgB,CAC3B,YAAY,SAAS,SAAS,GAAG,SAAS,CAC1C,YAAW,WAAW
|
|
1
|
+
{"version":3,"file":"keyring-v1-adapter.d.cts","sourceRoot":"","sources":["../../src/v2/keyring-v1-adapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,IAAI,SAAS,EAAE,iCAAiC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,gCAAgC;AAC3D,OAAO,KAAK,EAAE,IAAI,EAAE,wBAAwB;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,gBAAgB,CAC3B,YAAY,SAAS,SAAS,GAAG,SAAS,CAC1C,YAAW,WAAW;IACtB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC;gBAE3B,KAAK,EAAE,YAAY;IAK/B;;;;;;;OAOG;IACH,MAAM,IAAI,YAAY;IAItB;;;;;;;OAOG;IACG,WAAW,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAKtC;;;;;;OAMG;IACG,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAIhC;;;;;;;OAOG;IACG,WAAW,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;CAG9C"}
|
|
@@ -31,11 +31,11 @@ import type { Json } from "@metamask/utils";
|
|
|
31
31
|
* subtype preserves full type information through {@link unwrap}.
|
|
32
32
|
*/
|
|
33
33
|
export declare class KeyringV1Adapter<InnerKeyring extends KeyringV2 = KeyringV2> implements BaseKeyring {
|
|
34
|
-
#private;
|
|
35
34
|
/**
|
|
36
35
|
* Keyring type identifier, mirroring the inner v2 instance's type.
|
|
37
36
|
*/
|
|
38
37
|
readonly type: string;
|
|
38
|
+
protected readonly inner: InnerKeyring;
|
|
39
39
|
constructor(inner: InnerKeyring);
|
|
40
40
|
/**
|
|
41
41
|
* Returns the inner v2 {@link KeyringV2} instance.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyring-v1-adapter.d.mts","sourceRoot":"","sources":["../../src/v2/keyring-v1-adapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,IAAI,SAAS,EAAE,iCAAiC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,gCAAgC;AAC3D,OAAO,KAAK,EAAE,IAAI,EAAE,wBAAwB;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,gBAAgB,CAC3B,YAAY,SAAS,SAAS,GAAG,SAAS,CAC1C,YAAW,WAAW
|
|
1
|
+
{"version":3,"file":"keyring-v1-adapter.d.mts","sourceRoot":"","sources":["../../src/v2/keyring-v1-adapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,IAAI,SAAS,EAAE,iCAAiC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,gCAAgC;AAC3D,OAAO,KAAK,EAAE,IAAI,EAAE,wBAAwB;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,gBAAgB,CAC3B,YAAY,SAAS,SAAS,GAAG,SAAS,CAC1C,YAAW,WAAW;IACtB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC;gBAE3B,KAAK,EAAE,YAAY;IAK/B;;;;;;;OAOG;IACH,MAAM,IAAI,YAAY;IAItB;;;;;;;OAOG;IACG,WAAW,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAKtC;;;;;;OAMG;IACG,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAIhC;;;;;;;OAOG;IACG,WAAW,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;CAG9C"}
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
2
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
3
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
4
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
5
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
6
|
-
};
|
|
7
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
8
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
9
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
10
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
|
-
};
|
|
12
|
-
var _KeyringV1Adapter_inner;
|
|
13
1
|
/**
|
|
14
2
|
* Generic adapter that wraps a v2 {@link KeyringV2} instance and exposes it
|
|
15
3
|
* through the v1 {@link BaseKeyring} interface expected by `KeyringController`.
|
|
@@ -41,8 +29,7 @@ var _KeyringV1Adapter_inner;
|
|
|
41
29
|
*/
|
|
42
30
|
export class KeyringV1Adapter {
|
|
43
31
|
constructor(inner) {
|
|
44
|
-
|
|
45
|
-
__classPrivateFieldSet(this, _KeyringV1Adapter_inner, inner, "f");
|
|
32
|
+
this.inner = inner;
|
|
46
33
|
this.type = inner.type;
|
|
47
34
|
}
|
|
48
35
|
/**
|
|
@@ -54,7 +41,7 @@ export class KeyringV1Adapter {
|
|
|
54
41
|
* @returns The inner v2 keyring instance.
|
|
55
42
|
*/
|
|
56
43
|
unwrap() {
|
|
57
|
-
return
|
|
44
|
+
return this.inner;
|
|
58
45
|
}
|
|
59
46
|
/**
|
|
60
47
|
* Returns the addresses of all accounts in this keyring.
|
|
@@ -65,7 +52,7 @@ export class KeyringV1Adapter {
|
|
|
65
52
|
* @returns A promise resolving to the list of account addresses.
|
|
66
53
|
*/
|
|
67
54
|
async getAccounts() {
|
|
68
|
-
const accounts = await
|
|
55
|
+
const accounts = await this.inner.getAccounts();
|
|
69
56
|
return accounts.map((account) => account.address);
|
|
70
57
|
}
|
|
71
58
|
/**
|
|
@@ -76,7 +63,7 @@ export class KeyringV1Adapter {
|
|
|
76
63
|
* @returns A promise resolving to the serialized state.
|
|
77
64
|
*/
|
|
78
65
|
async serialize() {
|
|
79
|
-
return
|
|
66
|
+
return this.inner.serialize();
|
|
80
67
|
}
|
|
81
68
|
/**
|
|
82
69
|
* Restores keyring state from a serialized snapshot.
|
|
@@ -87,8 +74,7 @@ export class KeyringV1Adapter {
|
|
|
87
74
|
* @returns A promise that resolves when deserialization is complete.
|
|
88
75
|
*/
|
|
89
76
|
async deserialize(state) {
|
|
90
|
-
return
|
|
77
|
+
return this.inner.deserialize(state);
|
|
91
78
|
}
|
|
92
79
|
}
|
|
93
|
-
_KeyringV1Adapter_inner = new WeakMap();
|
|
94
80
|
//# sourceMappingURL=keyring-v1-adapter.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyring-v1-adapter.mjs","sourceRoot":"","sources":["../../src/v2/keyring-v1-adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"keyring-v1-adapter.mjs","sourceRoot":"","sources":["../../src/v2/keyring-v1-adapter.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,OAAO,gBAAgB;IAU3B,YAAY,KAAmB;QAC7B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;IACzB,CAAC;IAED;;;;;;;OAOG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,WAAW;QACf,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;QAChD,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAuB,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,SAAS;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;IAChC,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,WAAW,CAAC,KAAW;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;CACF","sourcesContent":["import type { KeyringAccount } from '@metamask/keyring-api';\nimport type { Keyring as KeyringV2 } from '@metamask/keyring-api/v2';\nimport type { BaseKeyring } from '@metamask/keyring-utils';\nimport type { Json } from '@metamask/utils';\n\n/**\n * Generic adapter that wraps a v2 {@link KeyringV2} instance and exposes it\n * through the v1 {@link BaseKeyring} interface expected by `KeyringController`.\n *\n * ## Why this exists\n *\n * `KeyringController` interacts with all keyrings via the v1 `BaseKeyring`\n * interface — notably `getAccounts()` which must return `Promise<string[]>`\n * (addresses). The v2 `Keyring` interface returns `Promise<KeyringAccount[]>`\n * from `getAccounts()`, an incompatible signature.\n *\n * ## Architecture\n *\n * This class holds a v2 `Keyring` instance and exposes it via {@link unwrap}.\n * `KeyringController` stores this adapter as the v1 keyring entry; its\n * `KeyringV2Builder` calls `unwrap()` to retrieve the same inner instance for\n * the v2 entry — no state duplication.\n *\n * ```\n * KeyringEntry {\n * keyring: KeyringV1Adapter ← v1 face (this class)\n * keyringV2: InnerKeyring ← v2 face (same instance via unwrap())\n * }\n * ```\n *\n * @typeParam InnerKeyring - The concrete v2 keyring type being wrapped.\n * Defaults to the base {@link KeyringV2} interface. Specifying a concrete\n * subtype preserves full type information through {@link unwrap}.\n */\nexport class KeyringV1Adapter<\n InnerKeyring extends KeyringV2 = KeyringV2,\n> implements BaseKeyring {\n /**\n * Keyring type identifier, mirroring the inner v2 instance's type.\n */\n readonly type: string;\n\n protected readonly inner: InnerKeyring;\n\n constructor(inner: InnerKeyring) {\n this.inner = inner;\n this.type = inner.type;\n }\n\n /**\n * Returns the inner v2 {@link KeyringV2} instance.\n *\n * Intended for use by `KeyringController`'s `KeyringV2Builder` so that both\n * the v1 and v2 keyring entries in a `KeyringEntry` share the same object.\n *\n * @returns The inner v2 keyring instance.\n */\n unwrap(): InnerKeyring {\n return this.inner;\n }\n\n /**\n * Returns the addresses of all accounts in this keyring.\n *\n * Adapts the v2 `getAccounts()` (which returns `KeyringAccount[]`) to the\n * v1 `BaseKeyring` interface (`string[]`).\n *\n * @returns A promise resolving to the list of account addresses.\n */\n async getAccounts(): Promise<string[]> {\n const accounts = await this.inner.getAccounts();\n return accounts.map((account: KeyringAccount) => account.address);\n }\n\n /**\n * Serializes the keyring state.\n *\n * Delegates to the inner v2 instance.\n *\n * @returns A promise resolving to the serialized state.\n */\n async serialize(): Promise<Json> {\n return this.inner.serialize();\n }\n\n /**\n * Restores keyring state from a serialized snapshot.\n *\n * Delegates to the inner v2 instance.\n *\n * @param state - The serialized state to restore.\n * @returns A promise that resolves when deserialization is complete.\n */\n async deserialize(state: Json): Promise<void> {\n return this.inner.deserialize(state);\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/keyring-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "MetaMask Keyring SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"keyring",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@ethereumjs/tx": "^5.4.0",
|
|
70
70
|
"@metamask/eth-sig-util": "^8.2.0",
|
|
71
|
-
"@metamask/keyring-api": "^23.
|
|
72
|
-
"@metamask/keyring-utils": "^
|
|
71
|
+
"@metamask/keyring-api": "^23.6.0",
|
|
72
|
+
"@metamask/keyring-utils": "^4.0.0",
|
|
73
73
|
"@metamask/scure-bip39": "^2.1.1",
|
|
74
|
-
"@metamask/superstruct": "^3.1
|
|
74
|
+
"@metamask/superstruct": "^3.4.1",
|
|
75
75
|
"@metamask/utils": "^11.11.0",
|
|
76
76
|
"async-mutex": "^0.5.0",
|
|
77
77
|
"ethereum-cryptography": "^2.2.1",
|