@metamask/keyring-api 24.0.0 → 24.2.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 +22 -1
- package/dist/api/account-options.cjs +34 -3
- package/dist/api/account-options.cjs.map +1 -1
- package/dist/api/account-options.d.cts +42 -3
- package/dist/api/account-options.d.cts.map +1 -1
- package/dist/api/account-options.d.mts +42 -3
- package/dist/api/account-options.d.mts.map +1 -1
- package/dist/api/account-options.mjs +33 -2
- package/dist/api/account-options.mjs.map +1 -1
- package/dist/api/account.d.cts +4 -0
- package/dist/api/account.d.cts.map +1 -1
- package/dist/api/account.d.mts +4 -0
- package/dist/api/account.d.mts.map +1 -1
- package/dist/api/request.cjs +9 -1
- package/dist/api/request.cjs.map +1 -1
- package/dist/api/request.d.cts +22 -0
- package/dist/api/request.d.cts.map +1 -1
- package/dist/api/request.d.mts +22 -0
- package/dist/api/request.d.mts.map +1 -1
- package/dist/api/request.mjs +9 -1
- package/dist/api/request.mjs.map +1 -1
- package/dist/btc/types.d.cts +16 -0
- package/dist/btc/types.d.cts.map +1 -1
- package/dist/btc/types.d.mts +16 -0
- package/dist/btc/types.d.mts.map +1 -1
- package/dist/eth/types.d.cts +8 -0
- package/dist/eth/types.d.cts.map +1 -1
- package/dist/eth/types.d.mts +8 -0
- package/dist/eth/types.d.mts.map +1 -1
- package/dist/events.d.cts +16 -0
- package/dist/events.d.cts.map +1 -1
- package/dist/events.d.mts +16 -0
- package/dist/events.d.mts.map +1 -1
- package/dist/rpc.d.cts +84 -0
- package/dist/rpc.d.cts.map +1 -1
- package/dist/rpc.d.mts +84 -0
- package/dist/rpc.d.mts.map +1 -1
- package/dist/sol/types.d.cts +4 -0
- package/dist/sol/types.d.cts.map +1 -1
- package/dist/sol/types.d.mts +4 -0
- package/dist/sol/types.d.mts.map +1 -1
- package/dist/trx/types.d.cts +4 -0
- package/dist/trx/types.d.cts.map +1 -1
- package/dist/trx/types.d.mts +4 -0
- package/dist/trx/types.d.mts.map +1 -1
- package/dist/v2/api/create-account/address-import.cjs +39 -0
- package/dist/v2/api/create-account/address-import.cjs.map +1 -0
- package/dist/v2/api/create-account/address-import.d.cts +54 -0
- package/dist/v2/api/create-account/address-import.d.cts.map +1 -0
- package/dist/v2/api/create-account/address-import.d.mts +54 -0
- package/dist/v2/api/create-account/address-import.d.mts.map +1 -0
- package/dist/v2/api/create-account/address-import.mjs +36 -0
- package/dist/v2/api/create-account/address-import.mjs.map +1 -0
- package/dist/v2/api/create-account/index.cjs +8 -0
- package/dist/v2/api/create-account/index.cjs.map +1 -1
- package/dist/v2/api/create-account/index.d.cts +10 -0
- package/dist/v2/api/create-account/index.d.cts.map +1 -1
- package/dist/v2/api/create-account/index.d.mts +10 -0
- package/dist/v2/api/create-account/index.d.mts.map +1 -1
- package/dist/v2/api/create-account/index.mjs +8 -0
- package/dist/v2/api/create-account/index.mjs.map +1 -1
- package/dist/v2/api/keyring-capabilities.cjs +10 -0
- package/dist/v2/api/keyring-capabilities.cjs.map +1 -1
- package/dist/v2/api/keyring-capabilities.d.cts +15 -0
- package/dist/v2/api/keyring-capabilities.d.cts.map +1 -1
- package/dist/v2/api/keyring-capabilities.d.mts +15 -0
- package/dist/v2/api/keyring-capabilities.d.mts.map +1 -1
- package/dist/v2/api/keyring-capabilities.mjs +10 -0
- package/dist/v2/api/keyring-capabilities.mjs.map +1 -1
- package/dist/v2/api/keyring-rpc.d.cts +41 -0
- package/dist/v2/api/keyring-rpc.d.cts.map +1 -1
- package/dist/v2/api/keyring-rpc.d.mts +41 -0
- package/dist/v2/api/keyring-rpc.d.mts.map +1 -1
- package/dist/v2/api/keyring-type.cjs +10 -0
- package/dist/v2/api/keyring-type.cjs.map +1 -1
- package/dist/v2/api/keyring-type.d.cts +11 -1
- package/dist/v2/api/keyring-type.d.cts.map +1 -1
- package/dist/v2/api/keyring-type.d.mts +11 -1
- package/dist/v2/api/keyring-type.d.mts.map +1 -1
- package/dist/v2/api/keyring-type.mjs +10 -0
- package/dist/v2/api/keyring-type.mjs.map +1 -1
- package/dist/xlm/types.d.cts +4 -0
- package/dist/xlm/types.d.cts.map +1 -1
- package/dist/xlm/types.d.mts +4 -0
- package/dist/xlm/types.d.mts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.d.mts","sourceRoot":"","sources":["../../src/api/request.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;
|
|
1
|
+
{"version":3,"file":"request.d.mts","sourceRoot":"","sources":["../../src/api/request.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAanD,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEhE,eAAO,MAAM,oBAAoB;;;;;;EAG/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;IAC/B;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;IAGH;;OAEG;;;;;;;;EAOH,CAAC;AAEH;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
package/dist/api/request.mjs
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { UuidStruct } from "@metamask/keyring-utils";
|
|
2
|
-
import { array, exactOptional, object, record, string, union } from "@metamask/superstruct";
|
|
2
|
+
import { array, exactOptional, nullable, object, record, string, union } from "@metamask/superstruct";
|
|
3
3
|
import { JsonStruct } from "@metamask/utils";
|
|
4
|
+
export const OriginMetadataStruct = object({
|
|
5
|
+
transport: string(),
|
|
6
|
+
selfReportedOrigin: string(),
|
|
7
|
+
});
|
|
4
8
|
export const KeyringRequestStruct = object({
|
|
5
9
|
/**
|
|
6
10
|
* Keyring request ID (UUIDv4).
|
|
@@ -18,6 +22,10 @@ export const KeyringRequestStruct = object({
|
|
|
18
22
|
* Origin of the sender.
|
|
19
23
|
*/
|
|
20
24
|
origin: string(),
|
|
25
|
+
/**
|
|
26
|
+
* Origin metadata of the sender.
|
|
27
|
+
*/
|
|
28
|
+
originMetadata: exactOptional(nullable(OriginMetadataStruct)),
|
|
21
29
|
/**
|
|
22
30
|
* Inner request sent by the client application.
|
|
23
31
|
*/
|
package/dist/api/request.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.mjs","sourceRoot":"","sources":["../../src/api/request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gCAAgC;AAErD,OAAO,EACL,KAAK,EACL,aAAa,EACb,MAAM,EACN,MAAM,EACN,MAAM,EACN,KAAK,EACN,8BAA8B;AAC/B,OAAO,EAAE,UAAU,EAAE,wBAAwB;
|
|
1
|
+
{"version":3,"file":"request.mjs","sourceRoot":"","sources":["../../src/api/request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gCAAgC;AAErD,OAAO,EACL,KAAK,EACL,aAAa,EACb,QAAQ,EACR,MAAM,EACN,MAAM,EACN,MAAM,EACN,KAAK,EACN,8BAA8B;AAC/B,OAAO,EAAE,UAAU,EAAE,wBAAwB;AAK7C,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC;IACzC,SAAS,EAAE,MAAM,EAAE;IACnB,kBAAkB,EAAE,MAAM,EAAE;CAC7B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC;IACzC;;OAEG;IACH,EAAE,EAAE,UAAU;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE;IAEf;;OAEG;IACH,OAAO,EAAE,UAAU;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,EAAE;IAEhB;;OAEG;IACH,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IAE7D;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,EAAE;QAChB,MAAM,EAAE,aAAa,CACnB,KAAK,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,EAAE,UAAU,CAAC,CAAC,CAAC,CACzD;KACF,CAAC;CACH,CAAC,CAAC","sourcesContent":["import { UuidStruct } from '@metamask/keyring-utils';\nimport type { Infer } from '@metamask/superstruct';\nimport {\n array,\n exactOptional,\n nullable,\n object,\n record,\n string,\n union,\n} from '@metamask/superstruct';\nimport { JsonStruct } from '@metamask/utils';\n\n// These should mirror the types in the Snaps SDK.\nexport type OriginMetadata = Infer<typeof OriginMetadataStruct>;\n\nexport const OriginMetadataStruct = object({\n transport: string(),\n selfReportedOrigin: string(),\n});\n\nexport const KeyringRequestStruct = object({\n /**\n * Keyring request ID (UUIDv4).\n */\n id: UuidStruct,\n\n /**\n * Request's scope (CAIP-2 chain ID).\n */\n scope: string(),\n\n /**\n * Account ID (UUIDv4).\n */\n account: UuidStruct,\n\n /**\n * Origin of the sender.\n */\n origin: string(),\n\n /**\n * Origin metadata of the sender.\n */\n originMetadata: exactOptional(nullable(OriginMetadataStruct)),\n\n /**\n * Inner request sent by the client application.\n */\n request: object({\n method: string(),\n params: exactOptional(\n union([array(JsonStruct), record(string(), JsonStruct)]),\n ),\n }),\n});\n\n/**\n * Keyring request.\n *\n * Represents a request made to the keyring for account-related operations.\n */\nexport type KeyringRequest = Infer<typeof KeyringRequestStruct>;\n"]}
|
package/dist/btc/types.d.cts
CHANGED
|
@@ -30,6 +30,8 @@ export declare const BtcP2pkhAccountStruct: import("@metamask/superstruct").Stru
|
|
|
30
30
|
type: "private-key";
|
|
31
31
|
} | {
|
|
32
32
|
type: "custom";
|
|
33
|
+
} | {
|
|
34
|
+
type: "mpc";
|
|
33
35
|
};
|
|
34
36
|
exportable?: boolean;
|
|
35
37
|
};
|
|
@@ -74,6 +76,8 @@ export declare const BtcP2pkhAccountStruct: import("@metamask/superstruct").Stru
|
|
|
74
76
|
type: "private-key";
|
|
75
77
|
} | {
|
|
76
78
|
type: "custom";
|
|
79
|
+
} | {
|
|
80
|
+
type: "mpc";
|
|
77
81
|
};
|
|
78
82
|
exportable?: boolean;
|
|
79
83
|
}, null>;
|
|
@@ -91,6 +95,8 @@ export declare const BtcP2shAccountStruct: import("@metamask/superstruct").Struc
|
|
|
91
95
|
type: "private-key";
|
|
92
96
|
} | {
|
|
93
97
|
type: "custom";
|
|
98
|
+
} | {
|
|
99
|
+
type: "mpc";
|
|
94
100
|
};
|
|
95
101
|
exportable?: boolean;
|
|
96
102
|
};
|
|
@@ -135,6 +141,8 @@ export declare const BtcP2shAccountStruct: import("@metamask/superstruct").Struc
|
|
|
135
141
|
type: "private-key";
|
|
136
142
|
} | {
|
|
137
143
|
type: "custom";
|
|
144
|
+
} | {
|
|
145
|
+
type: "mpc";
|
|
138
146
|
};
|
|
139
147
|
exportable?: boolean;
|
|
140
148
|
}, null>;
|
|
@@ -152,6 +160,8 @@ export declare const BtcP2wpkhAccountStruct: import("@metamask/superstruct").Str
|
|
|
152
160
|
type: "private-key";
|
|
153
161
|
} | {
|
|
154
162
|
type: "custom";
|
|
163
|
+
} | {
|
|
164
|
+
type: "mpc";
|
|
155
165
|
};
|
|
156
166
|
exportable?: boolean;
|
|
157
167
|
};
|
|
@@ -196,6 +206,8 @@ export declare const BtcP2wpkhAccountStruct: import("@metamask/superstruct").Str
|
|
|
196
206
|
type: "private-key";
|
|
197
207
|
} | {
|
|
198
208
|
type: "custom";
|
|
209
|
+
} | {
|
|
210
|
+
type: "mpc";
|
|
199
211
|
};
|
|
200
212
|
exportable?: boolean;
|
|
201
213
|
}, null>;
|
|
@@ -213,6 +225,8 @@ export declare const BtcP2trAccountStruct: import("@metamask/superstruct").Struc
|
|
|
213
225
|
type: "private-key";
|
|
214
226
|
} | {
|
|
215
227
|
type: "custom";
|
|
228
|
+
} | {
|
|
229
|
+
type: "mpc";
|
|
216
230
|
};
|
|
217
231
|
exportable?: boolean;
|
|
218
232
|
};
|
|
@@ -257,6 +271,8 @@ export declare const BtcP2trAccountStruct: import("@metamask/superstruct").Struc
|
|
|
257
271
|
type: "private-key";
|
|
258
272
|
} | {
|
|
259
273
|
type: "custom";
|
|
274
|
+
} | {
|
|
275
|
+
type: "mpc";
|
|
260
276
|
};
|
|
261
277
|
exportable?: boolean;
|
|
262
278
|
}, null>;
|
package/dist/btc/types.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/btc/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAmCnD,eAAO,MAAM,qBAAqB,sDAMjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,sDAMhC,CAAC;AAEF,eAAO,MAAM,sBAAsB,sDAMlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,sDAMhC,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IACnB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,gBAAgB,qBAAqB;IACrC,WAAW,gBAAgB;CAC5B;AAgBD,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/btc/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAmCnD,eAAO,MAAM,qBAAqB,sDAMjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,sDAMhC,CAAC;AAEF,eAAO,MAAM,sBAAsB,sDAMlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,sDAMhC,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IACnB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,gBAAgB,qBAAqB;IACrC,WAAW,gBAAgB;CAC5B;AAgBD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;IAGhC;;OAEG;;IAGH;;OAEG;;IArBH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBH,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;IAG/B;;OAEG;;IAGH;;OAEG;;IAnCH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BH,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;IAGjC;;OAEG;;IAGH;;OAEG;;IAjDH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CH,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;IAG/B;;OAEG;;IAGH;;OAEG;;IA/DH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DH,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAClE,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAChE,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACpE,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
package/dist/btc/types.d.mts
CHANGED
|
@@ -30,6 +30,8 @@ export declare const BtcP2pkhAccountStruct: import("@metamask/superstruct").Stru
|
|
|
30
30
|
type: "private-key";
|
|
31
31
|
} | {
|
|
32
32
|
type: "custom";
|
|
33
|
+
} | {
|
|
34
|
+
type: "mpc";
|
|
33
35
|
};
|
|
34
36
|
exportable?: boolean;
|
|
35
37
|
};
|
|
@@ -74,6 +76,8 @@ export declare const BtcP2pkhAccountStruct: import("@metamask/superstruct").Stru
|
|
|
74
76
|
type: "private-key";
|
|
75
77
|
} | {
|
|
76
78
|
type: "custom";
|
|
79
|
+
} | {
|
|
80
|
+
type: "mpc";
|
|
77
81
|
};
|
|
78
82
|
exportable?: boolean;
|
|
79
83
|
}, null>;
|
|
@@ -91,6 +95,8 @@ export declare const BtcP2shAccountStruct: import("@metamask/superstruct").Struc
|
|
|
91
95
|
type: "private-key";
|
|
92
96
|
} | {
|
|
93
97
|
type: "custom";
|
|
98
|
+
} | {
|
|
99
|
+
type: "mpc";
|
|
94
100
|
};
|
|
95
101
|
exportable?: boolean;
|
|
96
102
|
};
|
|
@@ -135,6 +141,8 @@ export declare const BtcP2shAccountStruct: import("@metamask/superstruct").Struc
|
|
|
135
141
|
type: "private-key";
|
|
136
142
|
} | {
|
|
137
143
|
type: "custom";
|
|
144
|
+
} | {
|
|
145
|
+
type: "mpc";
|
|
138
146
|
};
|
|
139
147
|
exportable?: boolean;
|
|
140
148
|
}, null>;
|
|
@@ -152,6 +160,8 @@ export declare const BtcP2wpkhAccountStruct: import("@metamask/superstruct").Str
|
|
|
152
160
|
type: "private-key";
|
|
153
161
|
} | {
|
|
154
162
|
type: "custom";
|
|
163
|
+
} | {
|
|
164
|
+
type: "mpc";
|
|
155
165
|
};
|
|
156
166
|
exportable?: boolean;
|
|
157
167
|
};
|
|
@@ -196,6 +206,8 @@ export declare const BtcP2wpkhAccountStruct: import("@metamask/superstruct").Str
|
|
|
196
206
|
type: "private-key";
|
|
197
207
|
} | {
|
|
198
208
|
type: "custom";
|
|
209
|
+
} | {
|
|
210
|
+
type: "mpc";
|
|
199
211
|
};
|
|
200
212
|
exportable?: boolean;
|
|
201
213
|
}, null>;
|
|
@@ -213,6 +225,8 @@ export declare const BtcP2trAccountStruct: import("@metamask/superstruct").Struc
|
|
|
213
225
|
type: "private-key";
|
|
214
226
|
} | {
|
|
215
227
|
type: "custom";
|
|
228
|
+
} | {
|
|
229
|
+
type: "mpc";
|
|
216
230
|
};
|
|
217
231
|
exportable?: boolean;
|
|
218
232
|
};
|
|
@@ -257,6 +271,8 @@ export declare const BtcP2trAccountStruct: import("@metamask/superstruct").Struc
|
|
|
257
271
|
type: "private-key";
|
|
258
272
|
} | {
|
|
259
273
|
type: "custom";
|
|
274
|
+
} | {
|
|
275
|
+
type: "mpc";
|
|
260
276
|
};
|
|
261
277
|
exportable?: boolean;
|
|
262
278
|
}, null>;
|
package/dist/btc/types.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/btc/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAmCnD,eAAO,MAAM,qBAAqB,sDAMjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,sDAMhC,CAAC;AAEF,eAAO,MAAM,sBAAsB,sDAMlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,sDAMhC,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IACnB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,gBAAgB,qBAAqB;IACrC,WAAW,gBAAgB;CAC5B;AAgBD,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/btc/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAmCnD,eAAO,MAAM,qBAAqB,sDAMjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,sDAMhC,CAAC;AAEF,eAAO,MAAM,sBAAsB,sDAMlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,sDAMhC,CAAC;AAEF;;GAEG;AACH,oBAA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
34
34
|
type: "custom";
|
|
35
|
+
} | {
|
|
36
|
+
type: "mpc";
|
|
35
37
|
};
|
|
36
38
|
exportable?: boolean;
|
|
37
39
|
};
|
|
@@ -73,6 +75,8 @@ export declare const EthEoaAccountStruct: import("@metamask/superstruct").Struct
|
|
|
73
75
|
type: "private-key";
|
|
74
76
|
} | {
|
|
75
77
|
type: "custom";
|
|
78
|
+
} | {
|
|
79
|
+
type: "mpc";
|
|
76
80
|
};
|
|
77
81
|
exportable?: boolean;
|
|
78
82
|
}, null>;
|
|
@@ -91,6 +95,8 @@ export declare const EthErc4337AccountStruct: import("@metamask/superstruct").St
|
|
|
91
95
|
type: "private-key";
|
|
92
96
|
} | {
|
|
93
97
|
type: "custom";
|
|
98
|
+
} | {
|
|
99
|
+
type: "mpc";
|
|
94
100
|
};
|
|
95
101
|
exportable?: boolean;
|
|
96
102
|
};
|
|
@@ -134,6 +140,8 @@ export declare const EthErc4337AccountStruct: import("@metamask/superstruct").St
|
|
|
134
140
|
type: "private-key";
|
|
135
141
|
} | {
|
|
136
142
|
type: "custom";
|
|
143
|
+
} | {
|
|
144
|
+
type: "mpc";
|
|
137
145
|
};
|
|
138
146
|
exportable?: boolean;
|
|
139
147
|
}, null>;
|
package/dist/eth/types.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/eth/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD,OAAO,EAAE,QAAQ,EAAE,wBAAoB;AAGvC,eAAO,MAAM,cAAc,sDAA6C,CAAC;AAEzE,eAAO,MAAM,oBAAoB,6DAGhC,CAAC;AAGF,eAAO,MAAM,gBAAgB,sDAAiD,CAAC;AAE/E,eAAO,MAAM,sBAAsB,6DAGlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IAEnB,YAAY,kBAAkB;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,CAAC,CAAC"}
|
package/dist/eth/types.d.mts
CHANGED
|
@@ -32,6 +32,8 @@ export declare const EthEoaAccountStruct: import("@metamask/superstruct").Struct
|
|
|
32
32
|
type: "private-key";
|
|
33
33
|
} | {
|
|
34
34
|
type: "custom";
|
|
35
|
+
} | {
|
|
36
|
+
type: "mpc";
|
|
35
37
|
};
|
|
36
38
|
exportable?: boolean;
|
|
37
39
|
};
|
|
@@ -73,6 +75,8 @@ export declare const EthEoaAccountStruct: import("@metamask/superstruct").Struct
|
|
|
73
75
|
type: "private-key";
|
|
74
76
|
} | {
|
|
75
77
|
type: "custom";
|
|
78
|
+
} | {
|
|
79
|
+
type: "mpc";
|
|
76
80
|
};
|
|
77
81
|
exportable?: boolean;
|
|
78
82
|
}, null>;
|
|
@@ -91,6 +95,8 @@ export declare const EthErc4337AccountStruct: import("@metamask/superstruct").St
|
|
|
91
95
|
type: "private-key";
|
|
92
96
|
} | {
|
|
93
97
|
type: "custom";
|
|
98
|
+
} | {
|
|
99
|
+
type: "mpc";
|
|
94
100
|
};
|
|
95
101
|
exportable?: boolean;
|
|
96
102
|
};
|
|
@@ -134,6 +140,8 @@ export declare const EthErc4337AccountStruct: import("@metamask/superstruct").St
|
|
|
134
140
|
type: "private-key";
|
|
135
141
|
} | {
|
|
136
142
|
type: "custom";
|
|
143
|
+
} | {
|
|
144
|
+
type: "mpc";
|
|
137
145
|
};
|
|
138
146
|
exportable?: boolean;
|
|
139
147
|
}, null>;
|
package/dist/eth/types.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/eth/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD,OAAO,EAAE,QAAQ,EAAE,wBAAoB;AAGvC,eAAO,MAAM,cAAc,sDAA6C,CAAC;AAEzE,eAAO,MAAM,oBAAoB,6DAGhC,CAAC;AAGF,eAAO,MAAM,gBAAgB,sD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EG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaH,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
package/dist/events.d.cts
CHANGED
|
@@ -28,6 +28,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
28
28
|
type: "private-key";
|
|
29
29
|
} | {
|
|
30
30
|
type: "custom";
|
|
31
|
+
} | {
|
|
32
|
+
type: "mpc";
|
|
31
33
|
};
|
|
32
34
|
exportable?: boolean;
|
|
33
35
|
};
|
|
@@ -58,6 +60,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
58
60
|
type: "private-key";
|
|
59
61
|
} | {
|
|
60
62
|
type: "custom";
|
|
63
|
+
} | {
|
|
64
|
+
type: "mpc";
|
|
61
65
|
};
|
|
62
66
|
exportable?: boolean;
|
|
63
67
|
};
|
|
@@ -93,6 +97,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
93
97
|
type: "private-key";
|
|
94
98
|
} | {
|
|
95
99
|
type: "custom";
|
|
100
|
+
} | {
|
|
101
|
+
type: "mpc";
|
|
96
102
|
};
|
|
97
103
|
exportable?: boolean;
|
|
98
104
|
};
|
|
@@ -125,6 +131,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
125
131
|
type: "private-key";
|
|
126
132
|
} | {
|
|
127
133
|
type: "custom";
|
|
134
|
+
} | {
|
|
135
|
+
type: "mpc";
|
|
128
136
|
};
|
|
129
137
|
exportable?: boolean;
|
|
130
138
|
}, null>;
|
|
@@ -173,6 +181,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
173
181
|
type: "private-key";
|
|
174
182
|
} | {
|
|
175
183
|
type: "custom";
|
|
184
|
+
} | {
|
|
185
|
+
type: "mpc";
|
|
176
186
|
};
|
|
177
187
|
exportable?: boolean;
|
|
178
188
|
};
|
|
@@ -197,6 +207,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
197
207
|
type: "private-key";
|
|
198
208
|
} | {
|
|
199
209
|
type: "custom";
|
|
210
|
+
} | {
|
|
211
|
+
type: "mpc";
|
|
200
212
|
};
|
|
201
213
|
exportable?: boolean;
|
|
202
214
|
};
|
|
@@ -221,6 +233,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
221
233
|
type: "private-key";
|
|
222
234
|
} | {
|
|
223
235
|
type: "custom";
|
|
236
|
+
} | {
|
|
237
|
+
type: "mpc";
|
|
224
238
|
};
|
|
225
239
|
exportable?: boolean;
|
|
226
240
|
};
|
|
@@ -253,6 +267,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
253
267
|
type: "private-key";
|
|
254
268
|
} | {
|
|
255
269
|
type: "custom";
|
|
270
|
+
} | {
|
|
271
|
+
type: "mpc";
|
|
256
272
|
};
|
|
257
273
|
exportable?: boolean;
|
|
258
274
|
}, null>;
|
package/dist/events.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.cts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAuBnD;;GAEG;AACH,oBAAY,YAAY;IAEtB,cAAc,0BAA0B;IACxC,cAAc,0BAA0B;IACxC,cAAc,0BAA0B;IAGxC,eAAe,2BAA2B;IAC1C,eAAe,2BAA2B;IAG1C,sBAAsB,kCAAkC;IACxD,uBAAuB,mCAAmC;IAC1D,0BAA0B,sCAAsC;CACjE;AAED,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"events.d.cts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAuBnD;;GAEG;AACH,oBAAY,YAAY;IAEtB,c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mB,GACnB,mBAAmB,GACnB,4BAA4B,GAC5B,2BAA2B,GAC3B,+BAA+B,GAC/B,oBAAoB,GACpB,oBAAoB,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,YAAY,IAAI,OAAO,CACnE,aAAa,EAGb;IAAE,MAAM,EAAE,GAAG,KAAK,EAAE,CAAA;CAAE,CACvB,CAAC,QAAQ,CAAC,CAAC"}
|
package/dist/events.d.mts
CHANGED
|
@@ -28,6 +28,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
28
28
|
type: "private-key";
|
|
29
29
|
} | {
|
|
30
30
|
type: "custom";
|
|
31
|
+
} | {
|
|
32
|
+
type: "mpc";
|
|
31
33
|
};
|
|
32
34
|
exportable?: boolean;
|
|
33
35
|
};
|
|
@@ -58,6 +60,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
58
60
|
type: "private-key";
|
|
59
61
|
} | {
|
|
60
62
|
type: "custom";
|
|
63
|
+
} | {
|
|
64
|
+
type: "mpc";
|
|
61
65
|
};
|
|
62
66
|
exportable?: boolean;
|
|
63
67
|
};
|
|
@@ -93,6 +97,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
93
97
|
type: "private-key";
|
|
94
98
|
} | {
|
|
95
99
|
type: "custom";
|
|
100
|
+
} | {
|
|
101
|
+
type: "mpc";
|
|
96
102
|
};
|
|
97
103
|
exportable?: boolean;
|
|
98
104
|
};
|
|
@@ -125,6 +131,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
125
131
|
type: "private-key";
|
|
126
132
|
} | {
|
|
127
133
|
type: "custom";
|
|
134
|
+
} | {
|
|
135
|
+
type: "mpc";
|
|
128
136
|
};
|
|
129
137
|
exportable?: boolean;
|
|
130
138
|
}, null>;
|
|
@@ -173,6 +181,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
173
181
|
type: "private-key";
|
|
174
182
|
} | {
|
|
175
183
|
type: "custom";
|
|
184
|
+
} | {
|
|
185
|
+
type: "mpc";
|
|
176
186
|
};
|
|
177
187
|
exportable?: boolean;
|
|
178
188
|
};
|
|
@@ -197,6 +207,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
197
207
|
type: "private-key";
|
|
198
208
|
} | {
|
|
199
209
|
type: "custom";
|
|
210
|
+
} | {
|
|
211
|
+
type: "mpc";
|
|
200
212
|
};
|
|
201
213
|
exportable?: boolean;
|
|
202
214
|
};
|
|
@@ -221,6 +233,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
221
233
|
type: "private-key";
|
|
222
234
|
} | {
|
|
223
235
|
type: "custom";
|
|
236
|
+
} | {
|
|
237
|
+
type: "mpc";
|
|
224
238
|
};
|
|
225
239
|
exportable?: boolean;
|
|
226
240
|
};
|
|
@@ -253,6 +267,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
253
267
|
type: "private-key";
|
|
254
268
|
} | {
|
|
255
269
|
type: "custom";
|
|
270
|
+
} | {
|
|
271
|
+
type: "mpc";
|
|
256
272
|
};
|
|
257
273
|
exportable?: boolean;
|
|
258
274
|
}, null>;
|
package/dist/events.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAuBnD;;GAEG;AACH,oBAAY,YAAY;IAEtB,cAAc,0BAA0B;IACxC,cAAc,0BAA0B;IACxC,cAAc,0BAA0B;IAGxC,eAAe,2BAA2B;IAC1C,eAAe,2BAA2B;IAG1C,sBAAsB,kCAAkC;IACxD,uBAAuB,mCAAmC;IAC1D,0BAA0B,sCAAsC;CACjE;AAED,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"events.d.mts","sourceRoot":"","sources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