@aboutcircles/sdk-transfers 0.1.3 → 0.1.4

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 +8 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2640,6 +2640,10 @@ function normalizeFindPathParams(params) {
2640
2640
  IsWrapped: balance.isWrapped,
2641
2641
  IsStatic: balance.isStatic
2642
2642
  })),
2643
+ SimulatedTrusts: params.simulatedTrusts?.map((trust) => ({
2644
+ Truster: normalizeAddress(trust.truster),
2645
+ Trustee: normalizeAddress(trust.trustee)
2646
+ })),
2643
2647
  MaxTransfers: params.maxTransfers
2644
2648
  };
2645
2649
  }
@@ -5299,6 +5303,10 @@ function normalizeFindPathParams2(params) {
5299
5303
  IsWrapped: balance.isWrapped,
5300
5304
  IsStatic: balance.isStatic
5301
5305
  })),
5306
+ SimulatedTrusts: params.simulatedTrusts?.map((trust) => ({
5307
+ Truster: normalizeAddress2(trust.truster),
5308
+ Trustee: normalizeAddress2(trust.trustee)
5309
+ })),
5302
5310
  MaxTransfers: params.maxTransfers
5303
5311
  };
5304
5312
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aboutcircles/sdk-transfers",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Transfer data construction for Circles SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",