@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.mjs CHANGED
@@ -2968,7 +2968,7 @@ var _TransactionUtil = class {
2968
2968
  const tx = new Transaction();
2969
2969
  tx.setGasBudget(1e8);
2970
2970
  tx.setSender(sdk.senderAddress);
2971
- const oneDay = 24 * 60 * 60;
2971
+ const oneDay = 24 * 60 * 60 * 1e3;
2972
2972
  const newLockDuration = Math.ceil((params.newLockEndAt - Date.now()) / oneDay);
2973
2973
  const { integrate } = sdk.sdkOptions;
2974
2974
  const { voting_escrow_id, magma_token } = getPackagerConfigs(sdk.sdkOptions.magma_config);
@@ -9236,7 +9236,7 @@ var GaugeModule = class {
9236
9236
  ;
9237
9237
  value.infos.forEach((info) => {
9238
9238
  if (info.info) {
9239
- if (res.findIndex((position) => position.pos_object_id === info.info.info.fields.position_id) === -1) {
9239
+ if (res.findIndex((position) => position.pos_object_id === info.info.fields.position_id) === -1) {
9240
9240
  res.push({
9241
9241
  coin_type_a: coins[0],
9242
9242
  coin_type_b: coins[1],