@1sat/sweep-ui 0.0.58 → 0.0.59

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/index.js CHANGED
@@ -166,7 +166,7 @@ async function legacySendBsv(params) {
166
166
  await tx.fee();
167
167
  await tx.sign();
168
168
  const rawTx = tx.toBinary();
169
- const result = await getServices().arcade.submitTransaction(rawTx);
169
+ const result = await getServices().submitToStack(rawTx);
170
170
  return {
171
171
  txid: result.txid,
172
172
  rawtx: Utils.toHex(rawTx)
@@ -220,7 +220,7 @@ async function legacySendOrdinals(params) {
220
220
  await tx.fee();
221
221
  await tx.sign();
222
222
  const rawTx = tx.toBinary();
223
- const result = await getServices().arcade.submitTransaction(rawTx);
223
+ const result = await getServices().submitToStack(rawTx);
224
224
  return {
225
225
  txid: result.txid,
226
226
  rawtx: Utils.toHex(rawTx)
@@ -266,7 +266,7 @@ async function legacyBurnOrdinals(params) {
266
266
  await tx.fee();
267
267
  await tx.sign();
268
268
  const rawTx = tx.toBinary();
269
- const result = await getServices().arcade.submitTransaction(rawTx);
269
+ const result = await getServices().submitToStack(rawTx);
270
270
  return {
271
271
  txid: result.txid,
272
272
  rawtx: Utils.toHex(rawTx)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1sat/sweep-ui",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "description": "Sweep UI components for migrating legacy BSV assets",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "@1sat/actions": "0.0.158",
32
+ "@1sat/actions": "0.0.159",
33
33
  "@1sat/client": "0.0.37",
34
34
  "@1sat/connect": "0.0.65",
35
35
  "@1sat/types": "0.0.29",
@@ -96,7 +96,7 @@ export async function legacySendBsv(params: {
96
96
  await tx.sign()
97
97
 
98
98
  const rawTx = tx.toBinary()
99
- const result = await getServices().arcade.submitTransaction(rawTx)
99
+ const result = await getServices().submitToStack(rawTx)
100
100
 
101
101
  return {
102
102
  txid: result.txid,
@@ -161,7 +161,7 @@ export async function legacySendOrdinals(params: {
161
161
  await tx.sign()
162
162
 
163
163
  const rawTx = tx.toBinary()
164
- const result = await getServices().arcade.submitTransaction(rawTx)
164
+ const result = await getServices().submitToStack(rawTx)
165
165
 
166
166
  return {
167
167
  txid: result.txid,
@@ -229,7 +229,7 @@ export async function legacyBurnOrdinals(params: {
229
229
  await tx.sign()
230
230
 
231
231
  const rawTx = tx.toBinary()
232
- const result = await getServices().arcade.submitTransaction(rawTx)
232
+ const result = await getServices().submitToStack(rawTx)
233
233
 
234
234
  return {
235
235
  txid: result.txid,