@exodus/key-utils
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.2.0](https://github.com/ExodusMovement/exodus-core/compare/@exodus/key-utils@3.1.0...@exodus/key-utils@3.2.0) (2024-02-27) | ||
### Features | ||
* add `getSeedId` ([#1096](https://github.com/ExodusMovement/exodus-core/issues/1096)) ([f59ecf4](https://github.com/ExodusMovement/exodus-core/commit/f59ecf4bca74265bab0f93191bf22d04e7f1af90)) | ||
# [3.1.0](https://github.com/ExodusMovement/exodus-core/compare/@exodus/key-utils@3.0.0...@exodus/key-utils@3.1.0) (2023-08-23) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@exodus/key-utils", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"author": "Exodus Movement Inc", | ||
@@ -23,10 +23,11 @@ "description": "Utilities to manage derivation paths and key identifier aspects.", | ||
"@exodus/solana-lib": "^1.6.0", | ||
"jest": "^29.3.1" | ||
"bip39": "^3.1.0" | ||
}, | ||
"scripts": { | ||
"test": "jest", | ||
"lint": "eslint . --ignore-path ../../.gitignore", | ||
"test": "run -T jest", | ||
"lint": "run -T eslint . --ignore-path ../../.gitignore", | ||
"lint:fix": "yarn lint --fix" | ||
}, | ||
"dependencies": { | ||
"@exodus/bip32": "^2.1.0", | ||
"@exodus/hdkey": "^2.1.0-exodus.0", | ||
@@ -36,3 +37,3 @@ "bip32-path": "^0.4.2", | ||
}, | ||
"gitHead": "1bb0c52adc466c8a042e3c0a63fa95d30dcde253" | ||
"gitHead": "9307f79f92937aa3d338f9f0bd6168662fcc493f" | ||
} |
export { createGetKeyIdentifier } from './key-identifier' | ||
export * from './derivation-path' | ||
export * from './constants' | ||
export * from './seed' |
@@ -78,12 +78,8 @@ import assert from 'minimalistic-assert' | ||
* Factory to create a getKeyIdentifier function | ||
* | ||
* @param bip44 {number} coin type as defined in SLIP-0044 | ||
* @param [derivationAlgorithm='BIP32'] {string} Can be either 'BIP32' or 'SLIP10' | ||
* @param [keyType='secp256k1'] {string} Can be 'legacy', 'secp256k1', or 'nacl' | ||
* @param [assetName] {string} required when keyType === 'legacy' | ||
* @param [validationRules] | ||
* @param [validationRules.allowedPurposes=[44]] {number[]} | ||
* @param [validationRules.allowedChainIndices=[0]] {number[]} optional | ||
* @param [validationRules.allowMultipleAddresses=false] {boolean} optional | ||
* @param [validationRules.allowXPUB=false] {boolean} optional | ||
* @param {object} options | ||
* @param {number} options.bip44 coin type as defined in SLIP-0044 | ||
* @param {string} [options.derivationAlgorithm] Can be either 'BIP32' or 'SLIP10' | ||
* @param {string} [options.keyType] Can be 'legacy', 'secp256k1', or 'nacl' | ||
* @param {string} [options.assetName] required when keyType === 'legacy' | ||
* @param {{allowedChainIndices: number[], allowedPurposes: number[], allowMultipleAddresses: boolean, allowXPUB: boolean }} [options.validationRules] | ||
*/ | ||
@@ -90,0 +86,0 @@ export function createGetKeyIdentifier({ |
11842
8
4
208
+ Added@exodus/bip32@^2.1.0
+ Added@exodus/bip32@2.1.1(transitive)
+ Addedlodash@4.17.21(transitive)