@hawksightco/hawk-sdk 1.2.79 → 1.2.80

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.
@@ -304,7 +304,7 @@ class IyfMainIxGenerator {
304
304
  .methods
305
305
  .jupiterRouteIx(routePlan, quotedOutAmount, p_slippageBps, p_platformFeeBps)
306
306
  .accounts({
307
- authority: addresses_1.HS_AUTHORITY,
307
+ authority: isWalletSigner ? userWallet : addresses_1.HS_AUTHORITY,
308
308
  tokenProgram: addresses_1.TOKEN_PROGRAM_ID,
309
309
  userPda,
310
310
  userSourceTokenAccount: sourceTokenAccount,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.2.79",
3
+ "version": "1.2.80",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",