@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
|
@@ -57,6 +57,8 @@ export declare const GetAccountsResponseStruct: import("@metamask/superstruct").
|
|
|
57
57
|
type: "private-key";
|
|
58
58
|
} | {
|
|
59
59
|
type: "custom";
|
|
60
|
+
} | {
|
|
61
|
+
type: "mpc";
|
|
60
62
|
};
|
|
61
63
|
exportable?: boolean;
|
|
62
64
|
};
|
|
@@ -76,6 +78,8 @@ export declare const GetAccountsResponseStruct: import("@metamask/superstruct").
|
|
|
76
78
|
type: "private-key";
|
|
77
79
|
} | {
|
|
78
80
|
type: "custom";
|
|
81
|
+
} | {
|
|
82
|
+
type: "mpc";
|
|
79
83
|
};
|
|
80
84
|
exportable?: boolean;
|
|
81
85
|
};
|
|
@@ -108,6 +112,8 @@ export declare const GetAccountsResponseStruct: import("@metamask/superstruct").
|
|
|
108
112
|
type: "private-key";
|
|
109
113
|
} | {
|
|
110
114
|
type: "custom";
|
|
115
|
+
} | {
|
|
116
|
+
type: "mpc";
|
|
111
117
|
};
|
|
112
118
|
exportable?: boolean;
|
|
113
119
|
}, null>;
|
|
@@ -145,6 +151,8 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
|
|
|
145
151
|
type: "private-key";
|
|
146
152
|
} | {
|
|
147
153
|
type: "custom";
|
|
154
|
+
} | {
|
|
155
|
+
type: "mpc";
|
|
148
156
|
};
|
|
149
157
|
exportable?: boolean;
|
|
150
158
|
};
|
|
@@ -177,6 +185,8 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
|
|
|
177
185
|
type: "private-key";
|
|
178
186
|
} | {
|
|
179
187
|
type: "custom";
|
|
188
|
+
} | {
|
|
189
|
+
type: "mpc";
|
|
180
190
|
};
|
|
181
191
|
exportable?: boolean;
|
|
182
192
|
}, null>;
|
|
@@ -188,6 +198,11 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
|
|
|
188
198
|
id: string | number | null;
|
|
189
199
|
jsonrpc: "2.0";
|
|
190
200
|
params: {
|
|
201
|
+
type: "address:import";
|
|
202
|
+
address: string;
|
|
203
|
+
scopes?: `${string}:${string}`[];
|
|
204
|
+
accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
205
|
+
} | {
|
|
191
206
|
type: "bip44:derive-path";
|
|
192
207
|
derivationPath: `m/${string}`;
|
|
193
208
|
entropySource: string;
|
|
@@ -217,6 +232,11 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
|
|
|
217
232
|
}, {
|
|
218
233
|
method: import("@metamask/superstruct").Struct<"keyring_createAccounts", "keyring_createAccounts">;
|
|
219
234
|
params: import("@metamask/superstruct").Struct<{
|
|
235
|
+
type: "address:import";
|
|
236
|
+
address: string;
|
|
237
|
+
scopes?: `${string}:${string}`[];
|
|
238
|
+
accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
239
|
+
} | {
|
|
220
240
|
type: "bip44:derive-path";
|
|
221
241
|
derivationPath: `m/${string}`;
|
|
222
242
|
entropySource: string;
|
|
@@ -260,6 +280,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
260
280
|
type: "private-key";
|
|
261
281
|
} | {
|
|
262
282
|
type: "custom";
|
|
283
|
+
} | {
|
|
284
|
+
type: "mpc";
|
|
263
285
|
};
|
|
264
286
|
exportable?: boolean;
|
|
265
287
|
};
|
|
@@ -279,6 +301,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
279
301
|
type: "private-key";
|
|
280
302
|
} | {
|
|
281
303
|
type: "custom";
|
|
304
|
+
} | {
|
|
305
|
+
type: "mpc";
|
|
282
306
|
};
|
|
283
307
|
exportable?: boolean;
|
|
284
308
|
};
|
|
@@ -311,6 +335,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
311
335
|
type: "private-key";
|
|
312
336
|
} | {
|
|
313
337
|
type: "custom";
|
|
338
|
+
} | {
|
|
339
|
+
type: "mpc";
|
|
314
340
|
};
|
|
315
341
|
exportable?: boolean;
|
|
316
342
|
}, null>;
|
|
@@ -401,6 +427,10 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
|
401
427
|
};
|
|
402
428
|
scope: string;
|
|
403
429
|
account: string;
|
|
430
|
+
originMetadata?: {
|
|
431
|
+
transport: string;
|
|
432
|
+
selfReportedOrigin: string;
|
|
433
|
+
} | null;
|
|
404
434
|
};
|
|
405
435
|
}, {
|
|
406
436
|
method: import("@metamask/superstruct").Struct<"keyring_submitRequest", "keyring_submitRequest">;
|
|
@@ -413,11 +443,22 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
|
413
443
|
};
|
|
414
444
|
scope: string;
|
|
415
445
|
account: string;
|
|
446
|
+
originMetadata?: {
|
|
447
|
+
transport: string;
|
|
448
|
+
selfReportedOrigin: string;
|
|
449
|
+
} | null;
|
|
416
450
|
}, {
|
|
417
451
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
418
452
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
|
419
453
|
account: import("@metamask/superstruct").Struct<string, null>;
|
|
420
454
|
origin: import("@metamask/superstruct").Struct<string, null>;
|
|
455
|
+
originMetadata: import("@metamask/superstruct").ExactOptionalStruct<{
|
|
456
|
+
transport: string;
|
|
457
|
+
selfReportedOrigin: string;
|
|
458
|
+
} | null, {
|
|
459
|
+
transport: import("@metamask/superstruct").Struct<string, null>;
|
|
460
|
+
selfReportedOrigin: import("@metamask/superstruct").Struct<string, null>;
|
|
461
|
+
}>;
|
|
421
462
|
request: import("@metamask/superstruct").Struct<{
|
|
422
463
|
method: string;
|
|
423
464
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyring-rpc.d.cts","sourceRoot":"","sources":["../../../src/v2/api/keyring-rpc.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAmBnD,OAAO,KAAK,EAAE,OAAO,EAAE,sBAAkB;AAEzC;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAClC,WAAW,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACpC,cAAc,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC1C,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACxC,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CAC1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;CASnB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,IAAI,gBAAgB,CAE7E;AAYD,eAAO,MAAM,wBAAwB;;;;;;;;EAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAExE,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"keyring-rpc.d.cts","sourceRoot":"","sources":["../../../src/v2/api/keyring-rpc.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE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MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAI9E;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,kBAAkB,GAClB,iBAAiB,GACjB,qBAAqB,GACrB,oBAAoB,GACpB,oBAAoB,GACpB,oBAAoB,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,SAAS,SAAS,gBAAgB,IAAI,OAAO,CACzE,kBAAkB,EAClB;IAAE,MAAM,EAAE,GAAG,SAAS,EAAE,CAAA;CAAE,CAC3B,CAAC"}
|
|
@@ -57,6 +57,8 @@ export declare const GetAccountsResponseStruct: import("@metamask/superstruct").
|
|
|
57
57
|
type: "private-key";
|
|
58
58
|
} | {
|
|
59
59
|
type: "custom";
|
|
60
|
+
} | {
|
|
61
|
+
type: "mpc";
|
|
60
62
|
};
|
|
61
63
|
exportable?: boolean;
|
|
62
64
|
};
|
|
@@ -76,6 +78,8 @@ export declare const GetAccountsResponseStruct: import("@metamask/superstruct").
|
|
|
76
78
|
type: "private-key";
|
|
77
79
|
} | {
|
|
78
80
|
type: "custom";
|
|
81
|
+
} | {
|
|
82
|
+
type: "mpc";
|
|
79
83
|
};
|
|
80
84
|
exportable?: boolean;
|
|
81
85
|
};
|
|
@@ -108,6 +112,8 @@ export declare const GetAccountsResponseStruct: import("@metamask/superstruct").
|
|
|
108
112
|
type: "private-key";
|
|
109
113
|
} | {
|
|
110
114
|
type: "custom";
|
|
115
|
+
} | {
|
|
116
|
+
type: "mpc";
|
|
111
117
|
};
|
|
112
118
|
exportable?: boolean;
|
|
113
119
|
}, null>;
|
|
@@ -145,6 +151,8 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
|
|
|
145
151
|
type: "private-key";
|
|
146
152
|
} | {
|
|
147
153
|
type: "custom";
|
|
154
|
+
} | {
|
|
155
|
+
type: "mpc";
|
|
148
156
|
};
|
|
149
157
|
exportable?: boolean;
|
|
150
158
|
};
|
|
@@ -177,6 +185,8 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
|
|
|
177
185
|
type: "private-key";
|
|
178
186
|
} | {
|
|
179
187
|
type: "custom";
|
|
188
|
+
} | {
|
|
189
|
+
type: "mpc";
|
|
180
190
|
};
|
|
181
191
|
exportable?: boolean;
|
|
182
192
|
}, null>;
|
|
@@ -188,6 +198,11 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
|
|
|
188
198
|
id: string | number | null;
|
|
189
199
|
jsonrpc: "2.0";
|
|
190
200
|
params: {
|
|
201
|
+
type: "address:import";
|
|
202
|
+
address: string;
|
|
203
|
+
scopes?: `${string}:${string}`[];
|
|
204
|
+
accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
205
|
+
} | {
|
|
191
206
|
type: "bip44:derive-path";
|
|
192
207
|
derivationPath: `m/${string}`;
|
|
193
208
|
entropySource: string;
|
|
@@ -217,6 +232,11 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
|
|
|
217
232
|
}, {
|
|
218
233
|
method: import("@metamask/superstruct").Struct<"keyring_createAccounts", "keyring_createAccounts">;
|
|
219
234
|
params: import("@metamask/superstruct").Struct<{
|
|
235
|
+
type: "address:import";
|
|
236
|
+
address: string;
|
|
237
|
+
scopes?: `${string}:${string}`[];
|
|
238
|
+
accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
239
|
+
} | {
|
|
220
240
|
type: "bip44:derive-path";
|
|
221
241
|
derivationPath: `m/${string}`;
|
|
222
242
|
entropySource: string;
|
|
@@ -260,6 +280,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
260
280
|
type: "private-key";
|
|
261
281
|
} | {
|
|
262
282
|
type: "custom";
|
|
283
|
+
} | {
|
|
284
|
+
type: "mpc";
|
|
263
285
|
};
|
|
264
286
|
exportable?: boolean;
|
|
265
287
|
};
|
|
@@ -279,6 +301,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
279
301
|
type: "private-key";
|
|
280
302
|
} | {
|
|
281
303
|
type: "custom";
|
|
304
|
+
} | {
|
|
305
|
+
type: "mpc";
|
|
282
306
|
};
|
|
283
307
|
exportable?: boolean;
|
|
284
308
|
};
|
|
@@ -311,6 +335,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
311
335
|
type: "private-key";
|
|
312
336
|
} | {
|
|
313
337
|
type: "custom";
|
|
338
|
+
} | {
|
|
339
|
+
type: "mpc";
|
|
314
340
|
};
|
|
315
341
|
exportable?: boolean;
|
|
316
342
|
}, null>;
|
|
@@ -401,6 +427,10 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
|
401
427
|
};
|
|
402
428
|
scope: string;
|
|
403
429
|
account: string;
|
|
430
|
+
originMetadata?: {
|
|
431
|
+
transport: string;
|
|
432
|
+
selfReportedOrigin: string;
|
|
433
|
+
} | null;
|
|
404
434
|
};
|
|
405
435
|
}, {
|
|
406
436
|
method: import("@metamask/superstruct").Struct<"keyring_submitRequest", "keyring_submitRequest">;
|
|
@@ -413,11 +443,22 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
|
413
443
|
};
|
|
414
444
|
scope: string;
|
|
415
445
|
account: string;
|
|
446
|
+
originMetadata?: {
|
|
447
|
+
transport: string;
|
|
448
|
+
selfReportedOrigin: string;
|
|
449
|
+
} | null;
|
|
416
450
|
}, {
|
|
417
451
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
418
452
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
|
419
453
|
account: import("@metamask/superstruct").Struct<string, null>;
|
|
420
454
|
origin: import("@metamask/superstruct").Struct<string, null>;
|
|
455
|
+
originMetadata: import("@metamask/superstruct").ExactOptionalStruct<{
|
|
456
|
+
transport: string;
|
|
457
|
+
selfReportedOrigin: string;
|
|
458
|
+
} | null, {
|
|
459
|
+
transport: import("@metamask/superstruct").Struct<string, null>;
|
|
460
|
+
selfReportedOrigin: import("@metamask/superstruct").Struct<string, null>;
|
|
461
|
+
}>;
|
|
421
462
|
request: import("@metamask/superstruct").Struct<{
|
|
422
463
|
method: string;
|
|
423
464
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyring-rpc.d.mts","sourceRoot":"","sources":["../../../src/v2/api/keyring-rpc.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAmBnD,OAAO,KAAK,EAAE,OAAO,EAAE,sBAAkB;AAEzC;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAClC,WAAW,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACpC,cAAc,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC1C,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACxC,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CAC1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;CASnB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,IAAI,gBAAgB,CAE7E;AAYD,eAAO,MAAM,wBAAwB;;;;;;;;EAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,KA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE5E,eAAO,MAAM,2BAA2B,iFAAa,CAAC;AAEtD,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAI9E;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,kBAAkB,GAClB,iBAAiB,GACjB,qBAAqB,GACrB,oBAAoB,GACpB,oBAAoB,GACpB,oBAAoB,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,SAAS,SAAS,gBAAgB,IAAI,OAAO,CACzE,kBAAkB,EAClB;IAAE,MAAM,EAAE,GAAG,SAAS,EAAE,CAAA;CAAE,CAC3B,CAAC"}
|
|
@@ -44,5 +44,15 @@ var KeyringType;
|
|
|
44
44
|
* Represents keyring for money accounts.
|
|
45
45
|
*/
|
|
46
46
|
KeyringType["Money"] = "money";
|
|
47
|
+
/**
|
|
48
|
+
* Represents a watch-only keyring that holds accounts imported by address,
|
|
49
|
+
* without any signing capability.
|
|
50
|
+
*/
|
|
51
|
+
KeyringType["WatchOnly"] = "watch-only";
|
|
52
|
+
/**
|
|
53
|
+
* Represents a keyring that uses Multi-Party Computation (MPC) for key
|
|
54
|
+
* management and signing.
|
|
55
|
+
*/
|
|
56
|
+
KeyringType["Mpc"] = "mpc";
|
|
47
57
|
})(KeyringType || (exports.KeyringType = KeyringType = {}));
|
|
48
58
|
//# sourceMappingURL=keyring-type.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyring-type.cjs","sourceRoot":"","sources":["../../../src/v2/api/keyring-type.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,
|
|
1
|
+
{"version":3,"file":"keyring-type.cjs","sourceRoot":"","sources":["../../../src/v2/api/keyring-type.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,WA2DX;AA3DD,WAAY,WAAW;IACrB;;OAEG;IACH,wBAAS,CAAA;IAET;;OAEG;IACH,yCAA0B,CAAA;IAE1B;;;;OAIG;IACH,wBAAS,CAAA;IAET;;OAEG;IACH,4BAAa,CAAA;IAEb;;OAEG;IACH,gCAAiB,CAAA;IAEjB;;OAEG;IACH,kCAAmB,CAAA;IAEnB;;OAEG;IACH,gCAAiB,CAAA;IAEjB;;OAEG;IACH,gCAAiB,CAAA;IAEjB;;OAEG;IACH,8BAAe,CAAA;IAEf;;;OAGG;IACH,uCAAwB,CAAA;IAExB;;;OAGG;IACH,0BAAW,CAAA;AACb,CAAC,EA3DW,WAAW,2BAAX,WAAW,QA2DtB","sourcesContent":["/**\n * Enum representing the different types of keyrings supported.\n */\nexport enum KeyringType {\n /**\n * Represents a hierarchical deterministic (HD) keyring.\n */\n Hd = 'hd',\n\n /**\n * Represents a keyring that directly stores private keys.\n */\n PrivateKey = 'private-key',\n\n /**\n * Represents a keyring that implements the QR protocol.\n *\n * See: https://eips.ethereum.org/EIPS/eip-4527\n */\n Qr = 'qr',\n\n /**\n * Represents keyring backed by a Snap.\n */\n Snap = 'snap',\n\n /**\n * Represents keyring backed by a Ledger hardware wallet.\n */\n Ledger = 'ledger',\n\n /**\n * Represents keyring backed by a Lattice hardware wallet.\n */\n Lattice = 'lattice',\n\n /**\n * Represents keyring backed by a Trezor hardware wallet.\n */\n Trezor = 'trezor',\n\n /**\n * Represents keyring backed by a OneKey hardware wallet.\n */\n OneKey = 'onekey',\n\n /**\n * Represents keyring for money accounts.\n */\n Money = 'money',\n\n /**\n * Represents a watch-only keyring that holds accounts imported by address,\n * without any signing capability.\n */\n WatchOnly = 'watch-only',\n\n /**\n * Represents a keyring that uses Multi-Party Computation (MPC) for key\n * management and signing.\n */\n Mpc = 'mpc',\n}\n"]}
|
|
@@ -39,6 +39,16 @@ export declare enum KeyringType {
|
|
|
39
39
|
/**
|
|
40
40
|
* Represents keyring for money accounts.
|
|
41
41
|
*/
|
|
42
|
-
Money = "money"
|
|
42
|
+
Money = "money",
|
|
43
|
+
/**
|
|
44
|
+
* Represents a watch-only keyring that holds accounts imported by address,
|
|
45
|
+
* without any signing capability.
|
|
46
|
+
*/
|
|
47
|
+
WatchOnly = "watch-only",
|
|
48
|
+
/**
|
|
49
|
+
* Represents a keyring that uses Multi-Party Computation (MPC) for key
|
|
50
|
+
* management and signing.
|
|
51
|
+
*/
|
|
52
|
+
Mpc = "mpc"
|
|
43
53
|
}
|
|
44
54
|
//# sourceMappingURL=keyring-type.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyring-type.d.cts","sourceRoot":"","sources":["../../../src/v2/api/keyring-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,WAAW;IACrB;;OAEG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,UAAU,gBAAgB;IAE1B;;;;OAIG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,KAAK,UAAU;
|
|
1
|
+
{"version":3,"file":"keyring-type.d.cts","sourceRoot":"","sources":["../../../src/v2/api/keyring-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,WAAW;IACrB;;OAEG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,UAAU,gBAAgB;IAE1B;;;;OAIG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,KAAK,UAAU;IAEf;;;OAGG;IACH,SAAS,eAAe;IAExB;;;OAGG;IACH,GAAG,QAAQ;CACZ"}
|
|
@@ -39,6 +39,16 @@ export declare enum KeyringType {
|
|
|
39
39
|
/**
|
|
40
40
|
* Represents keyring for money accounts.
|
|
41
41
|
*/
|
|
42
|
-
Money = "money"
|
|
42
|
+
Money = "money",
|
|
43
|
+
/**
|
|
44
|
+
* Represents a watch-only keyring that holds accounts imported by address,
|
|
45
|
+
* without any signing capability.
|
|
46
|
+
*/
|
|
47
|
+
WatchOnly = "watch-only",
|
|
48
|
+
/**
|
|
49
|
+
* Represents a keyring that uses Multi-Party Computation (MPC) for key
|
|
50
|
+
* management and signing.
|
|
51
|
+
*/
|
|
52
|
+
Mpc = "mpc"
|
|
43
53
|
}
|
|
44
54
|
//# sourceMappingURL=keyring-type.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyring-type.d.mts","sourceRoot":"","sources":["../../../src/v2/api/keyring-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,WAAW;IACrB;;OAEG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,UAAU,gBAAgB;IAE1B;;;;OAIG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,KAAK,UAAU;
|
|
1
|
+
{"version":3,"file":"keyring-type.d.mts","sourceRoot":"","sources":["../../../src/v2/api/keyring-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,WAAW;IACrB;;OAEG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,UAAU,gBAAgB;IAE1B;;;;OAIG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,KAAK,UAAU;IAEf;;;OAGG;IACH,SAAS,eAAe;IAExB;;;OAGG;IACH,GAAG,QAAQ;CACZ"}
|
|
@@ -41,5 +41,15 @@ export var KeyringType;
|
|
|
41
41
|
* Represents keyring for money accounts.
|
|
42
42
|
*/
|
|
43
43
|
KeyringType["Money"] = "money";
|
|
44
|
+
/**
|
|
45
|
+
* Represents a watch-only keyring that holds accounts imported by address,
|
|
46
|
+
* without any signing capability.
|
|
47
|
+
*/
|
|
48
|
+
KeyringType["WatchOnly"] = "watch-only";
|
|
49
|
+
/**
|
|
50
|
+
* Represents a keyring that uses Multi-Party Computation (MPC) for key
|
|
51
|
+
* management and signing.
|
|
52
|
+
*/
|
|
53
|
+
KeyringType["Mpc"] = "mpc";
|
|
44
54
|
})(KeyringType || (KeyringType = {}));
|
|
45
55
|
//# sourceMappingURL=keyring-type.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyring-type.mjs","sourceRoot":"","sources":["../../../src/v2/api/keyring-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"keyring-type.mjs","sourceRoot":"","sources":["../../../src/v2/api/keyring-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,WA2DX;AA3DD,WAAY,WAAW;IACrB;;OAEG;IACH,wBAAS,CAAA;IAET;;OAEG;IACH,yCAA0B,CAAA;IAE1B;;;;OAIG;IACH,wBAAS,CAAA;IAET;;OAEG;IACH,4BAAa,CAAA;IAEb;;OAEG;IACH,gCAAiB,CAAA;IAEjB;;OAEG;IACH,kCAAmB,CAAA;IAEnB;;OAEG;IACH,gCAAiB,CAAA;IAEjB;;OAEG;IACH,gCAAiB,CAAA;IAEjB;;OAEG;IACH,8BAAe,CAAA;IAEf;;;OAGG;IACH,uCAAwB,CAAA;IAExB;;;OAGG;IACH,0BAAW,CAAA;AACb,CAAC,EA3DW,WAAW,KAAX,WAAW,QA2DtB","sourcesContent":["/**\n * Enum representing the different types of keyrings supported.\n */\nexport enum KeyringType {\n /**\n * Represents a hierarchical deterministic (HD) keyring.\n */\n Hd = 'hd',\n\n /**\n * Represents a keyring that directly stores private keys.\n */\n PrivateKey = 'private-key',\n\n /**\n * Represents a keyring that implements the QR protocol.\n *\n * See: https://eips.ethereum.org/EIPS/eip-4527\n */\n Qr = 'qr',\n\n /**\n * Represents keyring backed by a Snap.\n */\n Snap = 'snap',\n\n /**\n * Represents keyring backed by a Ledger hardware wallet.\n */\n Ledger = 'ledger',\n\n /**\n * Represents keyring backed by a Lattice hardware wallet.\n */\n Lattice = 'lattice',\n\n /**\n * Represents keyring backed by a Trezor hardware wallet.\n */\n Trezor = 'trezor',\n\n /**\n * Represents keyring backed by a OneKey hardware wallet.\n */\n OneKey = 'onekey',\n\n /**\n * Represents keyring for money accounts.\n */\n Money = 'money',\n\n /**\n * Represents a watch-only keyring that holds accounts imported by address,\n * without any signing capability.\n */\n WatchOnly = 'watch-only',\n\n /**\n * Represents a keyring that uses Multi-Party Computation (MPC) for key\n * management and signing.\n */\n Mpc = 'mpc',\n}\n"]}
|
package/dist/xlm/types.d.cts
CHANGED
|
@@ -27,6 +27,8 @@ export declare const XlmAccountStruct: import("@metamask/superstruct").Struct<{
|
|
|
27
27
|
type: "private-key";
|
|
28
28
|
} | {
|
|
29
29
|
type: "custom";
|
|
30
|
+
} | {
|
|
31
|
+
type: "mpc";
|
|
30
32
|
};
|
|
31
33
|
exportable?: boolean;
|
|
32
34
|
};
|
|
@@ -65,6 +67,8 @@ export declare const XlmAccountStruct: import("@metamask/superstruct").Struct<{
|
|
|
65
67
|
type: "private-key";
|
|
66
68
|
} | {
|
|
67
69
|
type: "custom";
|
|
70
|
+
} | {
|
|
71
|
+
type: "mpc";
|
|
68
72
|
};
|
|
69
73
|
exportable?: boolean;
|
|
70
74
|
}, null>;
|
package/dist/xlm/types.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/xlm/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,sDAAkD,CAAC;AAEhF;;GAEG;AACH,oBAAY,SAAS;IACnB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;CAChC;AAED,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/xlm/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,sDAAkD,CAAC;AAEhF;;GAEG;AACH,oBAAY,SAAS;IACnB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;CAChC;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;IAE3B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
package/dist/xlm/types.d.mts
CHANGED
|
@@ -27,6 +27,8 @@ export declare const XlmAccountStruct: import("@metamask/superstruct").Struct<{
|
|
|
27
27
|
type: "private-key";
|
|
28
28
|
} | {
|
|
29
29
|
type: "custom";
|
|
30
|
+
} | {
|
|
31
|
+
type: "mpc";
|
|
30
32
|
};
|
|
31
33
|
exportable?: boolean;
|
|
32
34
|
};
|
|
@@ -65,6 +67,8 @@ export declare const XlmAccountStruct: import("@metamask/superstruct").Struct<{
|
|
|
65
67
|
type: "private-key";
|
|
66
68
|
} | {
|
|
67
69
|
type: "custom";
|
|
70
|
+
} | {
|
|
71
|
+
type: "mpc";
|
|
68
72
|
};
|
|
69
73
|
exportable?: boolean;
|
|
70
74
|
}, null>;
|
package/dist/xlm/types.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/xlm/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,sDAAkD,CAAC;AAEhF;;GAEG;AACH,oBAAY,SAAS;IACnB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;CAChC;AAED,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/xlm/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,sDAAkD,CAAC;AAEhF;;GAEG;AACH,oBAAY,SAAS;IACnB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;CAChC;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;IAE3B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|