@bulletxyz/bullet-sdk 0.16.1-rc.1 → 0.16.1-rc.3
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/node/index.js
CHANGED
|
@@ -8985,7 +8985,7 @@ var Client = class _Client {
|
|
|
8985
8985
|
return await this.submitTransaction({
|
|
8986
8986
|
exchange: {
|
|
8987
8987
|
replace_order: {
|
|
8988
|
-
existing_order_id: existingOrderId,
|
|
8988
|
+
existing_order_id: existingOrderId.toString(),
|
|
8989
8989
|
order_args: {
|
|
8990
8990
|
asset_id: asset,
|
|
8991
8991
|
price: BulletWasm.convert_rust_decimal_to_json(price.toFixed()),
|
|
@@ -9023,7 +9023,7 @@ var Client = class _Client {
|
|
|
9023
9023
|
return await this.submitTransaction({
|
|
9024
9024
|
exchange: {
|
|
9025
9025
|
cancel_tpsl: {
|
|
9026
|
-
tpsl_order_id: tpslOrderId
|
|
9026
|
+
tpsl_order_id: tpslOrderId.toString()
|
|
9027
9027
|
}
|
|
9028
9028
|
}
|
|
9029
9029
|
});
|
|
@@ -9032,7 +9032,7 @@ var Client = class _Client {
|
|
|
9032
9032
|
return await this.submitTransaction({
|
|
9033
9033
|
exchange: {
|
|
9034
9034
|
cancel_order: {
|
|
9035
|
-
order_id: orderId
|
|
9035
|
+
order_id: orderId.toString()
|
|
9036
9036
|
}
|
|
9037
9037
|
}
|
|
9038
9038
|
});
|