@skip-go/client 0.5.1 → 0.5.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3418,7 +3418,10 @@ var SkipRouter = class {
3418
3418
  address: requiredApproval.tokenContract,
3419
3419
  abi: erc20ABI,
3420
3420
  functionName: "approve",
3421
- args: [requiredApproval.spender, viem.maxUint256],
3421
+ args: [
3422
+ requiredApproval.spender,
3423
+ BigInt(requiredApproval.amount)
3424
+ ],
3422
3425
  chain: signer.chain
3423
3426
  });
3424
3427
  const receipt2 = yield extendedSigner.waitForTransactionReceipt({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@skip-go/client",
3
3
  "description": "JavaScript SDK for Skip Go API",
4
- "version": "0.5.1",
4
+ "version": "0.5.2",
5
5
  "repository": "https://github.com/skip-mev/skip-go",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",