@metamask-previews/keyring-utils 2.0.0-d9aa015 → 2.1.1-157b637

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 CHANGED
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.1.1]
11
+
12
+ ### Fixed
13
+
14
+ - Export `Keyring` and `KeyringClass` types from package root ([#208](https://github.com/MetaMask/accounts/pull/208))
15
+
16
+ ## [2.1.0]
17
+
18
+ ### Added
19
+
20
+ - Add `Keyring` and `KeyringClass` types ([#201](https://github.com/MetaMask/accounts/pull/201)), ([#205](https://github.com/MetaMask/accounts/pull/205))
21
+ - The two types have been migrated from `@metamask/utils`.
22
+ - The `State` generic accepted by the two types was removed, and the `deserialize` and `serialize` signatures were updated to use `Json` instead of `State` as argument and return types.
23
+
10
24
  ## [2.0.0]
11
25
 
12
26
  ### Changed
@@ -51,7 +65,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
51
65
  - This new version fixes a bug with CJS re-exports.
52
66
  - Initial release ([#24](https://github.com/MetaMask/accounts/pull/24))
53
67
 
54
- [Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@2.0.0...HEAD
68
+ [Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@2.1.1...HEAD
69
+ [2.1.1]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@2.1.0...@metamask/keyring-utils@2.1.1
70
+ [2.1.0]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@2.0.0...@metamask/keyring-utils@2.1.0
55
71
  [2.0.0]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@1.3.1...@metamask/keyring-utils@2.0.0
56
72
  [1.3.1]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@1.3.0...@metamask/keyring-utils@1.3.1
57
73
  [1.3.0]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@1.2.0...@metamask/keyring-utils@1.3.0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAsB;AACtB,8CAAwB;AACxB,+CAAyB;AACzB,oDAA8B;AAC9B,uDAAiC","sourcesContent":["export * from './btc';\nexport * from './types';\nexport * from './typing';\nexport * from './superstruct';\nexport * from './JsonRpcRequest';\n"]}
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAsB;AACtB,8CAAwB;AACxB,+CAAyB;AACzB,oDAA8B;AAC9B,uDAAiC","sourcesContent":["export * from './btc';\nexport * from './types';\nexport * from './typing';\nexport * from './superstruct';\nexport * from './JsonRpcRequest';\nexport type * from './keyring';\n"]}
package/dist/index.d.cts CHANGED
@@ -3,4 +3,5 @@ export * from "./types.cjs";
3
3
  export * from "./typing.cjs";
4
4
  export * from "./superstruct.cjs";
5
5
  export * from "./JsonRpcRequest.cjs";
6
+ export type * from "./keyring.cjs";
6
7
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gCAAsB;AACtB,4BAAwB;AACxB,6BAAyB;AACzB,kCAA8B;AAC9B,qCAAiC"}
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gCAAsB;AACtB,4BAAwB;AACxB,6BAAyB;AACzB,kCAA8B;AAC9B,qCAAiC;AACjC,mCAA+B"}
package/dist/index.d.mts CHANGED
@@ -3,4 +3,5 @@ export * from "./types.mjs";
3
3
  export * from "./typing.mjs";
4
4
  export * from "./superstruct.mjs";
5
5
  export * from "./JsonRpcRequest.mjs";
6
+ export type * from "./keyring.mjs";
6
7
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gCAAsB;AACtB,4BAAwB;AACxB,6BAAyB;AACzB,kCAA8B;AAC9B,qCAAiC"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gCAAsB;AACtB,4BAAwB;AACxB,6BAAyB;AACzB,kCAA8B;AAC9B,qCAAiC;AACjC,mCAA+B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gCAAsB;AACtB,4BAAwB;AACxB,6BAAyB;AACzB,kCAA8B;AAC9B,qCAAiC","sourcesContent":["export * from './btc';\nexport * from './types';\nexport * from './typing';\nexport * from './superstruct';\nexport * from './JsonRpcRequest';\n"]}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gCAAsB;AACtB,4BAAwB;AACxB,6BAAyB;AACzB,kCAA8B;AAC9B,qCAAiC","sourcesContent":["export * from './btc';\nexport * from './types';\nexport * from './typing';\nexport * from './superstruct';\nexport * from './JsonRpcRequest';\nexport type * from './keyring';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/keyring-utils",
3
- "version": "2.0.0-d9aa015",
3
+ "version": "2.1.1-157b637",
4
4
  "description": "MetaMask Keyring utils",
5
5
  "keywords": [
6
6
  "metamask",
@@ -54,7 +54,7 @@
54
54
  "@lavamoat/allow-scripts": "^3.2.1",
55
55
  "@lavamoat/preinstall-always-fail": "^2.1.0",
56
56
  "@metamask/auto-changelog": "^3.4.4",
57
- "@ts-bridge/cli": "^0.6.1",
57
+ "@ts-bridge/cli": "^0.6.3",
58
58
  "@types/jest": "^29.5.12",
59
59
  "@types/node": "^20.12.12",
60
60
  "deepmerge": "^4.2.2",