@sip-protocol/sdk 0.3.1 → 0.3.2

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/browser.js CHANGED
@@ -4986,6 +4986,15 @@ var NEARIntentsBackend = class {
4986
4986
  "senderAddress"
4987
4987
  );
4988
4988
  }
4989
+ if (params.slippageTolerance !== void 0) {
4990
+ if (params.slippageTolerance < 0 || params.slippageTolerance > 1e4) {
4991
+ throw new ValidationError(
4992
+ "slippageTolerance must be between 0-10000 basis points (0-100%)",
4993
+ "slippageTolerance",
4994
+ { provided: params.slippageTolerance, validRange: "0-10000" }
4995
+ );
4996
+ }
4997
+ }
4989
4998
  if (!this.capabilities.supportedSourceChains.includes(params.fromChain)) {
4990
4999
  throw new ValidationError(
4991
5000
  `Source chain ${params.fromChain} is not supported`,
package/dist/browser.mjs CHANGED
@@ -218,7 +218,7 @@ import {
218
218
  walletRegistry,
219
219
  withSecureBuffer,
220
220
  withSecureBufferSync
221
- } from "./chunk-YZCK337Y.mjs";
221
+ } from "./chunk-EU4UEWWG.mjs";
222
222
  import {
223
223
  fulfillment_proof_default,
224
224
  funding_proof_default,