Skip to content

Releases: MetaMask/toprf-secure-backup

17.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Jun 13:20
1b59734

@metamask/toprf-secure-backup 1.1.0

Changed

  • changeEncKey accepts an optional transformDataItems callback ((items: FetchedSecretDataItem[]) => SecretDataItemInput[]); the SDK fetches inside the metadata lock and passes items to the callback for sorting before re-insertion, preventing data loss from concurrent writes (#160)

16.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Jan 14:52
e66e868

@metamask/toprf-secure-backup 1.0.0

Added

  • Add EncAccountDataType enum for categorizing secret data (e.g., PrimarySrp, ImportedSrp, ImportedPrivateKey). (#157)
  • Add updateSecretDataItem and batchUpdateSecretDataItems methods to ToprfSecureBackup to update fields for existing items. (#157)

Changed

  • Breaking: fetchAllSecretDataItems now returns FetchedSecretDataItem[] instead of Uint8Array[], including data, itemId, version, dataType, and createdAt fields. (#157)
  • Breaking: batchAddSecretDataItems parameter secretData changed from Uint8Array[] to { data: Uint8Array, itemId?: string, version?: 'v1' | 'v2', dataType?: EncAccountDataType }[]. (#157)
  • addSecretDataItem now accepts optional itemId, version, and dataType parameters. (#157)

15.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 00:41
0127a80

@metamask/toprf-secure-backup 0.11.0

Added

  • added getNodeDetails method to ToprfSecureBackup class. (#155)
    • we can use this method to fetch the node details required for the other public requests.

14.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 06:37
a08702b

@metamask/toprf-secure-backup 0.10.1

Changed

  • removed node-details fetch call from the constructor. (#153)
    • we should not start calling to the external endpoints until user gives consent.

13.0.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 06:55
ef0ed1f

@metamask/toprf-secure-backup 0.10.0

Added

  • feat: Extend auth token error handling to fetchAuthPubKey and resetRateLimits (#150)

12.0.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 06:05
70e5aef

@metamask/toprf-secure-backup 0.9.0

Added

  • feat: Add auth token error handling (expired and invalid) to TOPRF eval request in recoverTOPRFSeed (#147)

11.0.0

Choose a tag to compare

@github-actions github-actions released this 17 Sep 07:19
a6ef1ee

@metamask/auth-network-utils 0.4.0

Changed

  • chore: dep updates (#143)

@metamask/toprf-secure-backup 0.8.0

Changed

  • chore: dep updates (#143)
  • Updated: @metamask/create-release-branch (#144)

10.0.0

Choose a tag to compare

@github-actions github-actions released this 23 Jul 17:10
b143df4

@metamask/toprf-secure-backup 0.7.1

Changed

  • Changed fetchAuthPubKey response to return a object with both authPubkey and KeyIndex.([#138]#138)

9.0.0

Choose a tag to compare

@github-actions github-actions released this 21 Jul 15:07
761fb9d

@metamask/toprf-secure-backup 0.7.0

Changed

  • Replaced couldNotFetchPassword error with maxKeyChainLengthExceeded in recoverPwEncKey function.([#136]#136)

8.0.0

Choose a tag to compare

@github-actions github-actions released this 11 Jul 17:14
424dda0

@metamask/toprf-secure-backup 0.6.0

Added

  • Breaking: Add fetchMetadataAccessCreds function option in ToprfSecureBackup class constructor.([#134]#134)
    • This function should be used to inject metadata access token for calling metadata apis.

Changed

  • Changed timestamp format from seconds to milliseconds in reset rate limit requests to minimize nonce collision. (#133)