@metamask-previews/keyring-internal-api 10.0.0-cd75414 → 10.0.1-8ff7ba2
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 +8 -1
- package/dist/compatibility/keyring-request.d.cts +5 -5
- package/dist/compatibility/keyring-request.d.mts +5 -5
- package/dist/types.d.cts +176 -176
- package/dist/types.d.mts +176 -176
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [10.0.1]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bump `@metamask/keyring-api` from `^21.6.0` to `^22.0.0` ([#482](https://github.com/MetaMask/accounts/pull/482))
|
|
15
|
+
|
|
10
16
|
## [10.0.0]
|
|
11
17
|
|
|
12
18
|
### Changed
|
|
@@ -169,7 +175,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
169
175
|
- This new version fixes a bug with CJS re-exports.
|
|
170
176
|
- Initial release ([#24](https://github.com/MetaMask/accounts/pull/24))
|
|
171
177
|
|
|
172
|
-
[Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-internal-api@10.0.
|
|
178
|
+
[Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-internal-api@10.0.1...HEAD
|
|
179
|
+
[10.0.1]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-internal-api@10.0.0...@metamask/keyring-internal-api@10.0.1
|
|
173
180
|
[10.0.0]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-internal-api@9.1.1...@metamask/keyring-internal-api@10.0.0
|
|
174
181
|
[9.1.1]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-internal-api@9.1.0...@metamask/keyring-internal-api@9.1.1
|
|
175
182
|
[9.1.0]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-internal-api@9.0.0...@metamask/keyring-internal-api@9.1.0
|
|
@@ -5,12 +5,12 @@ import { type Infer } from "@metamask/superstruct";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const KeyringRequestWithoutOriginStruct: import("@metamask/superstruct").Struct<{
|
|
7
7
|
id: string;
|
|
8
|
-
scope: string;
|
|
9
|
-
account: string;
|
|
10
8
|
request: {
|
|
11
9
|
method: string;
|
|
12
10
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
|
13
11
|
};
|
|
12
|
+
scope: string;
|
|
13
|
+
account: string;
|
|
14
14
|
}, Omit<{
|
|
15
15
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
16
16
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
|
@@ -21,7 +21,7 @@ export declare const KeyringRequestWithoutOriginStruct: import("@metamask/supers
|
|
|
21
21
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
|
22
22
|
}, {
|
|
23
23
|
method: import("@metamask/superstruct").Struct<string, null>;
|
|
24
|
-
params: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> | import("@metamask/
|
|
24
|
+
params: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[] | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
25
25
|
}>;
|
|
26
26
|
}, "origin">>;
|
|
27
27
|
export type KeyringRequestWithoutOrigin = Infer<typeof KeyringRequestWithoutOriginStruct>;
|
|
@@ -35,8 +35,8 @@ export declare const KeyringResponseWithoutOriginStruct: import("@metamask/super
|
|
|
35
35
|
url?: string;
|
|
36
36
|
};
|
|
37
37
|
} | {
|
|
38
|
-
pending: false;
|
|
39
38
|
result: import("@metamask/utils").Json;
|
|
39
|
+
pending: false;
|
|
40
40
|
}, null>;
|
|
41
41
|
export type KeyringResponseWithoutOrigin = Infer<typeof KeyringResponseWithoutOriginStruct>;
|
|
42
42
|
export declare const SubmitRequestResponseV1Struct: import("@metamask/superstruct").Struct<{
|
|
@@ -46,8 +46,8 @@ export declare const SubmitRequestResponseV1Struct: import("@metamask/superstruc
|
|
|
46
46
|
url?: string;
|
|
47
47
|
};
|
|
48
48
|
} | {
|
|
49
|
-
pending: false;
|
|
50
49
|
result: import("@metamask/utils").Json;
|
|
50
|
+
pending: false;
|
|
51
51
|
}, null>;
|
|
52
52
|
/**
|
|
53
53
|
* Converts a keyring request to a keyring request v1.
|
|
@@ -5,12 +5,12 @@ import { type Infer } from "@metamask/superstruct";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const KeyringRequestWithoutOriginStruct: import("@metamask/superstruct").Struct<{
|
|
7
7
|
id: string;
|
|
8
|
-
scope: string;
|
|
9
|
-
account: string;
|
|
10
8
|
request: {
|
|
11
9
|
method: string;
|
|
12
10
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
|
13
11
|
};
|
|
12
|
+
scope: string;
|
|
13
|
+
account: string;
|
|
14
14
|
}, Omit<{
|
|
15
15
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
16
16
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
|
@@ -21,7 +21,7 @@ export declare const KeyringRequestWithoutOriginStruct: import("@metamask/supers
|
|
|
21
21
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
|
22
22
|
}, {
|
|
23
23
|
method: import("@metamask/superstruct").Struct<string, null>;
|
|
24
|
-
params: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> | import("@metamask/
|
|
24
|
+
params: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[] | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
25
25
|
}>;
|
|
26
26
|
}, "origin">>;
|
|
27
27
|
export type KeyringRequestWithoutOrigin = Infer<typeof KeyringRequestWithoutOriginStruct>;
|
|
@@ -35,8 +35,8 @@ export declare const KeyringResponseWithoutOriginStruct: import("@metamask/super
|
|
|
35
35
|
url?: string;
|
|
36
36
|
};
|
|
37
37
|
} | {
|
|
38
|
-
pending: false;
|
|
39
38
|
result: import("@metamask/utils").Json;
|
|
39
|
+
pending: false;
|
|
40
40
|
}, null>;
|
|
41
41
|
export type KeyringResponseWithoutOrigin = Infer<typeof KeyringResponseWithoutOriginStruct>;
|
|
42
42
|
export declare const SubmitRequestResponseV1Struct: import("@metamask/superstruct").Struct<{
|
|
@@ -46,8 +46,8 @@ export declare const SubmitRequestResponseV1Struct: import("@metamask/superstruc
|
|
|
46
46
|
url?: string;
|
|
47
47
|
};
|
|
48
48
|
} | {
|
|
49
|
-
pending: false;
|
|
50
49
|
result: import("@metamask/utils").Json;
|
|
50
|
+
pending: false;
|
|
51
51
|
}, null>;
|
|
52
52
|
/**
|
|
53
53
|
* Converts a keyring request to a keyring request v1.
|