@swapkit/core 5.0.3 → 5.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @swapkit/core
2
2
 
3
+ ## 5.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1c3d941`](https://github.com/swapkit/sdk/commit/1c3d941eecfe123aa29fd34cd710f848fcb1122f) Thanks [@ice-chillios](https://github.com/ice-chillios)! - **Derived addresses change for a non-zero index or an explicit derivation path.** Index 0 without a path is unchanged everywhere, which is why this ships as a minor rather than a major. EVM (every chain, including the OP-stack ones) declared `derivationPath` and `index` and read neither, so every phrase collapsed onto `m/44'/60'/0'/0/0`. Sui and Ripple had no path or index parameter at all and always used their library's default path. Cardano applied `index` to the address index but never read `derivationPath` and hardcoded the account to 0. Zcash overwrote the last slot of an explicit path with `index`. All of these now honour supported values, so the address returned for a non-zero index — or for an explicit path — differs from earlier versions. Nothing is lost: the funds stay at the previous address, which is unchanged and still reachable by requesting index 0 with no path. Cached addresses, saved address books, deposit instructions and in-flight quotes built against the old behaviour will no longer match, so audit anything that persisted an address before upgrading. (via @swapkit/helpers@5.2.0)
8
+ - Update generated token lists. (via @swapkit/helpers@5.2.0)
9
+
3
10
  ## 5.0.3
4
11
 
5
12
  ### Patch Changes
@@ -4525,7 +4525,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
4525
4525
  };
4526
4526
  XRP: ChainWallet<Chain.Ripple> & {
4527
4527
  broadcastTransaction: (signedTxHex: string) => Promise<string>;
4528
- createSigner: (phrase: string) => import("@swapkit/helpers").ChainSigner<import("xrpl").Transaction, {
4528
+ createSigner: (phrase: string, derivationPath?: string) => import("@swapkit/helpers").ChainSigner<import("xrpl").Transaction, {
4529
4529
  tx_blob: string;
4530
4530
  hash: string;
4531
4531
  }>;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "author": "swapkit-dev",
3
3
  "dependencies": {
4
- "@swapkit/helpers": "5.1.0",
5
- "@swapkit/plugins": "5.0.3",
6
- "@swapkit/toolboxes": "5.1.2",
7
- "@swapkit/wallet-core": "5.0.3"
4
+ "@swapkit/helpers": "5.2.0",
5
+ "@swapkit/plugins": "5.0.4",
6
+ "@swapkit/toolboxes": "5.2.0",
7
+ "@swapkit/wallet-core": "5.0.4"
8
8
  },
9
9
  "description": "SwapKit - Core",
10
10
  "devDependencies": {
@@ -34,5 +34,5 @@
34
34
  "type-check:go": "tsgo"
35
35
  },
36
36
  "type": "module",
37
- "version": "5.0.3"
37
+ "version": "5.0.4"
38
38
  }