@gala-chain/gswap-sdk 0.0.7 → 0.0.9
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/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1062,7 +1062,8 @@ var Positions = class {
|
|
|
1062
1062
|
amount1Desired: (0, import_bignumber3.default)(ordering.token1Attributes[0]).toFixed(),
|
|
1063
1063
|
amount0Min: (0, import_bignumber3.default)(ordering.token0Attributes[1]).toFixed(),
|
|
1064
1064
|
amount1Min: (0, import_bignumber3.default)(ordering.token1Attributes[1]).toFixed(),
|
|
1065
|
-
positionId: args.positionId
|
|
1065
|
+
positionId: args.positionId,
|
|
1066
|
+
liquidityProvider: args.walletAddress
|
|
1066
1067
|
};
|
|
1067
1068
|
const token0StringKey = stringifyTokenClassKey(ordering.token0, "$");
|
|
1068
1069
|
const token1StringKey = stringifyTokenClassKey(ordering.token1, "$");
|
|
@@ -1239,7 +1240,8 @@ var Positions = class {
|
|
|
1239
1240
|
amount: (0, import_bignumber3.default)(args.amount).toFixed(),
|
|
1240
1241
|
amount0Min: ((_b = ordering == null ? void 0 : ordering.token0Attributes) == null ? void 0 : _b[0]) || "0",
|
|
1241
1242
|
amount1Min: ((_c = ordering == null ? void 0 : ordering.token1Attributes) == null ? void 0 : _c[0]) || "0",
|
|
1242
|
-
positionId: args.positionId
|
|
1243
|
+
positionId: args.positionId,
|
|
1244
|
+
recipient: args.walletAddress
|
|
1243
1245
|
};
|
|
1244
1246
|
const token0StringKey = stringifyTokenClassKey(ordering.token0, "$");
|
|
1245
1247
|
const token1StringKey = stringifyTokenClassKey(ordering.token1, "$");
|
|
@@ -1314,7 +1316,8 @@ var Positions = class {
|
|
|
1314
1316
|
amount1Requested: (0, import_bignumber3.default)(ordering.token1Attributes[0]).toFixed(),
|
|
1315
1317
|
tickLower: args.tickLower,
|
|
1316
1318
|
tickUpper: args.tickUpper,
|
|
1317
|
-
positionId: args.positionId
|
|
1319
|
+
positionId: args.positionId,
|
|
1320
|
+
recipient: args.walletAddress
|
|
1318
1321
|
};
|
|
1319
1322
|
const token0StringKey = stringifyTokenClassKey(ordering.token0, "$");
|
|
1320
1323
|
const token1StringKey = stringifyTokenClassKey(ordering.token1, "$");
|