@shapeshiftoss/swapper 9.17.1 → 10.0.0

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.
@@ -124,7 +124,7 @@ class ThorchainSwapper {
124
124
  const txid = await adapter.broadcastTransaction(signedTx);
125
125
  return { tradeId: txid };
126
126
  }
127
- else if (chainNamespace === caip_1.CHAIN_NAMESPACE.Bitcoin) {
127
+ else if (chainNamespace === caip_1.CHAIN_NAMESPACE.Utxo) {
128
128
  const signedTx = await adapter.signTransaction({
129
129
  txToSign: trade.txData,
130
130
  wallet,
@@ -47,7 +47,7 @@ const buildTrade = async ({ deps, input, }) => {
47
47
  txData: ethTradeTx.txToSign,
48
48
  };
49
49
  }
50
- else if (chainNamespace === caip_1.CHAIN_NAMESPACE.Bitcoin) {
50
+ else if (chainNamespace === caip_1.CHAIN_NAMESPACE.Utxo) {
51
51
  const { vault, opReturnData } = await (0, getThorTxData_1.getThorTxInfo)({
52
52
  deps,
53
53
  sellAsset,
@@ -64,7 +64,7 @@ const getThorTradeQuote = async ({ deps, input }) => {
64
64
  feeData,
65
65
  };
66
66
  })();
67
- case caip_1.CHAIN_NAMESPACE.Bitcoin:
67
+ case caip_1.CHAIN_NAMESPACE.Utxo:
68
68
  return (async () => {
69
69
  const { vault, opReturnData, pubkey } = await (0, getThorTxData_1.getThorTxInfo)({
70
70
  deps,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/swapper",
3
- "version": "9.17.1",
3
+ "version": "10.0.0",
4
4
  "description": "An interface and implementations to trade coins via various protocols",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",