@metamask/accounts-controller 38.1.0 → 38.1.1
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 +24 -17
- package/package.json +3 -3
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
|
+
## [38.1.1]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- 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))
|
|
15
|
+
|
|
10
16
|
## [38.1.0]
|
|
11
17
|
|
|
12
18
|
### Changed
|
|
@@ -86,8 +92,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
86
92
|
- Add `accountIdByAddress` mapping to state ([#7893](https://github.com/MetaMask/core/pull/7893))
|
|
87
93
|
- This state was added to improve lookup times for an account by address from O(n) to O(1).
|
|
88
94
|
- `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
|
|
95
|
+
- Add logging capabilities ([#8118](https://github.com/MetaMask/core/pull/8118))
|
|
96
|
+
- Expose missing public `AccountsController` methods through its messenger ([#7976](https://github.com/MetaMask/core/pull/7976))
|
|
91
97
|
- The following actions are now available:
|
|
92
98
|
- `AccountController:loadBackupAction`
|
|
93
99
|
- Corresponding action types (e.g. `AccountControllerLoadBackupAction`) are available as well.
|
|
@@ -232,7 +238,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
232
238
|
|
|
233
239
|
### Added
|
|
234
240
|
|
|
235
|
-
- Use new typed `KeyringAccount.options` for BIP-44 compatible accounts ([#6122](https://github.com/MetaMask/core/pull/6122)
|
|
241
|
+
- 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
242
|
|
|
237
243
|
### Changed
|
|
238
244
|
|
|
@@ -303,7 +309,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
303
309
|
|
|
304
310
|
### Fixed
|
|
305
311
|
|
|
306
|
-
- `@metamask/network-controller` peer dependency is no longer also a direct dependency ([#5464](https://github.com/MetaMask/core/pull/5464))
|
|
312
|
+
- `@metamask/network-controller` peer dependency is no longer also a direct dependency) ([#5464](https://github.com/MetaMask/core/pull/5464))
|
|
307
313
|
|
|
308
314
|
## [26.1.0]
|
|
309
315
|
|
|
@@ -341,7 +347,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
341
347
|
|
|
342
348
|
- Bump `@metamask/keyring-controller"` from `^19.1.0` to `^19.2.0` ([#5357](https://github.com/MetaMask/core/pull/5357))
|
|
343
349
|
- 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
|
|
350
|
+
- 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
351
|
- Bump `@metamask/eth-snap-keyring` from `^10.0.0` to `^11.1.0` ([#5366](https://github.com/MetaMask/core/pull/5366))
|
|
346
352
|
- Bump `@metamask/utils` from `^11.1.0` to `^11.2.0` ([#5301](https://github.com/MetaMask/core/pull/5301))
|
|
347
353
|
|
|
@@ -354,7 +360,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
354
360
|
|
|
355
361
|
### Changed
|
|
356
362
|
|
|
357
|
-
- **BREAKING:** Add `@metamask/network-controller@^22.0.0` peer dependency ([#5215](https://github.com/MetaMask/core/pull/5215)
|
|
363
|
+
- **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
364
|
|
|
359
365
|
## [23.1.0]
|
|
360
366
|
|
|
@@ -375,7 +381,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
375
381
|
- **BREAKING:** Bump `@metamask/snaps-controllers` peer dependency from `^9.7.0` to `^9.19.0` ([#5265](https://github.com/MetaMask/core/pull/5265))
|
|
376
382
|
- Bump `@metamask/keyring-api"` from `^16.1.0` to `^17.0.0` ([#5280](https://github.com/MetaMask/core/pull/5280))
|
|
377
383
|
- 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
|
|
384
|
+
- 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
385
|
- Bump `@metamask/snaps-utils` from `^8.9.0` to `^8.10.0` ([#5265](https://github.com/MetaMask/core/pull/5265))
|
|
380
386
|
- Bump `@metamask/utils` from `^11.0.1` to `^11.1.0` ([#5223](https://github.com/MetaMask/core/pull/5223))
|
|
381
387
|
|
|
@@ -394,9 +400,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
394
400
|
### Changed
|
|
395
401
|
|
|
396
402
|
- **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
|
|
403
|
+
- 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))
|
|
404
|
+
- 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))
|
|
405
|
+
- 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
406
|
|
|
401
407
|
## [21.0.2]
|
|
402
408
|
|
|
@@ -416,9 +422,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
416
422
|
|
|
417
423
|
### Changed
|
|
418
424
|
|
|
419
|
-
- **BREAKING:** Add `scopes` field to `KeyringAccount
|
|
425
|
+
- **BREAKING:** Add `scopes` field to `KeyringAccount`, ([#5066](https://github.com/MetaMask/core/pull/5066), [#5136](https://github.com/MetaMask/core/pull/5136))
|
|
420
426
|
- 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
|
|
427
|
+
- 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
428
|
- Bump `@metamask/utils` to `^11.0.1` ([#5080](https://github.com/MetaMask/core/pull/5080))
|
|
423
429
|
- Bump `@metamask/rpc-errors` to `^7.0.2` ([#5080](https://github.com/MetaMask/core/pull/5080))
|
|
424
430
|
|
|
@@ -450,7 +456,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
450
456
|
|
|
451
457
|
### Changed
|
|
452
458
|
|
|
453
|
-
- **BREAKING:** Bump peer dependency `@metamask/keyring-controller` from `^18.0.0` to `^19.0.0` ([#4915](https://github.com/MetaMask/core/pull/
|
|
459
|
+
- **BREAKING:** Bump peer dependency `@metamask/keyring-controller` from `^18.0.0` to `^19.0.0` ([#4915](https://github.com/MetaMask/core/pull/4915))
|
|
454
460
|
- **BREAKING:** Bump `@metamask/keyring-api` from `^8.1.3` to `^10.1.0` ([#4948](https://github.com/MetaMask/core/pull/4948))
|
|
455
461
|
- If you are depending on `@metamask/providers` directly, you will need to upgrade to `18.1.0`.
|
|
456
462
|
- Bump `@metamask/eth-snap-keyring` from `^4.3.6` to `^5.0.1` ([#4948](https://github.com/MetaMask/core/pull/4948))
|
|
@@ -475,7 +481,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
475
481
|
|
|
476
482
|
### Changed
|
|
477
483
|
|
|
478
|
-
- Bump accounts related packages ([#4713](https://github.com/MetaMask/core/pull/4713)
|
|
484
|
+
- Bump accounts related packages, ([#4713](https://github.com/MetaMask/core/pull/4713), [#4728](https://github.com/MetaMask/core/pull/4728))
|
|
479
485
|
- Those packages are now built slightly differently and are part of the [accounts monorepo](https://github.com/MetaMask/accounts).
|
|
480
486
|
- Bump `@metamask/keyring-api` from `^8.1.0` to `^8.1.4`
|
|
481
487
|
- Bump `@metamask/eth-snap-keyring` from `^4.3.3` to `^4.3.6`
|
|
@@ -499,7 +505,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
499
505
|
["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
|
|
500
506
|
["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
|
|
501
507
|
All of the ATTW checks now pass.
|
|
502
|
-
- Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648))
|
|
508
|
+
- Remove chunk files. ([#4648](https://github.com/MetaMask/core/pull/4648))
|
|
503
509
|
- Previously, the build tool we used to generate JavaScript files extracted
|
|
504
510
|
common code to "chunk" files. While this was intended to make this package
|
|
505
511
|
more tree-shakeable, it also made debugging more difficult for our
|
|
@@ -509,7 +515,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
509
515
|
|
|
510
516
|
### Added
|
|
511
517
|
|
|
512
|
-
- Add event `AccountsController:accountRenamed` and export corresponding event type `AccountsControllerAccountRenamedEvent
|
|
518
|
+
- 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
519
|
- Add new `nameLastUpdatedAt` timestamp to account's metadata ([#4589](https://github.com/MetaMask/core/pull/4589))
|
|
514
520
|
|
|
515
521
|
### Changed
|
|
@@ -793,7 +799,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
793
799
|
|
|
794
800
|
- Initial release ([#1637](https://github.com/MetaMask/core/pull/1637))
|
|
795
801
|
|
|
796
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@38.1.
|
|
802
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@38.1.1...HEAD
|
|
803
|
+
[38.1.1]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@38.1.0...@metamask/accounts-controller@38.1.1
|
|
797
804
|
[38.1.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@38.0.0...@metamask/accounts-controller@38.1.0
|
|
798
805
|
[38.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@37.2.0...@metamask/accounts-controller@38.0.0
|
|
799
806
|
[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.1",
|
|
4
4
|
"description": "Manages internal accounts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ethereum",
|
|
@@ -62,7 +62,7 @@
|
|
|
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",
|