@magmaprotocol/magma-clmm-sdk 0.5.25 → 0.5.27

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
@@ -3173,7 +3173,7 @@ var _TransactionUtil = class {
3173
3173
  const tx = new import_transactions.Transaction();
3174
3174
  tx.setGasBudget(1e8);
3175
3175
  tx.setSender(sdk.senderAddress);
3176
- const oneDay = 24 * 60 * 60;
3176
+ const oneDay = 24 * 60 * 60 * 1e3;
3177
3177
  const newLockDuration = Math.ceil((params.newLockEndAt - Date.now()) / oneDay);
3178
3178
  const { integrate } = sdk.sdkOptions;
3179
3179
  const { voting_escrow_id, magma_token } = getPackagerConfigs(sdk.sdkOptions.magma_config);
@@ -9439,7 +9439,7 @@ var GaugeModule = class {
9439
9439
  ;
9440
9440
  value.infos.forEach((info) => {
9441
9441
  if (info.info) {
9442
- if (res.findIndex((position) => position.pos_object_id === info.info.info.fields.position_id) === -1) {
9442
+ if (res.findIndex((position) => position.pos_object_id === info.info.fields.position_id) === -1) {
9443
9443
  res.push({
9444
9444
  coin_type_a: coins[0],
9445
9445
  coin_type_b: coins[1],