From e0c46267f832a0fd1e2ebef9b20817e333e94505 Mon Sep 17 00:00:00 2001 From: HashMapsData2Value <83883690+HashMapsData2Value@users.noreply.github.com> Date: Thu, 19 Sep 2024 12:33:47 +0200 Subject: [PATCH 1/2] fix: remove other KeyContexts Removes KeyContexts that are not used. --- x.hd.wallet.api.crypto.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/x.hd.wallet.api.crypto.ts b/x.hd.wallet.api.crypto.ts index 694312c..ed44132 100644 --- a/x.hd.wallet.api.crypto.ts +++ b/x.hd.wallet.api.crypto.ts @@ -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 { @@ -341,4 +337,4 @@ export class XHDWalletAPI { return crypto_generichash(32, new Uint8Array(concatenation)) } -} \ No newline at end of file +} From 17085fef1c444230c1b82081809e650e5f7a7c94 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 15 Oct 2024 17:15:03 +0000 Subject: [PATCH 2/2] chore(release): xHD Wallet API ## [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)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d693c6f..ced7441 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package.json b/package.json index a900bc9..8daf5d6 100644 --- a/package.json +++ b/package.json @@ -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": { ".": {