@metamask-previews/accounts-controller 31.0.0-preview-243e64f7 → 31.0.0-preview-feec3582
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 +4 -0
- package/dist/tests/mocks.d.cts +11 -1
- package/dist/tests/mocks.d.cts.map +1 -1
- package/dist/tests/mocks.d.mts +11 -1
- package/dist/tests/mocks.d.mts.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
16
16
|
- **BREAKING:** Bump peer dependency `@metamask/snaps-controllers` from `^12.0.0` to `^14.0.0` ([#6035](https://github.com/MetaMask/core/pull/6035))
|
|
17
17
|
- Bump `@metamask/snaps-sdk` from `^7.1.0` to `^9.0.0` ([#6035](https://github.com/MetaMask/core/pull/6035))
|
|
18
18
|
- Bump `@metamask/snaps-utils` from `^9.4.0` to `^11.0.0` ([#6035](https://github.com/MetaMask/core/pull/6035))
|
|
19
|
+
- Bump `@metamask/keyring-api` from `^18.0.0` to `^19.0.0` ([#6146](https://github.com/MetaMask/core/pull/6146))
|
|
20
|
+
- Bump `@metamask/keyring-internal-api` from `^6.2.0` to `^7.0.0` ([#6146](https://github.com/MetaMask/core/pull/6146))
|
|
21
|
+
- Bump `@metamask/keyring-utils` from `^3.0.0` to `^3.1.0` ([#6146](https://github.com/MetaMask/core/pull/6146))
|
|
22
|
+
- Bump `@metamask/eth-snap-keyring` from `^13.0.0` to `^14.0.0` ([#6146](https://github.com/MetaMask/core/pull/6146))
|
|
19
23
|
- Bump `@metamask/utils` from `^11.2.0` to `^11.4.2` ([#6054](https://github.com/MetaMask/core/pull/6054))
|
|
20
24
|
|
|
21
25
|
## [31.0.0]
|
package/dist/tests/mocks.d.cts
CHANGED
|
@@ -24,7 +24,17 @@ export declare const createMockInternalAccount: ({ id, address, type, name, keyr
|
|
|
24
24
|
export declare const createExpectedInternalAccount: (args: Parameters<typeof createMockInternalAccount>[0]) => {
|
|
25
25
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
26
26
|
id: string;
|
|
27
|
-
options: Record<string, import("@metamask/utils").Json
|
|
27
|
+
options: Record<string, import("@metamask/utils").Json> & {
|
|
28
|
+
entropy?: {
|
|
29
|
+
type: "mnemonic";
|
|
30
|
+
id: string;
|
|
31
|
+
derivationPath: string;
|
|
32
|
+
groupIndex: number;
|
|
33
|
+
} | {
|
|
34
|
+
type: "private-key";
|
|
35
|
+
} | undefined;
|
|
36
|
+
exportable?: boolean | undefined;
|
|
37
|
+
};
|
|
28
38
|
metadata: {
|
|
29
39
|
name: string;
|
|
30
40
|
importTime: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mocks.d.cts","sourceRoot":"","sources":["../../src/tests/mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EACT,SAAS,EAGV,8BAA8B;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,8BAA8B;AAC7E,OAAO,EAAE,YAAY,EAAE,qCAAqC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,uCAAuC;AAGtE,eAAO,MAAM,eAAe,+JAOlB,CAAC;AAEX,eAAO,MAAM,oBAAoB,sGAIvB,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;YAqB9B,MAAM;iBACD,OAAO;cACV,MAAM;;;;;MAKP,eAyCR,CAAC;AAEF,eAAO,MAAM,6BAA6B,SAClC,WAAW,gCAAgC,CAAC,CAAC,CAAC,CAAC
|
|
1
|
+
{"version":3,"file":"mocks.d.cts","sourceRoot":"","sources":["../../src/tests/mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EACT,SAAS,EAGV,8BAA8B;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,8BAA8B;AAC7E,OAAO,EAAE,YAAY,EAAE,qCAAqC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,uCAAuC;AAGtE,eAAO,MAAM,eAAe,+JAOlB,CAAC;AAEX,eAAO,MAAM,oBAAoB,sGAIvB,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;YAqB9B,MAAM;iBACD,OAAO;cACV,MAAM;;;;;MAKP,eAyCR,CAAC;AAEF,eAAO,MAAM,6BAA6B,SAClC,WAAW,gCAAgC,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOtD,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,eACP,YAAY,cACb,MAAM,KACjB,OAAO,MAAM,EAAE,MAAM,GAAG,MAAM,CAUhC,CAAC"}
|
package/dist/tests/mocks.d.mts
CHANGED
|
@@ -24,7 +24,17 @@ export declare const createMockInternalAccount: ({ id, address, type, name, keyr
|
|
|
24
24
|
export declare const createExpectedInternalAccount: (args: Parameters<typeof createMockInternalAccount>[0]) => {
|
|
25
25
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
26
26
|
id: string;
|
|
27
|
-
options: Record<string, import("@metamask/utils").Json
|
|
27
|
+
options: Record<string, import("@metamask/utils").Json> & {
|
|
28
|
+
entropy?: {
|
|
29
|
+
type: "mnemonic";
|
|
30
|
+
id: string;
|
|
31
|
+
derivationPath: string;
|
|
32
|
+
groupIndex: number;
|
|
33
|
+
} | {
|
|
34
|
+
type: "private-key";
|
|
35
|
+
} | undefined;
|
|
36
|
+
exportable?: boolean | undefined;
|
|
37
|
+
};
|
|
28
38
|
metadata: {
|
|
29
39
|
name: string;
|
|
30
40
|
importTime: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mocks.d.mts","sourceRoot":"","sources":["../../src/tests/mocks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metamask-previews/accounts-controller",
|
|
3
|
-
"version": "31.0.0-preview-
|
|
3
|
+
"version": "31.0.0-preview-feec3582",
|
|
4
4
|
"description": "Manages internal accounts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@ethereumjs/util": "^9.1.0",
|
|
51
51
|
"@metamask/base-controller": "^8.0.1",
|
|
52
|
-
"@metamask/eth-snap-keyring": "^
|
|
53
|
-
"@metamask/keyring-api": "^
|
|
54
|
-
"@metamask/keyring-internal-api": "^
|
|
55
|
-
"@metamask/keyring-utils": "^3.
|
|
52
|
+
"@metamask/eth-snap-keyring": "^14.0.0",
|
|
53
|
+
"@metamask/keyring-api": "^19.0.0",
|
|
54
|
+
"@metamask/keyring-internal-api": "^7.0.0",
|
|
55
|
+
"@metamask/keyring-utils": "^3.1.0",
|
|
56
56
|
"@metamask/snaps-sdk": "^9.0.0",
|
|
57
57
|
"@metamask/snaps-utils": "^11.0.0",
|
|
58
58
|
"@metamask/utils": "^11.4.2",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@metamask/auto-changelog": "^3.4.4",
|
|
66
66
|
"@metamask/keyring-controller": "^22.1.0",
|
|
67
|
-
"@metamask/network-controller": "^24.0.
|
|
67
|
+
"@metamask/network-controller": "^24.0.1",
|
|
68
68
|
"@metamask/providers": "^22.1.0",
|
|
69
69
|
"@metamask/snaps-controllers": "^14.0.1",
|
|
70
70
|
"@types/jest": "^27.4.1",
|