@metamask-previews/keyring-utils 2.0.0-d9aa015 → 2.1.0-44b05d1

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,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Fixed
11
+
12
+ - Export `Keyring` and `KeyringClass` types from package root ([#208](https://github.com/MetaMask/accounts/pull/208))
13
+
14
+ ## [2.1.0]
15
+
16
+ ### Added
17
+
18
+ - Add `Keyring` and `KeyringClass` types ([#201](https://github.com/MetaMask/accounts/pull/201)), ([#205](https://github.com/MetaMask/accounts/pull/205))
19
+ - The two types have been migrated from `@metamask/utils`.
20
+ - 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.
21
+
10
22
  ## [2.0.0]
11
23
 
12
24
  ### Changed
@@ -51,7 +63,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
51
63
  - This new version fixes a bug with CJS re-exports.
52
64
  - Initial release ([#24](https://github.com/MetaMask/accounts/pull/24))
53
65
 
54
- [Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@2.0.0...HEAD
66
+ [Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@2.1.0...HEAD
67
+ [2.1.0]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@2.0.0...@metamask/keyring-utils@2.1.0
55
68
  [2.0.0]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@1.3.1...@metamask/keyring-utils@2.0.0
56
69
  [1.3.1]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-utils@1.3.0...@metamask/keyring-utils@1.3.1
57
70
  [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.0-44b05d1",
4
4
  "description": "MetaMask Keyring utils",
5
5
  "keywords": [
6
6
  "metamask",
@@ -45,7 +45,7 @@
45
45
  "test:watch": "jest --watch"
46
46
  },
47
47
  "dependencies": {
48
- "@ethereumjs/tx": "^4.2.0",
48
+ "@ethereumjs/tx": "^5.4.0",
49
49
  "@metamask/superstruct": "^3.1.0",
50
50
  "@metamask/utils": "^11.1.0",
51
51
  "bitcoin-address-validation": "^2.2.3"