@metamask-previews/keyring-internal-api 3.0.0-3d5158c → 3.0.0-7ac71e2
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/types.d.cts +4 -4
- package/dist/types.d.mts +4 -4
- package/package.json +2 -2
package/dist/types.d.cts
CHANGED
|
@@ -70,7 +70,7 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
70
70
|
lastSelected?: number;
|
|
71
71
|
};
|
|
72
72
|
address: string;
|
|
73
|
-
scopes: import("@metamask/keyring-api").
|
|
73
|
+
scopes: import("@metamask/keyring-api").EthScope.Eoa[];
|
|
74
74
|
methods: ("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[];
|
|
75
75
|
}, {
|
|
76
76
|
metadata: Struct<{
|
|
@@ -108,7 +108,7 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
108
108
|
}>;
|
|
109
109
|
address: import("@metamask/superstruct").Struct<string, null>;
|
|
110
110
|
type: import("@metamask/superstruct").Struct<"eip155:eoa", "eip155:eoa">;
|
|
111
|
-
scopes: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").
|
|
111
|
+
scopes: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").EthScope.Eoa[], import("@metamask/superstruct").Struct<import("@metamask/keyring-api").EthScope.Eoa, import("@metamask/keyring-api").EthScope.Eoa>>;
|
|
112
112
|
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", {
|
|
113
113
|
personal_sign: "personal_sign";
|
|
114
114
|
eth_sign: "eth_sign";
|
|
@@ -344,7 +344,7 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
344
344
|
lastSelected?: number;
|
|
345
345
|
};
|
|
346
346
|
address: string;
|
|
347
|
-
scopes: string[];
|
|
347
|
+
scopes: `${string}:${string}`[];
|
|
348
348
|
methods: string[];
|
|
349
349
|
}, {
|
|
350
350
|
metadata: Struct<{
|
|
@@ -388,7 +388,7 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
388
388
|
"solana:data-account": "solana:data-account";
|
|
389
389
|
}>;
|
|
390
390
|
address: import("@metamask/superstruct").Struct<string, null>;
|
|
391
|
-
scopes: import("@metamask/superstruct").Struct
|
|
391
|
+
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
|
392
392
|
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
393
393
|
methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
|
|
394
394
|
}>;
|
package/dist/types.d.mts
CHANGED
|
@@ -70,7 +70,7 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
70
70
|
lastSelected?: number;
|
|
71
71
|
};
|
|
72
72
|
address: string;
|
|
73
|
-
scopes: import("@metamask/keyring-api").
|
|
73
|
+
scopes: import("@metamask/keyring-api").EthScope.Eoa[];
|
|
74
74
|
methods: ("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[];
|
|
75
75
|
}, {
|
|
76
76
|
metadata: Struct<{
|
|
@@ -108,7 +108,7 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
108
108
|
}>;
|
|
109
109
|
address: import("@metamask/superstruct").Struct<string, null>;
|
|
110
110
|
type: import("@metamask/superstruct").Struct<"eip155:eoa", "eip155:eoa">;
|
|
111
|
-
scopes: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").
|
|
111
|
+
scopes: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").EthScope.Eoa[], import("@metamask/superstruct").Struct<import("@metamask/keyring-api").EthScope.Eoa, import("@metamask/keyring-api").EthScope.Eoa>>;
|
|
112
112
|
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", {
|
|
113
113
|
personal_sign: "personal_sign";
|
|
114
114
|
eth_sign: "eth_sign";
|
|
@@ -344,7 +344,7 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
344
344
|
lastSelected?: number;
|
|
345
345
|
};
|
|
346
346
|
address: string;
|
|
347
|
-
scopes: string[];
|
|
347
|
+
scopes: `${string}:${string}`[];
|
|
348
348
|
methods: string[];
|
|
349
349
|
}, {
|
|
350
350
|
metadata: Struct<{
|
|
@@ -388,7 +388,7 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
388
388
|
"solana:data-account": "solana:data-account";
|
|
389
389
|
}>;
|
|
390
390
|
address: import("@metamask/superstruct").Struct<string, null>;
|
|
391
|
-
scopes: import("@metamask/superstruct").Struct
|
|
391
|
+
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
|
392
392
|
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
393
393
|
methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
|
|
394
394
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/keyring-internal-api",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-7ac71e2",
|
|
4
4
|
"description": "MetaMask Keyring Internal API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"metamask",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@metamask/keyring-api": "15.0.0",
|
|
49
49
|
"@metamask/keyring-utils": "1.3.0",
|
|
50
50
|
"@metamask/superstruct": "^3.1.0",
|
|
51
|
-
"@metamask/utils": "^11.0
|
|
51
|
+
"@metamask/utils": "^11.1.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@lavamoat/allow-scripts": "^3.2.1",
|