@swapkit/core 5.1.0 → 5.1.1

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.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#424](https://github.com/swapkit/sdk/pull/424) [`3254bf4`](https://github.com/swapkit/sdk/commit/3254bf4d7496289307c2f22edabf627f63479611) Thanks [@hippocampusSK](https://github.com/hippocampusSK)! - Solana: the payer SOL check for SPL transfers that create the recipient's associated token account is now opt-in. Pass `checkPayerBalance: true` to `createTransaction` or `transfer` to get `toolbox_solana_insufficient_balance` instead of a transaction that fails simulation; by default no extra RPC calls are made and the transaction is returned as before. The recipient token account is still created with `CreateIdempotent`. (via @swapkit/toolboxes@6.0.1)
8
+ - [#415](https://github.com/swapkit/sdk/pull/415) [`3e3dca0`](https://github.com/swapkit/sdk/commit/3e3dca0aea7625917a797c1a8183c60a47ae5574) Thanks [@github-actions](https://github.com/apps/github-actions)! - Update generated token lists. (via @swapkit/toolboxes@6.0.1)
9
+
3
10
  ## 5.1.0
4
11
 
5
12
  ### Minor Changes
@@ -4917,7 +4917,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
4917
4917
  SOL: ChainWallet<Chain.Solana> & {
4918
4918
  broadcastTransaction: (transaction: import("@solana/web3.js/lib").Transaction | import("@solana/web3.js/lib").VersionedTransaction) => Promise<string>;
4919
4919
  createKeysForPath: typeof import("@swapkit/toolboxes/solana/toolbox").createKeysForPath;
4920
- createTransaction: ({ recipient, assetValue, memo, isProgramDerivedAddress, sender, recentBlockhash, sweep, }: import("@swapkit/toolboxes/solana/index").SolanaCreateTransactionParams) => Promise<import("@solana/web3.js/lib").Transaction>;
4920
+ createTransaction: ({ checkPayerBalance, recipient, assetValue, memo, isProgramDerivedAddress, sender, recentBlockhash, sweep, }: import("@swapkit/toolboxes/solana/index").SolanaCreateTransactionParams) => Promise<import("@solana/web3.js/lib").Transaction>;
4921
4921
  createTransactionFromInstructions: ({ instructions, }: {
4922
4922
  instructions: import("@solana/web3.js/lib").TransactionInstruction[];
4923
4923
  isProgramDerivedAddress?: boolean;
@@ -4933,7 +4933,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
4933
4933
  getPubkeyFromAddress: (address: string) => import("@solana/web3.js/lib").PublicKey;
4934
4934
  signAndBroadcastTransaction: (transaction: import("@solana/web3.js/lib").Transaction | import("@solana/web3.js/lib").VersionedTransaction) => Promise<string>;
4935
4935
  signTransaction: (transaction: import("@solana/web3.js/lib").Transaction | import("@solana/web3.js/lib").VersionedTransaction) => Promise<import("@solana/web3.js/lib").Transaction | import("@solana/web3.js/lib").VersionedTransaction>;
4936
- transfer: ({ recipient, assetValue, memo, isProgramDerivedAddress, sweep }: import("@swapkit/toolboxes/solana/index").SolanaTransferParams) => Promise<string>;
4936
+ transfer: ({ recipient, assetValue, checkPayerBalance, memo, isProgramDerivedAddress, sweep, }: import("@swapkit/toolboxes/solana/index").SolanaTransferParams) => Promise<string>;
4937
4937
  validateAddress: typeof import("@swapkit/toolboxes/solana/toolbox").validateSolanaAddress;
4938
4938
  };
4939
4939
  SONIC: ChainWallet<Chain.Sonic> & {
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "author": "swapkit-dev",
3
3
  "dependencies": {
4
- "@swapkit/helpers": "6.0.0",
5
- "@swapkit/plugins": "5.0.10",
6
- "@swapkit/toolboxes": "6.0.0",
7
- "@swapkit/wallet-core": "5.0.10"
4
+ "@swapkit/helpers": "6.0.1",
5
+ "@swapkit/plugins": "5.0.11",
6
+ "@swapkit/toolboxes": "6.0.1",
7
+ "@swapkit/wallet-core": "5.0.11"
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.1.0"
37
+ "version": "5.1.1"
38
38
  }