pump-trader 1.0.6 → 1.0.8

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/dist/index.js CHANGED
@@ -795,8 +795,8 @@ class PumpTrader {
795
795
  DISCRIMINATORS.BUY,
796
796
  u64(baseAmountOut),
797
797
  u64(maxQuoteAmountIn),
798
- // trackVolume = Some(false) to avoid recent overflow path in pump-amm buy accounting
799
- Buffer.from([1, 0])
798
+ // Match Pump UI buy payload tail (1 byte)
799
+ Buffer.from([1])
800
800
  ])
801
801
  });
802
802
  }
package/index.js CHANGED
@@ -1150,7 +1150,7 @@ export class PumpTrader {
1150
1150
  DISCRIMINATORS.BUY,
1151
1151
  u64(baseAmountOut),
1152
1152
  u64(maxQuoteAmountIn),
1153
- Buffer.from([1, 0]) // trackVolume = Some(false)
1153
+ Buffer.from([1])
1154
1154
  ])
1155
1155
  });
1156
1156
  }
package/index.ts CHANGED
@@ -1263,8 +1263,8 @@ export class PumpTrader {
1263
1263
  DISCRIMINATORS.BUY,
1264
1264
  u64(baseAmountOut),
1265
1265
  u64(maxQuoteAmountIn),
1266
- // trackVolume = Some(false) to avoid recent overflow path in pump-amm buy accounting
1267
- Buffer.from([1, 0])
1266
+ // Match Pump UI buy payload tail (1 byte)
1267
+ Buffer.from([1])
1268
1268
  ])
1269
1269
  });
1270
1270
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pump-trader",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "PumpFun 交易库 - 自动判断 Token Program 和内盘/外盘",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",