Skip to content

Commit

Permalink
Merge pull request #14 from algorandfoundation/main
Browse files Browse the repository at this point in the history
release: remove superfluous key contexts
  • Loading branch information
HashMapsData2Value authored Oct 15, 2024
2 parents f4126a5 + 17085fe commit b29c3df
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.0.1-canary.1](https://github.com/algorandfoundation/xHD-Wallet-API-ts/compare/v1.0.0...v1.0.1-canary.1) (2024-10-15)


### Bug Fixes

* remove other KeyContexts ([e0c4626](https://github.com/algorandfoundation/xHD-Wallet-API-ts/commit/e0c46267f832a0fd1e2ebef9b20817e333e94505))

# 1.0.0 (2024-10-15)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@algorandfoundation/xhd-wallet-api",
"version": "1.0.0",
"version": "1.0.1-canary.1",
"description": "A Typescript implementation of Algorand ARC-52 extended hierarchical determinstic wallets.",
"exports": {
".": {
Expand Down
8 changes: 2 additions & 6 deletions src/x.hd.wallet.api.crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ import { deriveChildNodePrivate } from './bip32-ed25519';
*/
export enum KeyContext {
Address = 0,
Identity = 1,
Cardano = 2,
TESTVECTOR_1 = 3,
TESTVECTOR_2 = 4,
TESTVECTOR_3 = 5
Identity = 1
}

export enum BIP32DerivationType {
Expand Down Expand Up @@ -341,4 +337,4 @@ export class XHDWalletAPI {

return crypto_generichash(32, new Uint8Array(concatenation))
}
}
}

0 comments on commit b29c3df

Please sign in to comment.