@metamask/snaps-rpc-methods 9.1.0 → 9.1.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/CHANGELOG.md +11 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/permitted/createInterface.d.ts +42 -42
- package/dist/types/permitted/updateInterface.d.ts +42 -42
- package/dist/types/restricted/dialog.d.ts +257 -257
- package/dist/types/restricted/manageAccounts.d.ts +1 -1
- package/package.json +4 -4
|
@@ -6,8 +6,8 @@ import type { Json, NonEmptyArray } from '@metamask/utils';
|
|
|
6
6
|
declare const SnapMessageStruct: import("superstruct").Struct<{
|
|
7
7
|
method: string;
|
|
8
8
|
} | {
|
|
9
|
-
params: Record<string, Json> | Json[];
|
|
10
9
|
method: string;
|
|
10
|
+
params: Record<string, Json> | Json[];
|
|
11
11
|
}, null>;
|
|
12
12
|
declare type Message = InferMatching<typeof SnapMessageStruct, ManageAccountsParams>;
|
|
13
13
|
export declare const methodName = "snap_manageAccounts";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/snaps-rpc-methods",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.2",
|
|
4
4
|
"description": "MetaMask Snaps JSON-RPC method implementations.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"build:ci": "tsup --clean"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@metamask/key-tree": "^9.1.
|
|
42
|
+
"@metamask/key-tree": "^9.1.1",
|
|
43
43
|
"@metamask/permission-controller": "^9.0.2",
|
|
44
44
|
"@metamask/rpc-errors": "^6.2.1",
|
|
45
|
-
"@metamask/snaps-sdk": "^4.
|
|
46
|
-
"@metamask/snaps-utils": "^7.4.
|
|
45
|
+
"@metamask/snaps-sdk": "^4.4.1",
|
|
46
|
+
"@metamask/snaps-utils": "^7.4.1",
|
|
47
47
|
"@metamask/utils": "^8.3.0",
|
|
48
48
|
"@noble/hashes": "^1.3.1",
|
|
49
49
|
"superstruct": "^1.0.3"
|