@gala-chain/gswap-sdk 0.0.8 → 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 +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1001,7 +1001,8 @@ var Positions = class {
|
|
|
1001
1001
|
amount1Desired: BigNumber3(ordering.token1Attributes[0]).toFixed(),
|
|
1002
1002
|
amount0Min: BigNumber3(ordering.token0Attributes[1]).toFixed(),
|
|
1003
1003
|
amount1Min: BigNumber3(ordering.token1Attributes[1]).toFixed(),
|
|
1004
|
-
positionId: args.positionId
|
|
1004
|
+
positionId: args.positionId,
|
|
1005
|
+
liquidityProvider: args.walletAddress
|
|
1005
1006
|
};
|
|
1006
1007
|
const token0StringKey = stringifyTokenClassKey(ordering.token0, "$");
|
|
1007
1008
|
const token1StringKey = stringifyTokenClassKey(ordering.token1, "$");
|
|
@@ -1178,7 +1179,8 @@ var Positions = class {
|
|
|
1178
1179
|
amount: BigNumber3(args.amount).toFixed(),
|
|
1179
1180
|
amount0Min: ((_b = ordering == null ? void 0 : ordering.token0Attributes) == null ? void 0 : _b[0]) || "0",
|
|
1180
1181
|
amount1Min: ((_c = ordering == null ? void 0 : ordering.token1Attributes) == null ? void 0 : _c[0]) || "0",
|
|
1181
|
-
positionId: args.positionId
|
|
1182
|
+
positionId: args.positionId,
|
|
1183
|
+
recipient: args.walletAddress
|
|
1182
1184
|
};
|
|
1183
1185
|
const token0StringKey = stringifyTokenClassKey(ordering.token0, "$");
|
|
1184
1186
|
const token1StringKey = stringifyTokenClassKey(ordering.token1, "$");
|
|
@@ -1253,7 +1255,8 @@ var Positions = class {
|
|
|
1253
1255
|
amount1Requested: BigNumber3(ordering.token1Attributes[0]).toFixed(),
|
|
1254
1256
|
tickLower: args.tickLower,
|
|
1255
1257
|
tickUpper: args.tickUpper,
|
|
1256
|
-
positionId: args.positionId
|
|
1258
|
+
positionId: args.positionId,
|
|
1259
|
+
recipient: args.walletAddress
|
|
1257
1260
|
};
|
|
1258
1261
|
const token0StringKey = stringifyTokenClassKey(ordering.token0, "$");
|
|
1259
1262
|
const token1StringKey = stringifyTokenClassKey(ordering.token1, "$");
|