@meshconnect/web-link-sdk 3.2.8 → 3.2.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshconnect/web-link-sdk",
3
- "version": "3.2.8",
3
+ "version": "3.2.9",
4
4
  "description": "A client-side JS library for integrating with Mesh Connect",
5
5
  "exports": "./index.js",
6
6
  "license": "MIT",
@@ -158,7 +158,7 @@ export function createTransferTransaction(config) {
158
158
  })];
159
159
  case 5:
160
160
  if (!((_a = (_b.sent())) === null || _a === void 0 ? void 0 : _a.value.length)) {
161
- instructions.push(createTokenAccountInstruction(toPubkey, toTokenAccount, toPubkey, tokenMintPubkey, tokenProgram));
161
+ instructions.push(createTokenAccountInstruction(fromPubkey, toTokenAccount, toPubkey, tokenMintPubkey, tokenProgram));
162
162
  }
163
163
  if (config.tokenProgram === TOKEN_2022_PROGRAM_ID.toBase58()) {
164
164
  instructions.push(createTransferCheckedInstruction(fromTokenAccount, toTokenAccount, fromPubkey, BigInt(config.amount), config.tokenDecimals, tokenMintPubkey));
@@ -1 +1 @@
1
- export declare const sdkVersion = "3.2.8";
1
+ export declare const sdkVersion = "3.2.9";
package/utils/version.js CHANGED
@@ -1 +1 @@
1
- export var sdkVersion = '3.2.8';
1
+ export var sdkVersion = '3.2.9';