@hawksightco/hawk-sdk 1.1.2 → 1.1.3

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.
@@ -566,7 +566,7 @@ class RemoveLiquidityBuilder {
566
566
  replaceClaimFeeTokenToSTA() {
567
567
  const index = this.mainIxs.findIndex(mainIx => {
568
568
  const dataWithoutIyfExtensionExecute = mainIx.data.subarray(12);
569
- (0, functions_1.sighashMatch)(dataWithoutIyfExtensionExecute, "MeteoraDlmmClaimFeeAutomation");
569
+ return (0, functions_1.sighashMatch)(dataWithoutIyfExtensionExecute, "MeteoraDlmmClaimFeeAutomation");
570
570
  });
571
571
  if (index === -1) {
572
572
  console.warn(`Warn: claim fee instruction not found! This should not happen if \`shouldClaimAndClose\` is set to true.`);
@@ -586,7 +586,7 @@ class RemoveLiquidityBuilder {
586
586
  replaceClaimRewardToSTA() {
587
587
  const index = this.mainIxs.findIndex(mainIx => {
588
588
  const dataWithoutIyfExtensionExecute = mainIx.data.subarray(12);
589
- (0, functions_1.sighashMatch)(dataWithoutIyfExtensionExecute, "MeteoraDlmmClaimRewardAutomation");
589
+ return (0, functions_1.sighashMatch)(dataWithoutIyfExtensionExecute, "MeteoraDlmmClaimRewardAutomation");
590
590
  });
591
591
  if (index === -1) {
592
592
  console.warn(`Warn: Reward instruction not found! This may happen if pool has no rewards`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawksightco/hawk-sdk",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Hawksight v2 SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/ghabxph/hawk-api-client.git",