@btc-vision/transaction 1.6.14 → 1.6.15

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.
@@ -1 +1 @@
1
- export declare const version = "1.6.14";
1
+ export declare const version = "1.6.15";
package/build/_version.js CHANGED
@@ -1 +1 @@
1
- export const version = '1.6.14';
1
+ export const version = '1.6.15';
@@ -33,7 +33,7 @@ export class TransactionFactory {
33
33
  }
34
34
  const opWalletCancel = await this.detectCancelOPWallet(params);
35
35
  if (opWalletCancel) {
36
- throw new Error('Cancelling via OP_WALLET is not supported yet.');
36
+ return opWalletCancel;
37
37
  }
38
38
  if (!('signer' in params)) {
39
39
  throw new Error('Field "signer" not provided, OP_WALLET not detected.');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@btc-vision/transaction",
3
3
  "type": "module",
4
- "version": "1.6.14",
4
+ "version": "1.6.15",
5
5
  "author": "BlobMaster41",
6
6
  "description": "OPNet transaction library allows you to create and sign transactions for the OPNet network.",
7
7
  "engines": {
package/src/_version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '1.6.14';
1
+ export const version = '1.6.15';
@@ -1,10 +1,7 @@
1
1
  import { Transaction, TxOutput } from '@btc-vision/bitcoin';
2
2
  import { currentConsensus } from '../consensus/ConsensusConfig.js';
3
3
  import { UTXO } from '../utxo/interfaces/IUTXO.js';
4
- import {
5
- CustomScriptTransaction,
6
- ICustomTransactionParameters,
7
- } from './builders/CustomScriptTransaction.js';
4
+ import { CustomScriptTransaction, ICustomTransactionParameters, } from './builders/CustomScriptTransaction.js';
8
5
  import { DeploymentTransaction } from './builders/DeploymentTransaction.js';
9
6
  import { FundingTransaction } from './builders/FundingTransaction.js';
10
7
  import { InteractionTransaction } from './builders/InteractionTransaction.js';
@@ -101,7 +98,7 @@ export class TransactionFactory {
101
98
 
102
99
  const opWalletCancel = await this.detectCancelOPWallet(params);
103
100
  if (opWalletCancel) {
104
- throw new Error('Cancelling via OP_WALLET is not supported yet.');
101
+ return opWalletCancel;
105
102
  }
106
103
 
107
104
  if (!('signer' in params)) {