@0xsequence/transactions
Advanced tools
Comparing version 0.40.6 to 0.41.0
@@ -210,3 +210,3 @@ 'use strict'; | ||
if (hasSequenceTransactions(transaction)) { | ||
stx = transaction; | ||
stx = flattenAuxTransactions(transaction); | ||
} else { | ||
@@ -216,3 +216,3 @@ stx = await toSequenceTransactions(wallet, transaction); | ||
} else if (isSequenceTransaction(transaction)) { | ||
stx = [transaction]; | ||
stx = flattenAuxTransactions([transaction]); | ||
} else { | ||
@@ -219,0 +219,0 @@ stx = await toSequenceTransactions(wallet, [transaction]); |
@@ -210,3 +210,3 @@ 'use strict'; | ||
if (hasSequenceTransactions(transaction)) { | ||
stx = transaction; | ||
stx = flattenAuxTransactions(transaction); | ||
} else { | ||
@@ -216,3 +216,3 @@ stx = await toSequenceTransactions(wallet, transaction); | ||
} else if (isSequenceTransaction(transaction)) { | ||
stx = [transaction]; | ||
stx = flattenAuxTransactions([transaction]); | ||
} else { | ||
@@ -219,0 +219,0 @@ stx = await toSequenceTransactions(wallet, [transaction]); |
@@ -206,3 +206,3 @@ import { ethers } from 'ethers'; | ||
if (hasSequenceTransactions(transaction)) { | ||
stx = transaction; | ||
stx = flattenAuxTransactions(transaction); | ||
} else { | ||
@@ -212,3 +212,3 @@ stx = await toSequenceTransactions(wallet, transaction); | ||
} else if (isSequenceTransaction(transaction)) { | ||
stx = [transaction]; | ||
stx = flattenAuxTransactions([transaction]); | ||
} else { | ||
@@ -215,0 +215,0 @@ stx = await toSequenceTransactions(wallet, [transaction]); |
{ | ||
"name": "@0xsequence/transactions", | ||
"version": "0.40.6", | ||
"version": "0.41.0", | ||
"description": "transactions sub-package for Sequence", | ||
@@ -17,5 +17,5 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/transactions", | ||
"dependencies": { | ||
"@0xsequence/abi": "^0.40.6", | ||
"@0xsequence/network": "^0.40.6", | ||
"@0xsequence/utils": "^0.40.6", | ||
"@0xsequence/abi": "^0.41.0", | ||
"@0xsequence/network": "^0.41.0", | ||
"@0xsequence/utils": "^0.41.0", | ||
"@ethersproject/abi": "^5.5.0", | ||
@@ -22,0 +22,0 @@ "ethers": "^5.5.2" |
@@ -240,3 +240,3 @@ import { ethers, Signer, BigNumberish } from 'ethers' | ||
if (hasSequenceTransactions(transaction)) { | ||
stx = transaction as Transaction[] | ||
stx = flattenAuxTransactions(transaction) as Transaction[] | ||
} else { | ||
@@ -246,3 +246,3 @@ stx = await toSequenceTransactions(wallet, transaction) | ||
} else if (isSequenceTransaction(transaction)) { | ||
stx = [transaction] | ||
stx = flattenAuxTransactions([transaction]) as Transaction[] | ||
} else { | ||
@@ -249,0 +249,0 @@ stx = await toSequenceTransactions(wallet, [transaction]) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43124
+ Added@0xsequence/abi@0.41.3(transitive)
+ Added@0xsequence/network@0.41.3(transitive)
+ Added@0xsequence/utils@0.41.3(transitive)
- Removed@0xsequence/abi@0.40.6(transitive)
- Removed@0xsequence/network@0.40.6(transitive)
- Removed@0xsequence/utils@0.40.6(transitive)
Updated@0xsequence/abi@^0.41.0
Updated@0xsequence/network@^0.41.0
Updated@0xsequence/utils@^0.41.0