@metamask/accounts-controller 38.1.0 → 38.1.2
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 +31 -17
- package/package.json +4 -4
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
|
+
## [38.1.2]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bump `@metamask/keyring-controller` from `^25.5.0` to `^26.0.0` ([#8912](https://github.com/MetaMask/core/pull/8912))
|
|
15
|
+
|
|
16
|
+
## [38.1.1]
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Bump `@metamask/network-controller` from `^31.0.0` to `^32.0.0` ([#8765](https://github.com/MetaMask/core/pull/8765), [#8774](https://github.com/MetaMask/core/pull/8774))
|
|
21
|
+
|
|
10
22
|
## [38.1.0]
|
|
11
23
|
|
|
12
24
|
### Changed
|
|
@@ -86,8 +98,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
86
98
|
- Add `accountIdByAddress` mapping to state ([#7893](https://github.com/MetaMask/core/pull/7893))
|
|
87
99
|
- This state was added to improve lookup times for an account by address from O(n) to O(1).
|
|
88
100
|
- `getAccountByAddress` also leverages this new map, thus, should be slightly faster too.
|
|
89
|
-
- Add logging capabilities ([#8118](https://github.com/MetaMask/core/pull/8118
|
|
90
|
-
- Expose missing public `AccountsController` methods through its messenger ([#7976](https://github.com/MetaMask/core/pull/7976
|
|
101
|
+
- Add logging capabilities ([#8118](https://github.com/MetaMask/core/pull/8118))
|
|
102
|
+
- Expose missing public `AccountsController` methods through its messenger ([#7976](https://github.com/MetaMask/core/pull/7976))
|
|
91
103
|
- The following actions are now available:
|
|
92
104
|
- `AccountController:loadBackupAction`
|
|
93
105
|
- Corresponding action types (e.g. `AccountControllerLoadBackupAction`) are available as well.
|
|
@@ -232,7 +244,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
232
244
|
|
|
233
245
|
### Added
|
|
234
246
|
|
|
235
|
-
- Use new typed `KeyringAccount.options` for BIP-44 compatible accounts ([#6122](https://github.com/MetaMask/core/pull/6122)
|
|
247
|
+
- Use new typed `KeyringAccount.options` for BIP-44 compatible accounts, ([#6122](https://github.com/MetaMask/core/pull/6122), [#6147](https://github.com/MetaMask/core/pull/6147))
|
|
236
248
|
|
|
237
249
|
### Changed
|
|
238
250
|
|
|
@@ -303,7 +315,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
303
315
|
|
|
304
316
|
### Fixed
|
|
305
317
|
|
|
306
|
-
- `@metamask/network-controller` peer dependency is no longer also a direct dependency ([#5464](https://github.com/MetaMask/core/pull/5464))
|
|
318
|
+
- `@metamask/network-controller` peer dependency is no longer also a direct dependency) ([#5464](https://github.com/MetaMask/core/pull/5464))
|
|
307
319
|
|
|
308
320
|
## [26.1.0]
|
|
309
321
|
|
|
@@ -341,7 +353,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
341
353
|
|
|
342
354
|
- Bump `@metamask/keyring-controller"` from `^19.1.0` to `^19.2.0` ([#5357](https://github.com/MetaMask/core/pull/5357))
|
|
343
355
|
- Bump `@metamask/keyring-api"` from `^17.0.0` to `^17.2.0` ([#5366](https://github.com/MetaMask/core/pull/5366))
|
|
344
|
-
- Bump `@metamask/keyring-internal-api` from `^4.0.1` to `^4.0.3
|
|
356
|
+
- Bump `@metamask/keyring-internal-api` from `^4.0.1` to `^4.0.3`, ([#5356](https://github.com/MetaMask/core/pull/5356), [#5366](https://github.com/MetaMask/core/pull/5366))
|
|
345
357
|
- Bump `@metamask/eth-snap-keyring` from `^10.0.0` to `^11.1.0` ([#5366](https://github.com/MetaMask/core/pull/5366))
|
|
346
358
|
- Bump `@metamask/utils` from `^11.1.0` to `^11.2.0` ([#5301](https://github.com/MetaMask/core/pull/5301))
|
|
347
359
|
|
|
@@ -354,7 +366,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
354
366
|
|
|
355
367
|
### Changed
|
|
356
368
|
|
|
357
|
-
- **BREAKING:** Add `@metamask/network-controller@^22.0.0` peer dependency ([#5215](https://github.com/MetaMask/core/pull/5215)
|
|
369
|
+
- **BREAKING:** Add `@metamask/network-controller@^22.0.0` peer dependency, ([#5215](https://github.com/MetaMask/core/pull/5215), [#5327](https://github.com/MetaMask/core/pull/5327))
|
|
358
370
|
|
|
359
371
|
## [23.1.0]
|
|
360
372
|
|
|
@@ -375,7 +387,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
375
387
|
- **BREAKING:** Bump `@metamask/snaps-controllers` peer dependency from `^9.7.0` to `^9.19.0` ([#5265](https://github.com/MetaMask/core/pull/5265))
|
|
376
388
|
- Bump `@metamask/keyring-api"` from `^16.1.0` to `^17.0.0` ([#5280](https://github.com/MetaMask/core/pull/5280))
|
|
377
389
|
- Bump `@metamask/eth-snap-keyring` from `^9.1.1` to `^10.0.0` ([#5280](https://github.com/MetaMask/core/pull/5280))
|
|
378
|
-
- Bump `@metamask/snaps-sdk` from `^6.7.0` to `^6.17.1
|
|
390
|
+
- Bump `@metamask/snaps-sdk` from `^6.7.0` to `^6.17.1`, ([#5220](https://github.com/MetaMask/core/pull/5220), [#5265](https://github.com/MetaMask/core/pull/5265))
|
|
379
391
|
- Bump `@metamask/snaps-utils` from `^8.9.0` to `^8.10.0` ([#5265](https://github.com/MetaMask/core/pull/5265))
|
|
380
392
|
- Bump `@metamask/utils` from `^11.0.1` to `^11.1.0` ([#5223](https://github.com/MetaMask/core/pull/5223))
|
|
381
393
|
|
|
@@ -394,9 +406,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
394
406
|
### Changed
|
|
395
407
|
|
|
396
408
|
- **BREAKING:** Now requires `SnapKeyring:account{AssetList,Balances,Transactions}Updated` events to be registered on the messenger ([#5190](https://github.com/MetaMask/core/pull/5190))
|
|
397
|
-
- Bump `@metamask/keyring-api` from `^14.0.0` to `^16.1.0
|
|
398
|
-
- Bump `@metamask/keyring-internal-api` from `^2.0.1` to `^4.0.1
|
|
399
|
-
- Bump `@metamask/eth-snap-keyring` from `^8.1.1` to `^9.1.1
|
|
409
|
+
- Bump `@metamask/keyring-api` from `^14.0.0` to `^16.1.0`, ([#5190](https://github.com/MetaMask/core/pull/5190), [#5208](https://github.com/MetaMask/core/pull/5208))
|
|
410
|
+
- Bump `@metamask/keyring-internal-api` from `^2.0.1` to `^4.0.1`, ([#5190](https://github.com/MetaMask/core/pull/5190), [#5208](https://github.com/MetaMask/core/pull/5208))
|
|
411
|
+
- Bump `@metamask/eth-snap-keyring` from `^8.1.1` to `^9.1.1`, ([#5190](https://github.com/MetaMask/core/pull/5190), [#5208](https://github.com/MetaMask/core/pull/5208))
|
|
400
412
|
|
|
401
413
|
## [21.0.2]
|
|
402
414
|
|
|
@@ -416,9 +428,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
416
428
|
|
|
417
429
|
### Changed
|
|
418
430
|
|
|
419
|
-
- **BREAKING:** Add `scopes` field to `KeyringAccount
|
|
431
|
+
- **BREAKING:** Add `scopes` field to `KeyringAccount`, ([#5066](https://github.com/MetaMask/core/pull/5066), [#5136](https://github.com/MetaMask/core/pull/5136))
|
|
420
432
|
- This field is now required and will be used to identify the supported chains (using CAIP-2 chain IDs) for every accounts.
|
|
421
|
-
- Bump `@metamask/base-controller` from `^7.0.0` to `^7.1.1
|
|
433
|
+
- Bump `@metamask/base-controller` from `^7.0.0` to `^7.1.1`, ([#5079](https://github.com/MetaMask/core/pull/5079), [#5135](https://github.com/MetaMask/core/pull/5135))
|
|
422
434
|
- Bump `@metamask/utils` to `^11.0.1` ([#5080](https://github.com/MetaMask/core/pull/5080))
|
|
423
435
|
- Bump `@metamask/rpc-errors` to `^7.0.2` ([#5080](https://github.com/MetaMask/core/pull/5080))
|
|
424
436
|
|
|
@@ -450,7 +462,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
450
462
|
|
|
451
463
|
### Changed
|
|
452
464
|
|
|
453
|
-
- **BREAKING:** Bump peer dependency `@metamask/keyring-controller` from `^18.0.0` to `^19.0.0` ([#4915](https://github.com/MetaMask/core/pull/
|
|
465
|
+
- **BREAKING:** Bump peer dependency `@metamask/keyring-controller` from `^18.0.0` to `^19.0.0` ([#4915](https://github.com/MetaMask/core/pull/4915))
|
|
454
466
|
- **BREAKING:** Bump `@metamask/keyring-api` from `^8.1.3` to `^10.1.0` ([#4948](https://github.com/MetaMask/core/pull/4948))
|
|
455
467
|
- If you are depending on `@metamask/providers` directly, you will need to upgrade to `18.1.0`.
|
|
456
468
|
- Bump `@metamask/eth-snap-keyring` from `^4.3.6` to `^5.0.1` ([#4948](https://github.com/MetaMask/core/pull/4948))
|
|
@@ -475,7 +487,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
475
487
|
|
|
476
488
|
### Changed
|
|
477
489
|
|
|
478
|
-
- Bump accounts related packages ([#4713](https://github.com/MetaMask/core/pull/4713)
|
|
490
|
+
- Bump accounts related packages, ([#4713](https://github.com/MetaMask/core/pull/4713), [#4728](https://github.com/MetaMask/core/pull/4728))
|
|
479
491
|
- Those packages are now built slightly differently and are part of the [accounts monorepo](https://github.com/MetaMask/accounts).
|
|
480
492
|
- Bump `@metamask/keyring-api` from `^8.1.0` to `^8.1.4`
|
|
481
493
|
- Bump `@metamask/eth-snap-keyring` from `^4.3.3` to `^4.3.6`
|
|
@@ -499,7 +511,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
499
511
|
["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
|
|
500
512
|
["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
|
|
501
513
|
All of the ATTW checks now pass.
|
|
502
|
-
- Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648))
|
|
514
|
+
- Remove chunk files. ([#4648](https://github.com/MetaMask/core/pull/4648))
|
|
503
515
|
- Previously, the build tool we used to generate JavaScript files extracted
|
|
504
516
|
common code to "chunk" files. While this was intended to make this package
|
|
505
517
|
more tree-shakeable, it also made debugging more difficult for our
|
|
@@ -509,7 +521,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
509
521
|
|
|
510
522
|
### Added
|
|
511
523
|
|
|
512
|
-
- Add event `AccountsController:accountRenamed` and export corresponding event type `AccountsControllerAccountRenamedEvent
|
|
524
|
+
- Add event `AccountsController:accountRenamed` and export corresponding event type `AccountsControllerAccountRenamedEvent`, ([#4664](https://github.com/MetaMask/core/pull/4664), [#4660](https://github.com/MetaMask/core/pull/4660))
|
|
513
525
|
- Add new `nameLastUpdatedAt` timestamp to account's metadata ([#4589](https://github.com/MetaMask/core/pull/4589))
|
|
514
526
|
|
|
515
527
|
### Changed
|
|
@@ -793,7 +805,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
793
805
|
|
|
794
806
|
- Initial release ([#1637](https://github.com/MetaMask/core/pull/1637))
|
|
795
807
|
|
|
796
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@38.1.
|
|
808
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@38.1.2...HEAD
|
|
809
|
+
[38.1.2]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@38.1.1...@metamask/accounts-controller@38.1.2
|
|
810
|
+
[38.1.1]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@38.1.0...@metamask/accounts-controller@38.1.1
|
|
797
811
|
[38.1.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@38.0.0...@metamask/accounts-controller@38.1.0
|
|
798
812
|
[38.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@37.2.0...@metamask/accounts-controller@38.0.0
|
|
799
813
|
[37.2.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@37.1.1...@metamask/accounts-controller@37.2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/accounts-controller",
|
|
3
|
-
"version": "38.1.
|
|
3
|
+
"version": "38.1.2",
|
|
4
4
|
"description": "Manages internal accounts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ethereum",
|
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"@metamask/base-controller": "^9.1.0",
|
|
58
58
|
"@metamask/eth-snap-keyring": "^22.0.1",
|
|
59
59
|
"@metamask/keyring-api": "^23.1.0",
|
|
60
|
-
"@metamask/keyring-controller": "^
|
|
60
|
+
"@metamask/keyring-controller": "^26.0.0",
|
|
61
61
|
"@metamask/keyring-internal-api": "^11.0.1",
|
|
62
62
|
"@metamask/keyring-sdk": "^2.1.1",
|
|
63
63
|
"@metamask/keyring-utils": "^3.2.1",
|
|
64
64
|
"@metamask/messenger": "^1.2.0",
|
|
65
|
-
"@metamask/network-controller": "^
|
|
65
|
+
"@metamask/network-controller": "^32.0.0",
|
|
66
66
|
"@metamask/superstruct": "^3.1.0",
|
|
67
67
|
"@metamask/utils": "^11.9.0",
|
|
68
68
|
"deepmerge": "^4.2.2",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@metamask/auto-changelog": "^6.1.0",
|
|
76
|
-
"@metamask/controller-utils": "^12.
|
|
76
|
+
"@metamask/controller-utils": "^12.1.0",
|
|
77
77
|
"@metamask/providers": "^22.1.0",
|
|
78
78
|
"@ts-bridge/cli": "^0.6.4",
|
|
79
79
|
"@types/jest": "^29.5.14",
|