@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/browser/index.js
CHANGED
|
@@ -8971,7 +8971,7 @@ var Client = class _Client {
|
|
|
8971
8971
|
return await this.submitTransaction({
|
|
8972
8972
|
exchange: {
|
|
8973
8973
|
replace_order: {
|
|
8974
|
-
existing_order_id: existingOrderId,
|
|
8974
|
+
existing_order_id: existingOrderId.toString(),
|
|
8975
8975
|
order_args: {
|
|
8976
8976
|
asset_id: asset,
|
|
8977
8977
|
price: BulletWasm.convert_rust_decimal_to_json(price.toFixed()),
|
|
@@ -9009,7 +9009,7 @@ var Client = class _Client {
|
|
|
9009
9009
|
return await this.submitTransaction({
|
|
9010
9010
|
exchange: {
|
|
9011
9011
|
cancel_tpsl: {
|
|
9012
|
-
tpsl_order_id: tpslOrderId
|
|
9012
|
+
tpsl_order_id: tpslOrderId.toString()
|
|
9013
9013
|
}
|
|
9014
9014
|
}
|
|
9015
9015
|
});
|
|
@@ -9018,7 +9018,7 @@ var Client = class _Client {
|
|
|
9018
9018
|
return await this.submitTransaction({
|
|
9019
9019
|
exchange: {
|
|
9020
9020
|
cancel_order: {
|
|
9021
|
-
order_id: orderId
|
|
9021
|
+
order_id: orderId.toString()
|
|
9022
9022
|
}
|
|
9023
9023
|
}
|
|
9024
9024
|
});
|