@aboutcircles/sdk-rpc 0.1.2 → 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.
- package/dist/index.js +4 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +4 -0
- package/package.json +6 -1
package/dist/index.js
CHANGED
|
@@ -1599,6 +1599,10 @@ function normalizeFindPathParams(params) {
|
|
|
1599
1599
|
IsWrapped: balance.isWrapped,
|
|
1600
1600
|
IsStatic: balance.isStatic
|
|
1601
1601
|
})),
|
|
1602
|
+
SimulatedTrusts: params.simulatedTrusts?.map((trust) => ({
|
|
1603
|
+
Truster: normalizeAddress(trust.truster),
|
|
1604
|
+
Trustee: normalizeAddress(trust.trustee)
|
|
1605
|
+
})),
|
|
1602
1606
|
MaxTransfers: params.maxTransfers
|
|
1603
1607
|
};
|
|
1604
1608
|
}
|
package/dist/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAoC,MAAM,yBAAyB,CAAC;AAGzG;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAE1D;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,OAAO,EAAE,GAAG,OAAO,EAAE,CAElE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAEzD;AAWD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CA6BhD;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAuBvF;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CA2BjF"}
|
package/dist/utils.js
CHANGED
|
@@ -76,6 +76,10 @@ export function normalizeFindPathParams(params) {
|
|
|
76
76
|
IsWrapped: balance.isWrapped,
|
|
77
77
|
IsStatic: balance.isStatic,
|
|
78
78
|
})),
|
|
79
|
+
SimulatedTrusts: params.simulatedTrusts?.map((trust) => ({
|
|
80
|
+
Truster: normalizeAddress(trust.truster),
|
|
81
|
+
Trustee: normalizeAddress(trust.trustee),
|
|
82
|
+
})),
|
|
79
83
|
MaxTransfers: params.maxTransfers,
|
|
80
84
|
};
|
|
81
85
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aboutcircles/sdk-rpc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Circles RPC wrapper",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -15,6 +15,11 @@
|
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/aboutcircles/sdk"
|
|
21
|
+
},
|
|
22
|
+
"license": "MIT",
|
|
18
23
|
"scripts": {
|
|
19
24
|
"build": "bun build ./src/index.ts --outdir ./dist --format esm --splitting && tsc --emitDeclarationOnly",
|
|
20
25
|
"dev": "tsc --watch"
|