@scallop-io/sui-scallop-sdk 2.0.10 → 2.0.11
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/models/scallopConstants.ts +4 -1
package/package.json
CHANGED
|
@@ -404,7 +404,10 @@ export class ScallopConstants {
|
|
|
404
404
|
)
|
|
405
405
|
.map(([key, value]) => {
|
|
406
406
|
const parsedValue = Object.fromEntries(
|
|
407
|
-
Object.entries(value).map(([k, v]) => [
|
|
407
|
+
Object.entries(value).map(([k, v]) => [
|
|
408
|
+
k,
|
|
409
|
+
typeof v === 'boolean' ? (v ?? false) : v || undefined,
|
|
410
|
+
])
|
|
408
411
|
);
|
|
409
412
|
return [key, parsedValue as PoolAddress];
|
|
410
413
|
})
|