Releases: MetaMask/toprf-secure-backup
Releases · MetaMask/toprf-secure-backup
Release list
17.0.0
@metamask/toprf-secure-backup 1.1.0
Changed
changeEncKeyaccepts an optionaltransformDataItemscallback ((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
@metamask/toprf-secure-backup 1.0.0
Added
- Add
EncAccountDataTypeenum for categorizing secret data (e.g.,PrimarySrp,ImportedSrp,ImportedPrivateKey). (#157) - Add
updateSecretDataItemandbatchUpdateSecretDataItemsmethods toToprfSecureBackupto update fields for existing items. (#157)
Changed
- Breaking:
fetchAllSecretDataItemsnow returnsFetchedSecretDataItem[]instead ofUint8Array[], includingdata,itemId,version,dataType, andcreatedAtfields. (#157) - Breaking:
batchAddSecretDataItemsparametersecretDatachanged fromUint8Array[]to{ data: Uint8Array, itemId?: string, version?: 'v1' | 'v2', dataType?: EncAccountDataType }[]. (#157) addSecretDataItemnow accepts optionalitemId,version, anddataTypeparameters. (#157)
15.0.0
@metamask/toprf-secure-backup 0.11.0
Added
- added
getNodeDetailsmethod toToprfSecureBackupclass. (#155)- we can use this method to fetch the node details required for the other public requests.
14.0.0
@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
@metamask/toprf-secure-backup 0.10.0
Added
- feat: Extend auth token error handling to
fetchAuthPubKeyandresetRateLimits(#150)
12.0.0
@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
10.0.0
9.0.0
8.0.0
@metamask/toprf-secure-backup 0.6.0
Added
- Breaking: Add
fetchMetadataAccessCredsfunction option inToprfSecureBackupclass 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)