@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
package/dist/rpc.d.cts
CHANGED
|
@@ -57,6 +57,8 @@ export declare const ListAccountsResponseStruct: 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 ListAccountsResponseStruct: 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 ListAccountsResponseStruct: 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>;
|
|
@@ -214,6 +224,8 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
|
|
|
214
224
|
type: "private-key";
|
|
215
225
|
} | {
|
|
216
226
|
type: "custom";
|
|
227
|
+
} | {
|
|
228
|
+
type: "mpc";
|
|
217
229
|
};
|
|
218
230
|
exportable?: boolean;
|
|
219
231
|
};
|
|
@@ -246,6 +258,8 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
|
|
|
246
258
|
type: "private-key";
|
|
247
259
|
} | {
|
|
248
260
|
type: "custom";
|
|
261
|
+
} | {
|
|
262
|
+
type: "mpc";
|
|
249
263
|
};
|
|
250
264
|
exportable?: boolean;
|
|
251
265
|
}, null>;
|
|
@@ -258,6 +272,11 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
|
|
|
258
272
|
jsonrpc: "2.0";
|
|
259
273
|
params: {
|
|
260
274
|
options: {
|
|
275
|
+
type: "address:import";
|
|
276
|
+
address: string;
|
|
277
|
+
scopes?: `${string}:${string}`[];
|
|
278
|
+
accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
279
|
+
} | {
|
|
261
280
|
type: "bip44:derive-path";
|
|
262
281
|
derivationPath: `m/${string}`;
|
|
263
282
|
entropySource: string;
|
|
@@ -289,6 +308,11 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
|
|
|
289
308
|
method: import("@metamask/superstruct").Struct<"keyring_createAccounts", "keyring_createAccounts">;
|
|
290
309
|
params: import("@metamask/superstruct").Struct<{
|
|
291
310
|
options: {
|
|
311
|
+
type: "address:import";
|
|
312
|
+
address: string;
|
|
313
|
+
scopes?: `${string}:${string}`[];
|
|
314
|
+
accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
315
|
+
} | {
|
|
292
316
|
type: "bip44:derive-path";
|
|
293
317
|
derivationPath: `m/${string}`;
|
|
294
318
|
entropySource: string;
|
|
@@ -317,6 +341,11 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
|
|
|
317
341
|
};
|
|
318
342
|
}, {
|
|
319
343
|
options: import("@metamask/superstruct").Struct<{
|
|
344
|
+
type: "address:import";
|
|
345
|
+
address: string;
|
|
346
|
+
scopes?: `${string}:${string}`[];
|
|
347
|
+
accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
348
|
+
} | {
|
|
320
349
|
type: "bip44:derive-path";
|
|
321
350
|
derivationPath: `m/${string}`;
|
|
322
351
|
entropySource: string;
|
|
@@ -361,6 +390,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
361
390
|
type: "private-key";
|
|
362
391
|
} | {
|
|
363
392
|
type: "custom";
|
|
393
|
+
} | {
|
|
394
|
+
type: "mpc";
|
|
364
395
|
};
|
|
365
396
|
exportable?: boolean;
|
|
366
397
|
};
|
|
@@ -380,6 +411,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
380
411
|
type: "private-key";
|
|
381
412
|
} | {
|
|
382
413
|
type: "custom";
|
|
414
|
+
} | {
|
|
415
|
+
type: "mpc";
|
|
383
416
|
};
|
|
384
417
|
exportable?: boolean;
|
|
385
418
|
};
|
|
@@ -412,6 +445,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
412
445
|
type: "private-key";
|
|
413
446
|
} | {
|
|
414
447
|
type: "custom";
|
|
448
|
+
} | {
|
|
449
|
+
type: "mpc";
|
|
415
450
|
};
|
|
416
451
|
exportable?: boolean;
|
|
417
452
|
}, null>;
|
|
@@ -982,6 +1017,8 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
982
1017
|
type: "private-key";
|
|
983
1018
|
} | {
|
|
984
1019
|
type: "custom";
|
|
1020
|
+
} | {
|
|
1021
|
+
type: "mpc";
|
|
985
1022
|
};
|
|
986
1023
|
exportable?: boolean;
|
|
987
1024
|
};
|
|
@@ -1006,6 +1043,8 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
1006
1043
|
type: "private-key";
|
|
1007
1044
|
} | {
|
|
1008
1045
|
type: "custom";
|
|
1046
|
+
} | {
|
|
1047
|
+
type: "mpc";
|
|
1009
1048
|
};
|
|
1010
1049
|
exportable?: boolean;
|
|
1011
1050
|
};
|
|
@@ -1027,6 +1066,8 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
1027
1066
|
type: "private-key";
|
|
1028
1067
|
} | {
|
|
1029
1068
|
type: "custom";
|
|
1069
|
+
} | {
|
|
1070
|
+
type: "mpc";
|
|
1030
1071
|
};
|
|
1031
1072
|
exportable?: boolean;
|
|
1032
1073
|
};
|
|
@@ -1059,6 +1100,8 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
1059
1100
|
type: "private-key";
|
|
1060
1101
|
} | {
|
|
1061
1102
|
type: "custom";
|
|
1103
|
+
} | {
|
|
1104
|
+
type: "mpc";
|
|
1062
1105
|
};
|
|
1063
1106
|
exportable?: boolean;
|
|
1064
1107
|
}, null>;
|
|
@@ -1130,6 +1173,10 @@ export declare const ListRequestsResponseStruct: import("@metamask/superstruct")
|
|
|
1130
1173
|
};
|
|
1131
1174
|
scope: string;
|
|
1132
1175
|
account: string;
|
|
1176
|
+
originMetadata?: {
|
|
1177
|
+
transport: string;
|
|
1178
|
+
selfReportedOrigin: string;
|
|
1179
|
+
} | null;
|
|
1133
1180
|
}[], import("@metamask/superstruct").Struct<{
|
|
1134
1181
|
id: string;
|
|
1135
1182
|
origin: string;
|
|
@@ -1139,11 +1186,22 @@ export declare const ListRequestsResponseStruct: import("@metamask/superstruct")
|
|
|
1139
1186
|
};
|
|
1140
1187
|
scope: string;
|
|
1141
1188
|
account: string;
|
|
1189
|
+
originMetadata?: {
|
|
1190
|
+
transport: string;
|
|
1191
|
+
selfReportedOrigin: string;
|
|
1192
|
+
} | null;
|
|
1142
1193
|
}, {
|
|
1143
1194
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
1144
1195
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
|
1145
1196
|
account: import("@metamask/superstruct").Struct<string, null>;
|
|
1146
1197
|
origin: import("@metamask/superstruct").Struct<string, null>;
|
|
1198
|
+
originMetadata: import("@metamask/superstruct").ExactOptionalStruct<{
|
|
1199
|
+
transport: string;
|
|
1200
|
+
selfReportedOrigin: string;
|
|
1201
|
+
} | null, {
|
|
1202
|
+
transport: import("@metamask/superstruct").Struct<string, null>;
|
|
1203
|
+
selfReportedOrigin: import("@metamask/superstruct").Struct<string, null>;
|
|
1204
|
+
}>;
|
|
1147
1205
|
request: import("@metamask/superstruct").Struct<{
|
|
1148
1206
|
method: string;
|
|
1149
1207
|
params?: Record<string, Json> | Json[];
|
|
@@ -1180,11 +1238,22 @@ export declare const GetRequestResponseStruct: import("@metamask/superstruct").S
|
|
|
1180
1238
|
};
|
|
1181
1239
|
scope: string;
|
|
1182
1240
|
account: string;
|
|
1241
|
+
originMetadata?: {
|
|
1242
|
+
transport: string;
|
|
1243
|
+
selfReportedOrigin: string;
|
|
1244
|
+
} | null;
|
|
1183
1245
|
}, {
|
|
1184
1246
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
1185
1247
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
|
1186
1248
|
account: import("@metamask/superstruct").Struct<string, null>;
|
|
1187
1249
|
origin: import("@metamask/superstruct").Struct<string, null>;
|
|
1250
|
+
originMetadata: import("@metamask/superstruct").ExactOptionalStruct<{
|
|
1251
|
+
transport: string;
|
|
1252
|
+
selfReportedOrigin: string;
|
|
1253
|
+
} | null, {
|
|
1254
|
+
transport: import("@metamask/superstruct").Struct<string, null>;
|
|
1255
|
+
selfReportedOrigin: import("@metamask/superstruct").Struct<string, null>;
|
|
1256
|
+
}>;
|
|
1188
1257
|
request: import("@metamask/superstruct").Struct<{
|
|
1189
1258
|
method: string;
|
|
1190
1259
|
params?: Record<string, Json> | Json[];
|
|
@@ -1207,6 +1276,10 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
|
1207
1276
|
};
|
|
1208
1277
|
scope: string;
|
|
1209
1278
|
account: string;
|
|
1279
|
+
originMetadata?: {
|
|
1280
|
+
transport: string;
|
|
1281
|
+
selfReportedOrigin: string;
|
|
1282
|
+
} | null;
|
|
1210
1283
|
};
|
|
1211
1284
|
}, {
|
|
1212
1285
|
method: import("@metamask/superstruct").Struct<"keyring_submitRequest", "keyring_submitRequest">;
|
|
@@ -1219,11 +1292,22 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
|
1219
1292
|
};
|
|
1220
1293
|
scope: string;
|
|
1221
1294
|
account: string;
|
|
1295
|
+
originMetadata?: {
|
|
1296
|
+
transport: string;
|
|
1297
|
+
selfReportedOrigin: string;
|
|
1298
|
+
} | null;
|
|
1222
1299
|
}, {
|
|
1223
1300
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
1224
1301
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
|
1225
1302
|
account: import("@metamask/superstruct").Struct<string, null>;
|
|
1226
1303
|
origin: import("@metamask/superstruct").Struct<string, null>;
|
|
1304
|
+
originMetadata: import("@metamask/superstruct").ExactOptionalStruct<{
|
|
1305
|
+
transport: string;
|
|
1306
|
+
selfReportedOrigin: string;
|
|
1307
|
+
} | null, {
|
|
1308
|
+
transport: import("@metamask/superstruct").Struct<string, null>;
|
|
1309
|
+
selfReportedOrigin: import("@metamask/superstruct").Struct<string, null>;
|
|
1310
|
+
}>;
|
|
1227
1311
|
request: import("@metamask/superstruct").Struct<{
|
|
1228
1312
|
method: string;
|
|
1229
1313
|
params?: Record<string, Json> | Json[];
|
package/dist/rpc.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.cts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,gCAAgC;AAEzE,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAYnD,OAAO,KAAK,EAAE,IAAI,EAAE,wBAAwB;AAE5C,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,eAAe,EACf,SAAS,EACT,UAAU,EACV,sBAAsB,EACtB,WAAW,EACZ,wBAAc;AAef,OAAO,KAAK,EAAE,oBAAoB,EAAE,0CAAgC;AAGpE;;GAEG;AACH,oBAAY,gBAAgB;IAE1B,aAAa,0BAA0B;IACvC,cAAc,2BAA2B;IACzC,aAAa,0BAA0B;IACvC,gBAAgB,6BAA6B;IAC7C,aAAa,0BAA0B;IACvC,mBAAmB,gCAAgC;IACnD,UAAU,uBAAuB;IACjC,YAAY,yBAAyB;IACrC,aAAa,0BAA0B;IAGvC,cAAc,2BAA2B;IACzC,UAAU,uBAAuB;IACjC,YAAY,yBAAyB;IACrC,aAAa,0BAA0B;IACvC,aAAa,0BAA0B;IAGvC,kBAAkB,+BAA+B;IACjD,iBAAiB,8BAA8B;IAC/C,uBAAuB,oCAAoC;IAC3D,mBAAmB,gCAAgC;IAGnD,qBAAqB,kCAAkC;CACxD;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,IAAI,gBAAgB,CAE7E;AAYD,eAAO,MAAM,yBAAyB;;;;;;;;EAGpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GA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M,EACV,MAAM,EAAE,aAAa,EAAE,GACtB,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC;IAC3C,mBAAmB,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5D,CAAC"}
|
package/dist/rpc.d.mts
CHANGED
|
@@ -57,6 +57,8 @@ export declare const ListAccountsResponseStruct: 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 ListAccountsResponseStruct: 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 ListAccountsResponseStruct: 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>;
|
|
@@ -214,6 +224,8 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
|
|
|
214
224
|
type: "private-key";
|
|
215
225
|
} | {
|
|
216
226
|
type: "custom";
|
|
227
|
+
} | {
|
|
228
|
+
type: "mpc";
|
|
217
229
|
};
|
|
218
230
|
exportable?: boolean;
|
|
219
231
|
};
|
|
@@ -246,6 +258,8 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
|
|
|
246
258
|
type: "private-key";
|
|
247
259
|
} | {
|
|
248
260
|
type: "custom";
|
|
261
|
+
} | {
|
|
262
|
+
type: "mpc";
|
|
249
263
|
};
|
|
250
264
|
exportable?: boolean;
|
|
251
265
|
}, null>;
|
|
@@ -258,6 +272,11 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
|
|
|
258
272
|
jsonrpc: "2.0";
|
|
259
273
|
params: {
|
|
260
274
|
options: {
|
|
275
|
+
type: "address:import";
|
|
276
|
+
address: string;
|
|
277
|
+
scopes?: `${string}:${string}`[];
|
|
278
|
+
accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
279
|
+
} | {
|
|
261
280
|
type: "bip44:derive-path";
|
|
262
281
|
derivationPath: `m/${string}`;
|
|
263
282
|
entropySource: string;
|
|
@@ -289,6 +308,11 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
|
|
|
289
308
|
method: import("@metamask/superstruct").Struct<"keyring_createAccounts", "keyring_createAccounts">;
|
|
290
309
|
params: import("@metamask/superstruct").Struct<{
|
|
291
310
|
options: {
|
|
311
|
+
type: "address:import";
|
|
312
|
+
address: string;
|
|
313
|
+
scopes?: `${string}:${string}`[];
|
|
314
|
+
accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
315
|
+
} | {
|
|
292
316
|
type: "bip44:derive-path";
|
|
293
317
|
derivationPath: `m/${string}`;
|
|
294
318
|
entropySource: string;
|
|
@@ -317,6 +341,11 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
|
|
|
317
341
|
};
|
|
318
342
|
}, {
|
|
319
343
|
options: import("@metamask/superstruct").Struct<{
|
|
344
|
+
type: "address:import";
|
|
345
|
+
address: string;
|
|
346
|
+
scopes?: `${string}:${string}`[];
|
|
347
|
+
accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
348
|
+
} | {
|
|
320
349
|
type: "bip44:derive-path";
|
|
321
350
|
derivationPath: `m/${string}`;
|
|
322
351
|
entropySource: string;
|
|
@@ -361,6 +390,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
361
390
|
type: "private-key";
|
|
362
391
|
} | {
|
|
363
392
|
type: "custom";
|
|
393
|
+
} | {
|
|
394
|
+
type: "mpc";
|
|
364
395
|
};
|
|
365
396
|
exportable?: boolean;
|
|
366
397
|
};
|
|
@@ -380,6 +411,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
380
411
|
type: "private-key";
|
|
381
412
|
} | {
|
|
382
413
|
type: "custom";
|
|
414
|
+
} | {
|
|
415
|
+
type: "mpc";
|
|
383
416
|
};
|
|
384
417
|
exportable?: boolean;
|
|
385
418
|
};
|
|
@@ -412,6 +445,8 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
412
445
|
type: "private-key";
|
|
413
446
|
} | {
|
|
414
447
|
type: "custom";
|
|
448
|
+
} | {
|
|
449
|
+
type: "mpc";
|
|
415
450
|
};
|
|
416
451
|
exportable?: boolean;
|
|
417
452
|
}, null>;
|
|
@@ -982,6 +1017,8 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
982
1017
|
type: "private-key";
|
|
983
1018
|
} | {
|
|
984
1019
|
type: "custom";
|
|
1020
|
+
} | {
|
|
1021
|
+
type: "mpc";
|
|
985
1022
|
};
|
|
986
1023
|
exportable?: boolean;
|
|
987
1024
|
};
|
|
@@ -1006,6 +1043,8 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
1006
1043
|
type: "private-key";
|
|
1007
1044
|
} | {
|
|
1008
1045
|
type: "custom";
|
|
1046
|
+
} | {
|
|
1047
|
+
type: "mpc";
|
|
1009
1048
|
};
|
|
1010
1049
|
exportable?: boolean;
|
|
1011
1050
|
};
|
|
@@ -1027,6 +1066,8 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
1027
1066
|
type: "private-key";
|
|
1028
1067
|
} | {
|
|
1029
1068
|
type: "custom";
|
|
1069
|
+
} | {
|
|
1070
|
+
type: "mpc";
|
|
1030
1071
|
};
|
|
1031
1072
|
exportable?: boolean;
|
|
1032
1073
|
};
|
|
@@ -1059,6 +1100,8 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
1059
1100
|
type: "private-key";
|
|
1060
1101
|
} | {
|
|
1061
1102
|
type: "custom";
|
|
1103
|
+
} | {
|
|
1104
|
+
type: "mpc";
|
|
1062
1105
|
};
|
|
1063
1106
|
exportable?: boolean;
|
|
1064
1107
|
}, null>;
|
|
@@ -1130,6 +1173,10 @@ export declare const ListRequestsResponseStruct: import("@metamask/superstruct")
|
|
|
1130
1173
|
};
|
|
1131
1174
|
scope: string;
|
|
1132
1175
|
account: string;
|
|
1176
|
+
originMetadata?: {
|
|
1177
|
+
transport: string;
|
|
1178
|
+
selfReportedOrigin: string;
|
|
1179
|
+
} | null;
|
|
1133
1180
|
}[], import("@metamask/superstruct").Struct<{
|
|
1134
1181
|
id: string;
|
|
1135
1182
|
origin: string;
|
|
@@ -1139,11 +1186,22 @@ export declare const ListRequestsResponseStruct: import("@metamask/superstruct")
|
|
|
1139
1186
|
};
|
|
1140
1187
|
scope: string;
|
|
1141
1188
|
account: string;
|
|
1189
|
+
originMetadata?: {
|
|
1190
|
+
transport: string;
|
|
1191
|
+
selfReportedOrigin: string;
|
|
1192
|
+
} | null;
|
|
1142
1193
|
}, {
|
|
1143
1194
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
1144
1195
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
|
1145
1196
|
account: import("@metamask/superstruct").Struct<string, null>;
|
|
1146
1197
|
origin: import("@metamask/superstruct").Struct<string, null>;
|
|
1198
|
+
originMetadata: import("@metamask/superstruct").ExactOptionalStruct<{
|
|
1199
|
+
transport: string;
|
|
1200
|
+
selfReportedOrigin: string;
|
|
1201
|
+
} | null, {
|
|
1202
|
+
transport: import("@metamask/superstruct").Struct<string, null>;
|
|
1203
|
+
selfReportedOrigin: import("@metamask/superstruct").Struct<string, null>;
|
|
1204
|
+
}>;
|
|
1147
1205
|
request: import("@metamask/superstruct").Struct<{
|
|
1148
1206
|
method: string;
|
|
1149
1207
|
params?: Record<string, Json> | Json[];
|
|
@@ -1180,11 +1238,22 @@ export declare const GetRequestResponseStruct: import("@metamask/superstruct").S
|
|
|
1180
1238
|
};
|
|
1181
1239
|
scope: string;
|
|
1182
1240
|
account: string;
|
|
1241
|
+
originMetadata?: {
|
|
1242
|
+
transport: string;
|
|
1243
|
+
selfReportedOrigin: string;
|
|
1244
|
+
} | null;
|
|
1183
1245
|
}, {
|
|
1184
1246
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
1185
1247
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
|
1186
1248
|
account: import("@metamask/superstruct").Struct<string, null>;
|
|
1187
1249
|
origin: import("@metamask/superstruct").Struct<string, null>;
|
|
1250
|
+
originMetadata: import("@metamask/superstruct").ExactOptionalStruct<{
|
|
1251
|
+
transport: string;
|
|
1252
|
+
selfReportedOrigin: string;
|
|
1253
|
+
} | null, {
|
|
1254
|
+
transport: import("@metamask/superstruct").Struct<string, null>;
|
|
1255
|
+
selfReportedOrigin: import("@metamask/superstruct").Struct<string, null>;
|
|
1256
|
+
}>;
|
|
1188
1257
|
request: import("@metamask/superstruct").Struct<{
|
|
1189
1258
|
method: string;
|
|
1190
1259
|
params?: Record<string, Json> | Json[];
|
|
@@ -1207,6 +1276,10 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
|
1207
1276
|
};
|
|
1208
1277
|
scope: string;
|
|
1209
1278
|
account: string;
|
|
1279
|
+
originMetadata?: {
|
|
1280
|
+
transport: string;
|
|
1281
|
+
selfReportedOrigin: string;
|
|
1282
|
+
} | null;
|
|
1210
1283
|
};
|
|
1211
1284
|
}, {
|
|
1212
1285
|
method: import("@metamask/superstruct").Struct<"keyring_submitRequest", "keyring_submitRequest">;
|
|
@@ -1219,11 +1292,22 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
|
1219
1292
|
};
|
|
1220
1293
|
scope: string;
|
|
1221
1294
|
account: string;
|
|
1295
|
+
originMetadata?: {
|
|
1296
|
+
transport: string;
|
|
1297
|
+
selfReportedOrigin: string;
|
|
1298
|
+
} | null;
|
|
1222
1299
|
}, {
|
|
1223
1300
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
1224
1301
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
|
1225
1302
|
account: import("@metamask/superstruct").Struct<string, null>;
|
|
1226
1303
|
origin: import("@metamask/superstruct").Struct<string, null>;
|
|
1304
|
+
originMetadata: import("@metamask/superstruct").ExactOptionalStruct<{
|
|
1305
|
+
transport: string;
|
|
1306
|
+
selfReportedOrigin: string;
|
|
1307
|
+
} | null, {
|
|
1308
|
+
transport: import("@metamask/superstruct").Struct<string, null>;
|
|
1309
|
+
selfReportedOrigin: import("@metamask/superstruct").Struct<string, null>;
|
|
1310
|
+
}>;
|
|
1227
1311
|
request: import("@metamask/superstruct").Struct<{
|
|
1228
1312
|
method: string;
|
|
1229
1313
|
params?: Record<string, Json> | Json[];
|
package/dist/rpc.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.mts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,gCAAgC;AAEzE,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAYnD,OAAO,KAAK,EAAE,IAAI,EAAE,wBAAwB;AAE5C,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,eAAe,EACf,SAAS,EACT,UAAU,EACV,sBAAsB,EACtB,WAAW,EACZ,wBAAc;AAef,OAAO,KAAK,EAAE,oBAAoB,EAAE,0CAAgC;AAGpE;;GAEG;AACH,oBAAY,gBAAgB;IAE1B,aAAa,0BAA0B;IACvC,cAAc,2BAA2B;IACzC,aAAa,0BAA0B;IACvC,gBAAgB,6BAA6B;IAC7C,aAAa,0BAA0B;IACvC,mBAAmB,gCAAgC;IACnD,UAAU,uBAAuB;IACjC,YAAY,yBAAyB;IACrC,aAAa,0BAA0B;IAGvC,cAAc,2BAA2B;IACzC,UAAU,uBAAuB;IACjC,YAAY,yBAAyB;IACrC,aAAa,0BAA0B;IACvC,aAAa,0BAA0B;IAGvC,kBAAkB,+BAA+B;IACjD,iBAAiB,8BAA8B;IAC/C,uBAAuB,oCAAoC;IAC3D,mBAAmB,gCAAgC;IAGnD,qBAAqB,kCAAkC;CACxD;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,IAAI,gBAAgB,CAE7E;AAYD,eAAO,MAAM,yBAAyB;;;;;;;;EAGpC,CAAC;AA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AAC,CACjB,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,aAAa,EAAE,GACtB,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC;IAC3C,mBAAmB,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5D,CAAC"}
|
package/dist/sol/types.d.cts
CHANGED
|
@@ -28,6 +28,8 @@ export declare const SolDataAccountStruct: import("@metamask/superstruct").Struc
|
|
|
28
28
|
type: "private-key";
|
|
29
29
|
} | {
|
|
30
30
|
type: "custom";
|
|
31
|
+
} | {
|
|
32
|
+
type: "mpc";
|
|
31
33
|
};
|
|
32
34
|
exportable?: boolean;
|
|
33
35
|
};
|
|
@@ -68,6 +70,8 @@ export declare const SolDataAccountStruct: import("@metamask/superstruct").Struc
|
|
|
68
70
|
type: "private-key";
|
|
69
71
|
} | {
|
|
70
72
|
type: "custom";
|
|
73
|
+
} | {
|
|
74
|
+
type: "mpc";
|
|
71
75
|
};
|
|
72
76
|
exportable?: boolean;
|
|
73
77
|
}, null>;
|
package/dist/sol/types.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/sol/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IAKnB,yBAAyB,8BAA8B;IAEvD,sBAAsB,2BAA2B;IACjD,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/sol/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IAKnB,yBAAyB,8BAA8B;IAEvD,sBAAsB,2BAA2B;IACjD,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;IAG/B;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
package/dist/sol/types.d.mts
CHANGED
|
@@ -28,6 +28,8 @@ export declare const SolDataAccountStruct: import("@metamask/superstruct").Struc
|
|
|
28
28
|
type: "private-key";
|
|
29
29
|
} | {
|
|
30
30
|
type: "custom";
|
|
31
|
+
} | {
|
|
32
|
+
type: "mpc";
|
|
31
33
|
};
|
|
32
34
|
exportable?: boolean;
|
|
33
35
|
};
|
|
@@ -68,6 +70,8 @@ export declare const SolDataAccountStruct: import("@metamask/superstruct").Struc
|
|
|
68
70
|
type: "private-key";
|
|
69
71
|
} | {
|
|
70
72
|
type: "custom";
|
|
73
|
+
} | {
|
|
74
|
+
type: "mpc";
|
|
71
75
|
};
|
|
72
76
|
exportable?: boolean;
|
|
73
77
|
}, null>;
|
package/dist/sol/types.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/sol/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IAKnB,yBAAyB,8BAA8B;IAEvD,sBAAsB,2BAA2B;IACjD,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/sol/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IAKnB,yBAAyB,8BAA8B;IAEvD,sBAAsB,2BAA2B;IACjD,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;IAG/B;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
package/dist/trx/types.d.cts
CHANGED
|
@@ -26,6 +26,8 @@ export declare const TrxEoaAccountStruct: import("@metamask/superstruct").Struct
|
|
|
26
26
|
type: "private-key";
|
|
27
27
|
} | {
|
|
28
28
|
type: "custom";
|
|
29
|
+
} | {
|
|
30
|
+
type: "mpc";
|
|
29
31
|
};
|
|
30
32
|
exportable?: boolean;
|
|
31
33
|
};
|
|
@@ -65,6 +67,8 @@ export declare const TrxEoaAccountStruct: 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/trx/types.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/trx/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IACnB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IAGnC,aAAa,kBAAkB;IAE/B,eAAe,oBAAoB;CACpC;AAED,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/trx/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IACnB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IAGnC,aAAa,kBAAkB;IAE/B,eAAe,oBAAoB;CACpC;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;IAE9B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
package/dist/trx/types.d.mts
CHANGED
|
@@ -26,6 +26,8 @@ export declare const TrxEoaAccountStruct: import("@metamask/superstruct").Struct
|
|
|
26
26
|
type: "private-key";
|
|
27
27
|
} | {
|
|
28
28
|
type: "custom";
|
|
29
|
+
} | {
|
|
30
|
+
type: "mpc";
|
|
29
31
|
};
|
|
30
32
|
exportable?: boolean;
|
|
31
33
|
};
|
|
@@ -65,6 +67,8 @@ export declare const TrxEoaAccountStruct: 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/trx/types.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/trx/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IACnB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IAGnC,aAAa,kBAAkB;IAE/B,eAAe,oBAAoB;CACpC;AAED,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/trx/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IACnB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IAGnC,aAAa,kBAAkB;IAE/B,eAAe,oBAAoB;CACpC;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;IAE9B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|