@metamask-previews/keyring-internal-api 0.0.1-67f3b77 → 0.0.1-b250745
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/dist/{internal/api.js → api.cjs} +2 -3
- package/dist/api.cjs.map +1 -0
- package/dist/{internal/api.d.ts → api.d.cts} +46 -41
- package/dist/api.d.cts.map +1 -0
- package/dist/api.d.mts +420 -0
- package/dist/api.d.mts.map +1 -0
- package/dist/api.mjs +134 -0
- package/dist/api.mjs.map +1 -0
- package/dist/eth/EthKeyring.cjs +3 -0
- package/dist/eth/EthKeyring.cjs.map +1 -0
- package/dist/{internal/eth/EthKeyring.d.ts → eth/EthKeyring.d.cts} +4 -4
- package/dist/eth/EthKeyring.d.cts.map +1 -0
- package/dist/eth/EthKeyring.d.mts +33 -0
- package/dist/eth/EthKeyring.d.mts.map +1 -0
- package/dist/eth/EthKeyring.mjs +2 -0
- package/dist/eth/EthKeyring.mjs.map +1 -0
- package/dist/{internal/eth/EthKeyring.js → eth/index.cjs} +1 -1
- package/dist/eth/index.cjs.map +1 -0
- package/dist/eth/index.d.cts +2 -0
- package/dist/eth/index.d.cts.map +1 -0
- package/dist/eth/index.d.mts +2 -0
- package/dist/eth/index.d.mts.map +1 -0
- package/dist/eth/index.mjs +2 -0
- package/dist/eth/index.mjs.map +1 -0
- package/dist/{btc/index.js → index.cjs} +3 -2
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +4 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -0
- package/dist/{internal/types.js → types.cjs} +23 -19
- package/dist/types.cjs.map +1 -0
- package/dist/{internal/types.d.ts → types.d.cts} +131 -69
- package/dist/types.d.cts.map +1 -0
- package/dist/types.d.mts +392 -0
- package/dist/types.d.mts.map +1 -0
- package/dist/types.mjs +50 -0
- package/dist/types.mjs.map +1 -0
- package/package.json +30 -18
- package/dist/btc/index.d.ts +0 -1
- package/dist/btc/index.js.map +0 -1
- package/dist/btc/types.d.ts +0 -33
- package/dist/btc/types.js +0 -40
- package/dist/btc/types.js.map +0 -1
- package/dist/eth/erc4337/index.d.ts +0 -1
- package/dist/eth/erc4337/index.js +0 -18
- package/dist/eth/erc4337/index.js.map +0 -1
- package/dist/eth/erc4337/types.d.ts +0 -97
- package/dist/eth/erc4337/types.js +0 -61
- package/dist/eth/erc4337/types.js.map +0 -1
- package/dist/eth/index.d.ts +0 -3
- package/dist/eth/index.js +0 -20
- package/dist/eth/index.js.map +0 -1
- package/dist/eth/types.d.ts +0 -80
- package/dist/eth/types.js +0 -73
- package/dist/eth/types.js.map +0 -1
- package/dist/eth/utils.d.ts +0 -8
- package/dist/eth/utils.js +0 -15
- package/dist/eth/utils.js.map +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -20
- package/dist/index.js.map +0 -1
- package/dist/internal/api.js.map +0 -1
- package/dist/internal/eth/EthKeyring.js.map +0 -1
- package/dist/internal/eth/index.d.ts +0 -1
- package/dist/internal/eth/index.js +0 -18
- package/dist/internal/eth/index.js.map +0 -1
- package/dist/internal/events.d.ts +0 -169
- package/dist/internal/events.js +0 -83
- package/dist/internal/events.js.map +0 -1
- package/dist/internal/index.d.ts +0 -5
- package/dist/internal/index.js +0 -22
- package/dist/internal/index.js.map +0 -1
- package/dist/internal/rpc.d.ts +0 -25
- package/dist/internal/rpc.js +0 -33
- package/dist/internal/rpc.js.map +0 -1
- package/dist/internal/types.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EthKeyring.d.mts","sourceRoot":"","sources":["../../src/eth/EthKeyring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACtB,8BAA8B;AAC/B,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,wBAAwB;AAErD,MAAM,MAAM,UAAU,CAAC,KAAK,SAAS,IAAI,IAAI,OAAO,CAAC,KAAK,CAAC,GAAG;IAC5D;;;;;;;OAOG;IACH,oBAAoB,CAAC,CACnB,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,kBAAkB,EAAE,EAClC,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAEjC;;;;;;;;OAQG;IACH,kBAAkB,CAAC,CACjB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAElC;;;;;;;OAOG;IACH,iBAAiB,CAAC,CAChB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,MAAM,CAAC,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EthKeyring.mjs","sourceRoot":"","sources":["../../src/eth/EthKeyring.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n KeyringExecutionContext,\n EthBaseTransaction,\n EthBaseUserOperation,\n EthUserOperation,\n EthUserOperationPatch,\n} from '@metamask/keyring-api';\nimport type { Json, Keyring } from '@metamask/utils';\n\nexport type EthKeyring<State extends Json> = Keyring<State> & {\n /**\n * Convert a base transaction to a base UserOperation.\n *\n * @param address - Address of the sender.\n * @param transactions - Base transactions to include in the UserOperation.\n * @param context - Keyring execution context.\n * @returns A pseudo-UserOperation that can be used to construct a real.\n */\n prepareUserOperation?(\n address: string,\n transactions: EthBaseTransaction[],\n context: KeyringExecutionContext,\n ): Promise<EthBaseUserOperation>;\n\n /**\n * Patches properties of a UserOperation. Currently, only the\n * `paymasterAndData` can be patched.\n *\n * @param address - Address of the sender.\n * @param userOp - UserOperation to patch.\n * @param context - Keyring execution context.\n * @returns A patch to apply to the UserOperation.\n */\n patchUserOperation?(\n address: string,\n userOp: EthUserOperation,\n context: KeyringExecutionContext,\n ): Promise<EthUserOperationPatch>;\n\n /**\n * Signs an UserOperation.\n *\n * @param address - Address of the sender.\n * @param userOp - UserOperation to sign.\n * @param context - Keyring execution context.\n * @returns The signature of the UserOperation.\n */\n signUserOperation?(\n address: string,\n userOp: EthUserOperation,\n context: KeyringExecutionContext,\n ): Promise<string>;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/eth/index.ts"],"names":[],"mappings":"","sourcesContent":["export type * from './EthKeyring';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../src/eth/index.ts"],"names":[],"mappings":"AAAA,sCAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/eth/index.ts"],"names":[],"mappings":"AAAA,sCAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/eth/index.ts"],"names":[],"mappings":"","sourcesContent":["export type * from './EthKeyring';\n"]}
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
|
|
17
|
+
__exportStar(require("./api.cjs"), exports);
|
|
18
|
+
__exportStar(require("./types.cjs"), exports);
|
|
19
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,4CAAsB;AACtB,8CAAwB","sourcesContent":["export type * from './eth';\nexport * from './api';\nexport * from './types';\n"]}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qCAA2B;AAC3B,0BAAsB;AACtB,4BAAwB"}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qCAA2B;AAC3B,0BAAsB;AACtB,4BAAwB"}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,0BAAsB;AACtB,4BAAwB","sourcesContent":["export type * from './eth';\nexport * from './api';\nexport * from './types';\n"]}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/* eslint-disable @typescript-eslint/no-redundant-type-constituents */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-duplicate-type-constituents */
|
|
4
|
+
// Those rules seem to be triggering a false positive on the `InternalAccountStructs`
|
|
5
|
+
// and `InternalAccountTypes`.
|
|
2
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InternalAccountStruct = exports.InternalAccountStructs = exports.InternalBtcP2wpkhAccountStruct = exports.InternalEthErc4337AccountStruct = exports.InternalEthEoaAccountStruct = exports.InternalAccountMetadataStruct = void 0;
|
|
7
|
+
exports.InternalAccountStruct = exports.InternalAccountStructs = exports.InternalSolDataAccountStruct = exports.InternalBtcP2wpkhAccountStruct = exports.InternalEthErc4337AccountStruct = exports.InternalEthEoaAccountStruct = exports.InternalAccountMetadataStruct = void 0;
|
|
4
8
|
const keyring_api_1 = require("@metamask/keyring-api");
|
|
5
9
|
const keyring_utils_1 = require("@metamask/keyring-utils");
|
|
6
10
|
const superstruct_1 = require("@metamask/superstruct");
|
|
7
|
-
const types_1 = require("../btc/types");
|
|
8
|
-
const types_2 = require("../eth/types");
|
|
9
11
|
exports.InternalAccountMetadataStruct = (0, keyring_utils_1.object)({
|
|
10
12
|
metadata: (0, keyring_utils_1.object)({
|
|
11
13
|
name: (0, superstruct_1.string)(),
|
|
@@ -22,28 +24,30 @@ exports.InternalAccountMetadataStruct = (0, keyring_utils_1.object)({
|
|
|
22
24
|
}),
|
|
23
25
|
}),
|
|
24
26
|
});
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
exports.
|
|
38
|
-
|
|
39
|
-
exports.
|
|
27
|
+
exports.InternalEthEoaAccountStruct = (0, keyring_utils_1.object)({
|
|
28
|
+
...keyring_api_1.EthEoaAccountStruct.schema,
|
|
29
|
+
...exports.InternalAccountMetadataStruct.schema,
|
|
30
|
+
});
|
|
31
|
+
exports.InternalEthErc4337AccountStruct = (0, keyring_utils_1.object)({
|
|
32
|
+
...keyring_api_1.EthErc4337AccountStruct.schema,
|
|
33
|
+
...exports.InternalAccountMetadataStruct.schema,
|
|
34
|
+
});
|
|
35
|
+
exports.InternalBtcP2wpkhAccountStruct = (0, keyring_utils_1.object)({
|
|
36
|
+
...keyring_api_1.BtcP2wpkhAccountStruct.schema,
|
|
37
|
+
...exports.InternalAccountMetadataStruct.schema,
|
|
38
|
+
});
|
|
39
|
+
exports.InternalSolDataAccountStruct = (0, keyring_utils_1.object)({
|
|
40
|
+
...keyring_api_1.SolDataAccountStruct.schema,
|
|
41
|
+
...exports.InternalAccountMetadataStruct.schema,
|
|
42
|
+
});
|
|
40
43
|
exports.InternalAccountStructs = {
|
|
41
44
|
[`${keyring_api_1.EthAccountType.Eoa}`]: exports.InternalEthEoaAccountStruct,
|
|
42
45
|
[`${keyring_api_1.EthAccountType.Erc4337}`]: exports.InternalEthErc4337AccountStruct,
|
|
43
46
|
[`${keyring_api_1.BtcAccountType.P2wpkh}`]: exports.InternalBtcP2wpkhAccountStruct,
|
|
47
|
+
[`${keyring_api_1.SolAccountType.DataAccount}`]: exports.InternalSolDataAccountStruct,
|
|
44
48
|
};
|
|
45
49
|
exports.InternalAccountStruct = (0, keyring_utils_1.object)({
|
|
46
50
|
...keyring_api_1.KeyringAccountStruct.schema,
|
|
47
51
|
...exports.InternalAccountMetadataStruct.schema,
|
|
48
52
|
});
|
|
49
|
-
//# sourceMappingURL=types.
|
|
53
|
+
//# sourceMappingURL=types.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.cjs","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,sEAAsE;AACtE,qFAAqF;AACrF,8BAA8B;;;AAE9B,uDAS+B;AAC/B,2DAAgE;AAEhE,uDAAgE;AAOnD,QAAA,6BAA6B,GAAG,IAAA,sBAAM,EAAC;IAClD,QAAQ,EAAE,IAAA,sBAAM,EAAC;QACf,IAAI,EAAE,IAAA,oBAAM,GAAE;QACd,iBAAiB,EAAE,IAAA,6BAAa,EAAC,IAAA,oBAAM,GAAE,CAAC;QAC1C,IAAI,EAAE,IAAA,6BAAa,EACjB,IAAA,sBAAM,EAAC;YACL,EAAE,EAAE,IAAA,oBAAM,GAAE;YACZ,OAAO,EAAE,IAAA,qBAAO,GAAE;YAClB,IAAI,EAAE,IAAA,oBAAM,GAAE;SACf,CAAC,CACH;QACD,YAAY,EAAE,IAAA,6BAAa,EAAC,IAAA,oBAAM,GAAE,CAAC;QACrC,UAAU,EAAE,IAAA,oBAAM,GAAE;QACpB,OAAO,EAAE,IAAA,sBAAM,EAAC;YACd,IAAI,EAAE,IAAA,oBAAM,GAAE;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG,IAAA,sBAAM,EAAC;IAChD,GAAG,iCAAmB,CAAC,MAAM;IAC7B,GAAG,qCAA6B,CAAC,MAAM;CACxC,CAAC,CAAC;AAEU,QAAA,+BAA+B,GAAG,IAAA,sBAAM,EAAC;IACpD,GAAG,qCAAuB,CAAC,MAAM;IACjC,GAAG,qCAA6B,CAAC,MAAM;CACxC,CAAC,CAAC;AAEU,QAAA,8BAA8B,GAAG,IAAA,sBAAM,EAAC;IACnD,GAAG,oCAAsB,CAAC,MAAM;IAChC,GAAG,qCAA6B,CAAC,MAAM;CACxC,CAAC,CAAC;AAEU,QAAA,4BAA4B,GAAG,IAAA,sBAAM,EAAC;IACjD,GAAG,kCAAoB,CAAC,MAAM;IAC9B,GAAG,qCAA6B,CAAC,MAAM;CACxC,CAAC,CAAC;AAcU,QAAA,sBAAsB,GAM/B;IACF,CAAC,GAAG,4BAAc,CAAC,GAAG,EAAE,CAAC,EAAE,mCAA2B;IACtD,CAAC,GAAG,4BAAc,CAAC,OAAO,EAAE,CAAC,EAAE,uCAA+B;IAC9D,CAAC,GAAG,4BAAc,CAAC,MAAM,EAAE,CAAC,EAAE,sCAA8B;IAC5D,CAAC,GAAG,4BAAc,CAAC,WAAW,EAAE,CAAC,EAAE,oCAA4B;CAChE,CAAC;AAQW,QAAA,qBAAqB,GAAG,IAAA,sBAAM,EAAC;IAC1C,GAAG,kCAAoB,CAAC,MAAM;IAC9B,GAAG,qCAA6B,CAAC,MAAM;CACxC,CAAC,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\n/* eslint-disable @typescript-eslint/no-duplicate-type-constituents */\n// Those rules seem to be triggering a false positive on the `InternalAccountStructs`\n// and `InternalAccountTypes`.\n\nimport {\n BtcAccountType,\n EthAccountType,\n KeyringAccountStruct,\n SolAccountType,\n BtcP2wpkhAccountStruct,\n EthEoaAccountStruct,\n EthErc4337AccountStruct,\n SolDataAccountStruct,\n} from '@metamask/keyring-api';\nimport { exactOptional, object } from '@metamask/keyring-utils';\nimport type { Infer, Struct } from '@metamask/superstruct';\nimport { boolean, string, number } from '@metamask/superstruct';\n\nexport type InternalAccountType =\n | EthAccountType\n | BtcAccountType\n | SolAccountType;\n\nexport const InternalAccountMetadataStruct = object({\n metadata: object({\n name: string(),\n nameLastUpdatedAt: exactOptional(number()),\n snap: exactOptional(\n object({\n id: string(),\n enabled: boolean(),\n name: string(),\n }),\n ),\n lastSelected: exactOptional(number()),\n importTime: number(),\n keyring: object({\n type: string(),\n }),\n }),\n});\n\nexport const InternalEthEoaAccountStruct = object({\n ...EthEoaAccountStruct.schema,\n ...InternalAccountMetadataStruct.schema,\n});\n\nexport const InternalEthErc4337AccountStruct = object({\n ...EthErc4337AccountStruct.schema,\n ...InternalAccountMetadataStruct.schema,\n});\n\nexport const InternalBtcP2wpkhAccountStruct = object({\n ...BtcP2wpkhAccountStruct.schema,\n ...InternalAccountMetadataStruct.schema,\n});\n\nexport const InternalSolDataAccountStruct = object({\n ...SolDataAccountStruct.schema,\n ...InternalAccountMetadataStruct.schema,\n});\n\nexport type InternalEthEoaAccount = Infer<typeof InternalEthEoaAccountStruct>;\n\nexport type InternalEthErc4337Account = Infer<\n typeof InternalEthErc4337AccountStruct\n>;\n\nexport type InternalBtcP2wpkhAccount = Infer<\n typeof InternalBtcP2wpkhAccountStruct\n>;\n\nexport type InternalSolDataAccount = Infer<typeof InternalSolDataAccountStruct>;\n\nexport const InternalAccountStructs: Record<\n string,\n | Struct<InternalEthEoaAccount>\n | Struct<InternalEthErc4337Account>\n | Struct<InternalBtcP2wpkhAccount>\n | Struct<InternalSolDataAccount>\n> = {\n [`${EthAccountType.Eoa}`]: InternalEthEoaAccountStruct,\n [`${EthAccountType.Erc4337}`]: InternalEthErc4337AccountStruct,\n [`${BtcAccountType.P2wpkh}`]: InternalBtcP2wpkhAccountStruct,\n [`${SolAccountType.DataAccount}`]: InternalSolDataAccountStruct,\n};\n\nexport type InternalAccountTypes =\n | InternalEthEoaAccount\n | InternalEthErc4337Account\n | InternalBtcP2wpkhAccount\n | InternalSolDataAccount;\n\nexport const InternalAccountStruct = object({\n ...KeyringAccountStruct.schema,\n ...InternalAccountMetadataStruct.schema,\n});\n\n/**\n * Internal account representation.\n *\n * This type is used internally by MetaMask to add additional metadata to the\n * account object. It's should not be used by external applications.\n */\nexport type InternalAccount = Infer<typeof InternalAccountStruct>;\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BtcAccountType, EthAccountType } from
|
|
2
|
-
import type { Infer, Struct } from
|
|
3
|
-
export
|
|
1
|
+
import { BtcAccountType, EthAccountType, SolAccountType } from "@metamask/keyring-api";
|
|
2
|
+
import type { Infer, Struct } from "@metamask/superstruct";
|
|
3
|
+
export type InternalAccountType = EthAccountType | BtcAccountType | SolAccountType;
|
|
4
4
|
export declare const InternalAccountMetadataStruct: Struct<{
|
|
5
5
|
metadata: {
|
|
6
6
|
name: string;
|
|
@@ -11,8 +11,8 @@ export declare const InternalAccountMetadataStruct: Struct<{
|
|
|
11
11
|
nameLastUpdatedAt?: number;
|
|
12
12
|
snap?: {
|
|
13
13
|
id: string;
|
|
14
|
-
name: string;
|
|
15
14
|
enabled: boolean;
|
|
15
|
+
name: string;
|
|
16
16
|
};
|
|
17
17
|
lastSelected?: number;
|
|
18
18
|
};
|
|
@@ -26,8 +26,8 @@ export declare const InternalAccountMetadataStruct: Struct<{
|
|
|
26
26
|
nameLastUpdatedAt?: number;
|
|
27
27
|
snap?: {
|
|
28
28
|
id: string;
|
|
29
|
-
name: string;
|
|
30
29
|
enabled: boolean;
|
|
30
|
+
name: string;
|
|
31
31
|
};
|
|
32
32
|
lastSelected?: number;
|
|
33
33
|
}, {
|
|
@@ -35,8 +35,8 @@ export declare const InternalAccountMetadataStruct: Struct<{
|
|
|
35
35
|
nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
36
36
|
snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
|
|
37
37
|
id: string;
|
|
38
|
-
name: string;
|
|
39
38
|
enabled: boolean;
|
|
39
|
+
name: string;
|
|
40
40
|
}, {
|
|
41
41
|
id: Struct<string, null>;
|
|
42
42
|
enabled: Struct<boolean, null>;
|
|
@@ -54,9 +54,6 @@ export declare const InternalAccountMetadataStruct: Struct<{
|
|
|
54
54
|
export declare const InternalEthEoaAccountStruct: Struct<{
|
|
55
55
|
id: string;
|
|
56
56
|
options: Record<string, import("@metamask/utils").Json>;
|
|
57
|
-
address: string;
|
|
58
|
-
type: "eip155:eoa";
|
|
59
|
-
methods: ("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[];
|
|
60
57
|
metadata: {
|
|
61
58
|
name: string;
|
|
62
59
|
importTime: number;
|
|
@@ -66,25 +63,15 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
66
63
|
nameLastUpdatedAt?: number;
|
|
67
64
|
snap?: {
|
|
68
65
|
id: string;
|
|
69
|
-
name: string;
|
|
70
66
|
enabled: boolean;
|
|
67
|
+
name: string;
|
|
71
68
|
};
|
|
72
69
|
lastSelected?: number;
|
|
73
70
|
};
|
|
71
|
+
type: "eip155:eoa";
|
|
72
|
+
address: string;
|
|
73
|
+
methods: ("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[];
|
|
74
74
|
}, {
|
|
75
|
-
address: Struct<string, null>;
|
|
76
|
-
type: Struct<"eip155:eoa", "eip155:eoa">;
|
|
77
|
-
methods: Struct<("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[], Struct<"personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4", {
|
|
78
|
-
personal_sign: "personal_sign";
|
|
79
|
-
eth_sign: "eth_sign";
|
|
80
|
-
eth_signTransaction: "eth_signTransaction";
|
|
81
|
-
eth_signTypedData_v1: "eth_signTypedData_v1";
|
|
82
|
-
eth_signTypedData_v3: "eth_signTypedData_v3";
|
|
83
|
-
eth_signTypedData_v4: "eth_signTypedData_v4";
|
|
84
|
-
}>>;
|
|
85
|
-
id: Struct<string, null>;
|
|
86
|
-
options: Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
87
|
-
} & {
|
|
88
75
|
metadata: Struct<{
|
|
89
76
|
name: string;
|
|
90
77
|
importTime: number;
|
|
@@ -94,8 +81,8 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
94
81
|
nameLastUpdatedAt?: number;
|
|
95
82
|
snap?: {
|
|
96
83
|
id: string;
|
|
97
|
-
name: string;
|
|
98
84
|
enabled: boolean;
|
|
85
|
+
name: string;
|
|
99
86
|
};
|
|
100
87
|
lastSelected?: number;
|
|
101
88
|
}, {
|
|
@@ -103,8 +90,8 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
103
90
|
nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
104
91
|
snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
|
|
105
92
|
id: string;
|
|
106
|
-
name: string;
|
|
107
93
|
enabled: boolean;
|
|
94
|
+
name: string;
|
|
108
95
|
}, {
|
|
109
96
|
id: Struct<string, null>;
|
|
110
97
|
enabled: Struct<boolean, null>;
|
|
@@ -118,13 +105,22 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
118
105
|
type: Struct<string, null>;
|
|
119
106
|
}>;
|
|
120
107
|
}>;
|
|
108
|
+
address: import("@metamask/superstruct").Struct<string, null>;
|
|
109
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa", "eip155:eoa">;
|
|
110
|
+
methods: import("@metamask/superstruct").Struct<("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[], import("@metamask/superstruct").Struct<"personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4", {
|
|
111
|
+
personal_sign: "personal_sign";
|
|
112
|
+
eth_sign: "eth_sign";
|
|
113
|
+
eth_signTransaction: "eth_signTransaction";
|
|
114
|
+
eth_signTypedData_v1: "eth_signTypedData_v1";
|
|
115
|
+
eth_signTypedData_v3: "eth_signTypedData_v3";
|
|
116
|
+
eth_signTypedData_v4: "eth_signTypedData_v4";
|
|
117
|
+
}>>;
|
|
118
|
+
id: import("@metamask/superstruct").Struct<string, null>;
|
|
119
|
+
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
121
120
|
}>;
|
|
122
121
|
export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
123
122
|
id: string;
|
|
124
123
|
options: Record<string, import("@metamask/utils").Json>;
|
|
125
|
-
address: string;
|
|
126
|
-
type: "eip155:erc4337";
|
|
127
|
-
methods: ("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[];
|
|
128
124
|
metadata: {
|
|
129
125
|
name: string;
|
|
130
126
|
importTime: number;
|
|
@@ -134,15 +130,51 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
134
130
|
nameLastUpdatedAt?: number;
|
|
135
131
|
snap?: {
|
|
136
132
|
id: string;
|
|
137
|
-
name: string;
|
|
138
133
|
enabled: boolean;
|
|
134
|
+
name: string;
|
|
139
135
|
};
|
|
140
136
|
lastSelected?: number;
|
|
141
137
|
};
|
|
138
|
+
type: "eip155:erc4337";
|
|
139
|
+
address: string;
|
|
140
|
+
methods: ("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[];
|
|
142
141
|
}, {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
metadata: Struct<{
|
|
143
|
+
name: string;
|
|
144
|
+
importTime: number;
|
|
145
|
+
keyring: {
|
|
146
|
+
type: string;
|
|
147
|
+
};
|
|
148
|
+
nameLastUpdatedAt?: number;
|
|
149
|
+
snap?: {
|
|
150
|
+
id: string;
|
|
151
|
+
enabled: boolean;
|
|
152
|
+
name: string;
|
|
153
|
+
};
|
|
154
|
+
lastSelected?: number;
|
|
155
|
+
}, {
|
|
156
|
+
name: Struct<string, null>;
|
|
157
|
+
nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
158
|
+
snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
|
|
159
|
+
id: string;
|
|
160
|
+
enabled: boolean;
|
|
161
|
+
name: string;
|
|
162
|
+
}, {
|
|
163
|
+
id: Struct<string, null>;
|
|
164
|
+
enabled: Struct<boolean, null>;
|
|
165
|
+
name: Struct<string, null>;
|
|
166
|
+
}>;
|
|
167
|
+
lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
168
|
+
importTime: Struct<number, null>;
|
|
169
|
+
keyring: Struct<{
|
|
170
|
+
type: string;
|
|
171
|
+
}, {
|
|
172
|
+
type: Struct<string, null>;
|
|
173
|
+
}>;
|
|
174
|
+
}>;
|
|
175
|
+
address: import("@metamask/superstruct").Struct<string, null>;
|
|
176
|
+
type: import("@metamask/superstruct").Struct<"eip155:erc4337", "eip155:erc4337">;
|
|
177
|
+
methods: import("@metamask/superstruct").Struct<("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[], import("@metamask/superstruct").Struct<"personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation", {
|
|
146
178
|
personal_sign: "personal_sign";
|
|
147
179
|
eth_sign: "eth_sign";
|
|
148
180
|
eth_signTypedData_v1: "eth_signTypedData_v1";
|
|
@@ -152,10 +184,13 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
152
184
|
eth_patchUserOperation: "eth_patchUserOperation";
|
|
153
185
|
eth_signUserOperation: "eth_signUserOperation";
|
|
154
186
|
}>>;
|
|
155
|
-
id: Struct<string, null>;
|
|
156
|
-
options: Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
157
|
-
}
|
|
158
|
-
|
|
187
|
+
id: import("@metamask/superstruct").Struct<string, null>;
|
|
188
|
+
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
189
|
+
}>;
|
|
190
|
+
export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
191
|
+
id: string;
|
|
192
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
193
|
+
metadata: {
|
|
159
194
|
name: string;
|
|
160
195
|
importTime: number;
|
|
161
196
|
keyring: {
|
|
@@ -164,8 +199,26 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
164
199
|
nameLastUpdatedAt?: number;
|
|
165
200
|
snap?: {
|
|
166
201
|
id: string;
|
|
202
|
+
enabled: boolean;
|
|
167
203
|
name: string;
|
|
204
|
+
};
|
|
205
|
+
lastSelected?: number;
|
|
206
|
+
};
|
|
207
|
+
type: "bip122:p2wpkh";
|
|
208
|
+
address: string;
|
|
209
|
+
methods: "sendBitcoin"[];
|
|
210
|
+
}, {
|
|
211
|
+
metadata: Struct<{
|
|
212
|
+
name: string;
|
|
213
|
+
importTime: number;
|
|
214
|
+
keyring: {
|
|
215
|
+
type: string;
|
|
216
|
+
};
|
|
217
|
+
nameLastUpdatedAt?: number;
|
|
218
|
+
snap?: {
|
|
219
|
+
id: string;
|
|
168
220
|
enabled: boolean;
|
|
221
|
+
name: string;
|
|
169
222
|
};
|
|
170
223
|
lastSelected?: number;
|
|
171
224
|
}, {
|
|
@@ -173,8 +226,8 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
173
226
|
nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
174
227
|
snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
|
|
175
228
|
id: string;
|
|
176
|
-
name: string;
|
|
177
229
|
enabled: boolean;
|
|
230
|
+
name: string;
|
|
178
231
|
}, {
|
|
179
232
|
id: Struct<string, null>;
|
|
180
233
|
enabled: Struct<boolean, null>;
|
|
@@ -188,13 +241,17 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
188
241
|
type: Struct<string, null>;
|
|
189
242
|
}>;
|
|
190
243
|
}>;
|
|
244
|
+
address: import("@metamask/superstruct").Struct<string, null>;
|
|
245
|
+
type: import("@metamask/superstruct").Struct<"bip122:p2wpkh", "bip122:p2wpkh">;
|
|
246
|
+
methods: import("@metamask/superstruct").Struct<"sendBitcoin"[], import("@metamask/superstruct").Struct<"sendBitcoin", {
|
|
247
|
+
sendBitcoin: "sendBitcoin";
|
|
248
|
+
}>>;
|
|
249
|
+
id: import("@metamask/superstruct").Struct<string, null>;
|
|
250
|
+
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
191
251
|
}>;
|
|
192
|
-
export declare const
|
|
252
|
+
export declare const InternalSolDataAccountStruct: Struct<{
|
|
193
253
|
id: string;
|
|
194
254
|
options: Record<string, import("@metamask/utils").Json>;
|
|
195
|
-
address: string;
|
|
196
|
-
type: "bip122:p2wpkh";
|
|
197
|
-
methods: "btc_sendmany"[];
|
|
198
255
|
metadata: {
|
|
199
256
|
name: string;
|
|
200
257
|
importTime: number;
|
|
@@ -204,20 +261,15 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
204
261
|
nameLastUpdatedAt?: number;
|
|
205
262
|
snap?: {
|
|
206
263
|
id: string;
|
|
207
|
-
name: string;
|
|
208
264
|
enabled: boolean;
|
|
265
|
+
name: string;
|
|
209
266
|
};
|
|
210
267
|
lastSelected?: number;
|
|
211
268
|
};
|
|
269
|
+
type: "solana:data-account";
|
|
270
|
+
address: string;
|
|
271
|
+
methods: "sendAndConfirmTransaction"[];
|
|
212
272
|
}, {
|
|
213
|
-
address: Struct<string, null>;
|
|
214
|
-
type: Struct<"bip122:p2wpkh", "bip122:p2wpkh">;
|
|
215
|
-
methods: Struct<"btc_sendmany"[], Struct<"btc_sendmany", {
|
|
216
|
-
btc_sendmany: "btc_sendmany";
|
|
217
|
-
}>>;
|
|
218
|
-
id: Struct<string, null>;
|
|
219
|
-
options: Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
220
|
-
} & {
|
|
221
273
|
metadata: Struct<{
|
|
222
274
|
name: string;
|
|
223
275
|
importTime: number;
|
|
@@ -227,8 +279,8 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
227
279
|
nameLastUpdatedAt?: number;
|
|
228
280
|
snap?: {
|
|
229
281
|
id: string;
|
|
230
|
-
name: string;
|
|
231
282
|
enabled: boolean;
|
|
283
|
+
name: string;
|
|
232
284
|
};
|
|
233
285
|
lastSelected?: number;
|
|
234
286
|
}, {
|
|
@@ -236,8 +288,8 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
236
288
|
nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
237
289
|
snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
|
|
238
290
|
id: string;
|
|
239
|
-
name: string;
|
|
240
291
|
enabled: boolean;
|
|
292
|
+
name: string;
|
|
241
293
|
}, {
|
|
242
294
|
id: Struct<string, null>;
|
|
243
295
|
enabled: Struct<boolean, null>;
|
|
@@ -251,18 +303,23 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
251
303
|
type: Struct<string, null>;
|
|
252
304
|
}>;
|
|
253
305
|
}>;
|
|
306
|
+
address: import("@metamask/superstruct").Struct<string, null>;
|
|
307
|
+
type: import("@metamask/superstruct").Struct<"solana:data-account", "solana:data-account">;
|
|
308
|
+
methods: import("@metamask/superstruct").Struct<"sendAndConfirmTransaction"[], import("@metamask/superstruct").Struct<"sendAndConfirmTransaction", {
|
|
309
|
+
sendAndConfirmTransaction: "sendAndConfirmTransaction";
|
|
310
|
+
}>>;
|
|
311
|
+
id: import("@metamask/superstruct").Struct<string, null>;
|
|
312
|
+
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
254
313
|
}>;
|
|
255
|
-
export
|
|
256
|
-
export
|
|
257
|
-
export
|
|
258
|
-
export
|
|
259
|
-
export declare
|
|
314
|
+
export type InternalEthEoaAccount = Infer<typeof InternalEthEoaAccountStruct>;
|
|
315
|
+
export type InternalEthErc4337Account = Infer<typeof InternalEthErc4337AccountStruct>;
|
|
316
|
+
export type InternalBtcP2wpkhAccount = Infer<typeof InternalBtcP2wpkhAccountStruct>;
|
|
317
|
+
export type InternalSolDataAccount = Infer<typeof InternalSolDataAccountStruct>;
|
|
318
|
+
export declare const InternalAccountStructs: Record<string, Struct<InternalEthEoaAccount> | Struct<InternalEthErc4337Account> | Struct<InternalBtcP2wpkhAccount> | Struct<InternalSolDataAccount>>;
|
|
319
|
+
export type InternalAccountTypes = InternalEthEoaAccount | InternalEthErc4337Account | InternalBtcP2wpkhAccount | InternalSolDataAccount;
|
|
260
320
|
export declare const InternalAccountStruct: Struct<{
|
|
261
321
|
id: string;
|
|
262
322
|
options: Record<string, import("@metamask/utils").Json>;
|
|
263
|
-
address: string;
|
|
264
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh";
|
|
265
|
-
methods: string[];
|
|
266
323
|
metadata: {
|
|
267
324
|
name: string;
|
|
268
325
|
importTime: number;
|
|
@@ -272,11 +329,14 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
272
329
|
nameLastUpdatedAt?: number;
|
|
273
330
|
snap?: {
|
|
274
331
|
id: string;
|
|
275
|
-
name: string;
|
|
276
332
|
enabled: boolean;
|
|
333
|
+
name: string;
|
|
277
334
|
};
|
|
278
335
|
lastSelected?: number;
|
|
279
336
|
};
|
|
337
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
|
338
|
+
address: string;
|
|
339
|
+
methods: string[];
|
|
280
340
|
}, {
|
|
281
341
|
metadata: Struct<{
|
|
282
342
|
name: string;
|
|
@@ -287,8 +347,8 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
287
347
|
nameLastUpdatedAt?: number;
|
|
288
348
|
snap?: {
|
|
289
349
|
id: string;
|
|
290
|
-
name: string;
|
|
291
350
|
enabled: boolean;
|
|
351
|
+
name: string;
|
|
292
352
|
};
|
|
293
353
|
lastSelected?: number;
|
|
294
354
|
}, {
|
|
@@ -296,8 +356,8 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
296
356
|
nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
297
357
|
snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
|
|
298
358
|
id: string;
|
|
299
|
-
name: string;
|
|
300
359
|
enabled: boolean;
|
|
360
|
+
name: string;
|
|
301
361
|
}, {
|
|
302
362
|
id: Struct<string, null>;
|
|
303
363
|
enabled: Struct<boolean, null>;
|
|
@@ -311,15 +371,16 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
311
371
|
type: Struct<string, null>;
|
|
312
372
|
}>;
|
|
313
373
|
}>;
|
|
314
|
-
id: Struct<string, null>;
|
|
315
|
-
type: Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh", {
|
|
374
|
+
id: import("@metamask/superstruct").Struct<string, null>;
|
|
375
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account", {
|
|
316
376
|
"eip155:eoa": "eip155:eoa";
|
|
317
377
|
"eip155:erc4337": "eip155:erc4337";
|
|
318
378
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
|
379
|
+
"solana:data-account": "solana:data-account";
|
|
319
380
|
}>;
|
|
320
|
-
address: Struct<string, null>;
|
|
321
|
-
options: Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
322
|
-
methods: Struct<string[], Struct<string, null>>;
|
|
381
|
+
address: import("@metamask/superstruct").Struct<string, null>;
|
|
382
|
+
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
383
|
+
methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
|
|
323
384
|
}>;
|
|
324
385
|
/**
|
|
325
386
|
* Internal account representation.
|
|
@@ -327,4 +388,5 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
327
388
|
* This type is used internally by MetaMask to add additional metadata to the
|
|
328
389
|
* account object. It's should not be used by external applications.
|
|
329
390
|
*/
|
|
330
|
-
export
|
|
391
|
+
export type InternalAccount = Infer<typeof InternalAccountStruct>;
|
|
392
|
+
//# sourceMappingURL=types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EACd,cAAc,EAEd,cAAc,EAKf,8BAA8B;AAE/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,8BAA8B;AAG3D,MAAM,MAAM,mBAAmB,GAC3B,cAAc,GACd,cAAc,GACd,cAAc,CAAC;AAEnB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBxC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGtC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG1C,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGzC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE9E,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAC3C,OAAO,+BAA+B,CACvC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAC1C,OAAO,8BAA8B,CACtC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAEhF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CACzC,MAAM,EACJ,MAAM,CAAC,qBAAqB,CAAC,GAC7B,MAAM,CAAC,yBAAyB,CAAC,GACjC,MAAM,CAAC,wBAAwB,CAAC,GAChC,MAAM,CAAC,sBAAsB,CAAC,CAMjC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAC5B,qBAAqB,GACrB,yBAAyB,GACzB,wBAAwB,GACxB,sBAAsB,CAAC;AAE3B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|