@magmaprotocol/magma-clmm-sdk 0.5.26 → 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);