@btc-vision/transaction 1.6.8 → 1.6.9

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.8";
1
+ export declare const version = "1.6.9";
package/build/_version.js CHANGED
@@ -1 +1 @@
1
- export const version = '1.6.8';
1
+ export const version = '1.6.9';
@@ -7,7 +7,6 @@ import { InteractionTransaction } from './builders/InteractionTransaction.js';
7
7
  import { TransactionBuilder } from './builders/TransactionBuilder.js';
8
8
  import { P2WDADetector } from '../p2wda/P2WDADetector.js';
9
9
  import { InteractionTransactionP2WDA } from './builders/InteractionTransactionP2WDA.js';
10
- import { ChallengeSolution } from '../epoch/ChallengeSolution.js';
11
10
  import { Address } from '../keypair/Address.js';
12
11
  import { BitcoinUtils } from '../utils/BitcoinUtils.js';
13
12
  export class TransactionFactory {
@@ -423,10 +422,7 @@ export class TransactionFactory {
423
422
  finalPreTransaction = preTransaction;
424
423
  if ('getChallenge' in preTransaction &&
425
424
  typeof preTransaction.getChallenge === 'function') {
426
- const result = preTransaction.getChallenge();
427
- if (result instanceof ChallengeSolution) {
428
- challenge = result;
429
- }
425
+ challenge = preTransaction.getChallenge();
430
426
  }
431
427
  iterations++;
432
428
  if (this.debug) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@btc-vision/transaction",
3
3
  "type": "module",
4
- "version": "1.6.8",
4
+ "version": "1.6.9",
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.8';
1
+ export const version = '1.6.9';
@@ -703,10 +703,7 @@ export class TransactionFactory {
703
703
  'getChallenge' in preTransaction &&
704
704
  typeof preTransaction.getChallenge === 'function'
705
705
  ) {
706
- const result = preTransaction.getChallenge();
707
- if (result instanceof ChallengeSolution) {
708
- challenge = result;
709
- }
706
+ challenge = preTransaction.getChallenge();
710
707
  }
711
708
 
712
709
  iterations++;