@usherlabs/cex-broker 0.2.2 → 0.2.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/commands/cli.js +4 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/commands/cli.js
CHANGED
|
@@ -314762,7 +314762,10 @@ function getServer(policy, brokers, whitelistIps, useVerity, verityProverUrl, ot
|
|
|
314762
314762
|
message: `Broker ${cex3} doesnt support this ${transferValue.chain} for token ${symbol}`
|
|
314763
314763
|
}, null);
|
|
314764
314764
|
}
|
|
314765
|
-
const transaction = await broker.withdraw(symbol, transferValue.amount, transferValue.recipientAddress, undefined, {
|
|
314765
|
+
const transaction = await broker.withdraw(symbol, transferValue.amount, transferValue.recipientAddress, undefined, {
|
|
314766
|
+
...transferValue.params ?? {},
|
|
314767
|
+
network: transferValue.chain
|
|
314768
|
+
});
|
|
314766
314769
|
log.info(`Withdraw Result: ${JSON.stringify(transaction)}`);
|
|
314767
314770
|
wrappedCallback(null, {
|
|
314768
314771
|
proof: verityProof,
|
package/dist/index.js
CHANGED
|
@@ -277715,7 +277715,10 @@ function getServer(policy, brokers, whitelistIps, useVerity, verityProverUrl, ot
|
|
|
277715
277715
|
message: `Broker ${cex3} doesnt support this ${transferValue.chain} for token ${symbol}`
|
|
277716
277716
|
}, null);
|
|
277717
277717
|
}
|
|
277718
|
-
const transaction = await broker.withdraw(symbol, transferValue.amount, transferValue.recipientAddress, undefined, {
|
|
277718
|
+
const transaction = await broker.withdraw(symbol, transferValue.amount, transferValue.recipientAddress, undefined, {
|
|
277719
|
+
...transferValue.params ?? {},
|
|
277720
|
+
network: transferValue.chain
|
|
277721
|
+
});
|
|
277719
277722
|
log.info(`Withdraw Result: ${JSON.stringify(transaction)}`);
|
|
277720
277723
|
wrappedCallback(null, {
|
|
277721
277724
|
proof: verityProof,
|
|
@@ -278465,4 +278468,4 @@ export {
|
|
|
278465
278468
|
CEXBroker as default
|
|
278466
278469
|
};
|
|
278467
278470
|
|
|
278468
|
-
//# debugId=
|
|
278471
|
+
//# debugId=16361D5A37ED1D4064756E2164756E21
|