Skip to content

chore: regenerate yarn.lock and bump#785

Merged
NeOMakinG merged 2 commits intomasterfrom
new-patch
Jan 17, 2026
Merged

chore: regenerate yarn.lock and bump#785
NeOMakinG merged 2 commits intomasterfrom
new-patch

Conversation

@NeOMakinG
Copy link
Contributor

@NeOMakinG NeOMakinG commented Jan 16, 2026

Oupsy, forgot to yarn before publishing, bumping again!

Summary by CodeRabbit

  • Chores
    • Released patch version 1.62.41 with dependency updates across all packages.

✏️ Tip: You can customize this high-level summary in your review settings.

@NeOMakinG NeOMakinG requested a review from a team as a code owner January 16, 2026 23:25
@vercel
Copy link

vercel bot commented Jan 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
hdwallet Ready Ready Preview, Comment Jan 17, 2026 0:07am

Request Review

@coderabbitai
Copy link

coderabbitai bot commented Jan 16, 2026

📝 Walkthrough

Walkthrough

This PR performs a version bump of the hdwallet monorepo from 1.62.40 to 1.62.41, updating all package.json files across the workspace and aligning all inter-package dependencies to the new version.

Changes

Cohort / File(s) Summary
Monorepo root configuration
lerna.json
Version bumped from 1.62.40 to 1.62.41
Core hdwallet package
packages/hdwallet-core/package.json
Version bumped from 1.62.40 to 1.62.41
Hdwallet vendors and implementations
packages/hdwallet-coinbase/package.json, packages/hdwallet-gridplus/package.json, packages/hdwallet-keplr/package.json, packages/hdwallet-metamask-multichain/package.json, packages/hdwallet-native/package.json, packages/hdwallet-phantom/package.json, packages/hdwallet-portis/package.json, packages/hdwallet-vultisig/package.json, packages/hdwallet-walletconnect/package.json, packages/hdwallet-walletconnectV2/package.json
Version bumped to 1.62.41; dependency @shapeshiftoss/hdwallet-core updated from ^1.62.40 to ^1.62.41
Hdwallet Keepkey variants
packages/hdwallet-keepkey/package.json, packages/hdwallet-keepkey-chromeusb/package.json, packages/hdwallet-keepkey-electron/package.json, packages/hdwallet-keepkey-nodehid/package.json, packages/hdwallet-keepkey-nodewebusb/package.json, packages/hdwallet-keepkey-tcp/package.json, packages/hdwallet-keepkey-webusb/package.json
Version bumped to 1.62.41; @shapeshiftoss/hdwallet-core and/or @shapeshiftoss/hdwallet-keepkey dependencies updated to ^1.62.41
Hdwallet Ledger variants
packages/hdwallet-ledger/package.json, packages/hdwallet-ledger-webhid/package.json, packages/hdwallet-ledger-webusb/package.json
Version bumped to 1.62.41; @shapeshiftoss/hdwallet-core and/or @shapeshiftoss/hdwallet-ledger dependencies updated to ^1.62.41
Hdwallet Trezor variants
packages/hdwallet-trezor/package.json, packages/hdwallet-trezor-connect/package.json
Version bumped to 1.62.41; @shapeshiftoss/hdwallet-core and/or @shapeshiftoss/hdwallet-trezor dependencies updated to ^1.62.41
Hdwallet Native Vault
packages/hdwallet-native-vault/package.json
Version bumped to 1.62.41; dependency @shapeshiftoss/hdwallet-native updated from ^1.62.40 to ^1.62.41
Example and integration workspaces
examples/sandbox/package.json, integration/package.json
Version bumped to 1.62.41; all hdwallet dependencies updated from ^1.62.40 to ^1.62.41

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested reviewers

  • gomesalexandre

Poem

🐰 Version bumps across the warren,
From 1.62.40, oh what a daireau!
Forty becomes forty-one,
Dependencies dancing, the versioning's done.
A patch release, so clean and so bright! 🎉

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 10.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: regenerate yarn.lock and bump' accurately describes the main changes in the PR: regenerating yarn.lock and bumping versions from 1.62.40 to 1.62.41 across all package files.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch new-patch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
packages/hdwallet-native/src/native.ts (1)

493-505: Reset tonMasterKey on wipe/loadDevice to avoid stale key reuse.

If loadDevice is called without tonMasterKey (or after wipe), the previous TON key can remain and reinitialize TON with the wrong wallet. Wipe should also revoke TON key material.

🔒 Proposed fix
 async wipe(): Promise<void> {
   const oldSecp256k1MasterKey = this.#secp256k1MasterKey;
   const oldEd25519MasterKey = this.#ed25519MasterKey;
+  const oldTonMasterKey = this.#tonMasterKey;
 
   this.#initialized = false;
   this.#secp256k1MasterKey = undefined;
   this.#ed25519MasterKey = undefined;
+  this.#tonMasterKey = undefined;
 
   super.solanaWipe();
   super.suiWipe();
   super.nearWipe();
   super.tonWipe();
@@
   (await oldSecp256k1MasterKey)?.revoke?.();
   (await oldEd25519MasterKey)?.revoke?.();
+  (await oldTonMasterKey)?.revoke?.();
 }
@@
-    if (tonMasterKeyResult) {
-      this.#tonMasterKey = Promise.resolve(tonMasterKeyResult);
-    }
+    this.#tonMasterKey = tonMasterKeyResult ? Promise.resolve(tonMasterKeyResult) : undefined;

Also applies to: 596-617

🤖 Fix all issues with AI agents
In `@packages/hdwallet-core/src/ton.ts`:
- Around line 9-26: The TonSignTx/TonRawMessage types don't match native
behavior: update the docs/types so message is explicitly the UTF-8 JSON string
matching TonTransactionParams (not a BOC Uint8Array) and specify the expected
encoding for payload and stateInit (e.g., base64-encoded BOC strings or another
agreed encoding) or change their types accordingly; revise comments on
TonSignTx.message, TonRawMessage.payload and TonRawMessage.stateInit to state
the exact encoding/shape and reference TonTransactionParams and the
TonRawMessage interface names so callers and the native implementation agree.

In `@packages/hdwallet-native/src/adapter.ts`:
- Around line 10-22: The comment block describing MASTER KEY TYPES incorrectly
states TON uses PBKDF2 with "TON default seed" and 100,000 iterations; update
the comment near the tonMasterKey description in the adapter.ts comment header
to accurately state that the native engine's TON seed flow uses standard BIP‑39
derivation (matching Trust Wallet compatibility) rather than PBKDF2, and remove
or clarify the PBKDF2 text so integrators are not misled.
🧹 Nitpick comments (2)
packages/hdwallet-gridplus/src/gridplus.ts (1)

240-258: Logic is correct; minor redundancy in the condition.

The check on line 247 (addressNList[0] === 0x80000000 + 44) is redundant since describeETHPath already validates this on line 27—if isKnown is true, the purpose must be 44'. The check is harmless but could be simplified.

♻️ Optional simplification
-  if (addressNList[0] === 0x80000000 + 44) {
-    addressNList[4] += 1;
-    return {
-      ...msg,
-      addressNList,
-      hardenedPath: core.hardenedPath(addressNList),
-      relPath: core.relativePath(addressNList),
-    };
-  }
-
-  return undefined;
+  addressNList[4] += 1;
+  return {
+    ...msg,
+    addressNList,
+    hardenedPath: core.hardenedPath(addressNList),
+    relPath: core.relativePath(addressNList),
+  };
packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts (1)

45-61: Clarify intentional PBKDF2 parameters for TON derivation.
A short inline note will prevent future “spec mismatch” refactors.

♻️ Suggested doc tweak
   async toTonSeed(password?: string): Promise<TonSeed> {
     const mnemonic = this.#mnemonic;
+    // NOTE: Intentionally uses standard BIP-39 PBKDF2 params for TON
+    // compatibility with Trust Wallet-derived addresses.
     const salt = new TextEncoder().encode(`mnemonic${password ?? ""}`.normalize("NFKD"));

Based on learnings, this behavior is intentional for cross-wallet compatibility.

Regenerated yarn.lock from public npm registry after TON blockchain
support was added in 1.62.40.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@NeOMakinG NeOMakinG enabled auto-merge (squash) January 17, 2026 00:15
@NeOMakinG NeOMakinG disabled auto-merge January 17, 2026 00:16
@NeOMakinG NeOMakinG merged commit dbc7f08 into master Jan 17, 2026
5 checks passed
@NeOMakinG NeOMakinG deleted the new-patch branch January 17, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant