@solana/signers
Advanced tools
Comparing version 2.0.0-experimental.a293578 to 2.0.0-experimental.a344eae
@@ -233,7 +233,10 @@ import { isSignerRole } from '@solana/instructions'; | ||
async function signModifyingAndPartialTransactionSigners(transaction, modifyingSigners = [], partialSigners = [], abortSignal) { | ||
const modifiedTransaction = await modifyingSigners.reduce(async (transaction2, modifyingSigner) => { | ||
abortSignal?.throwIfAborted(); | ||
const [tx] = await modifyingSigner.modifyAndSignTransactions([await transaction2], { abortSignal }); | ||
return Object.freeze(tx); | ||
}, Promise.resolve(transaction)); | ||
const modifiedTransaction = await modifyingSigners.reduce( | ||
async (transaction2, modifyingSigner) => { | ||
abortSignal?.throwIfAborted(); | ||
const [tx] = await modifyingSigner.modifyAndSignTransactions([await transaction2], { abortSignal }); | ||
return Object.freeze(tx); | ||
}, | ||
Promise.resolve(transaction) | ||
); | ||
abortSignal?.throwIfAborted(); | ||
@@ -240,0 +243,0 @@ const signatureDictionaries = await Promise.all( |
@@ -1332,7 +1332,10 @@ this.globalThis = this.globalThis || {}; | ||
var _a; | ||
const modifiedTransaction = await modifyingSigners.reduce(async (transaction2, modifyingSigner) => { | ||
abortSignal == null ? void 0 : abortSignal.throwIfAborted(); | ||
const [tx] = await modifyingSigner.modifyAndSignTransactions([await transaction2], { abortSignal }); | ||
return Object.freeze(tx); | ||
}, Promise.resolve(transaction)); | ||
const modifiedTransaction = await modifyingSigners.reduce( | ||
async (transaction2, modifyingSigner) => { | ||
abortSignal == null ? void 0 : abortSignal.throwIfAborted(); | ||
const [tx] = await modifyingSigner.modifyAndSignTransactions([await transaction2], { abortSignal }); | ||
return Object.freeze(tx); | ||
}, | ||
Promise.resolve(transaction) | ||
); | ||
abortSignal == null ? void 0 : abortSignal.throwIfAborted(); | ||
@@ -1339,0 +1342,0 @@ const signatureDictionaries = await Promise.all( |
@@ -233,7 +233,10 @@ import { isSignerRole } from '@solana/instructions'; | ||
async function signModifyingAndPartialTransactionSigners(transaction, modifyingSigners = [], partialSigners = [], abortSignal) { | ||
const modifiedTransaction = await modifyingSigners.reduce(async (transaction2, modifyingSigner) => { | ||
abortSignal?.throwIfAborted(); | ||
const [tx] = await modifyingSigner.modifyAndSignTransactions([await transaction2], { abortSignal }); | ||
return Object.freeze(tx); | ||
}, Promise.resolve(transaction)); | ||
const modifiedTransaction = await modifyingSigners.reduce( | ||
async (transaction2, modifyingSigner) => { | ||
abortSignal?.throwIfAborted(); | ||
const [tx] = await modifyingSigner.modifyAndSignTransactions([await transaction2], { abortSignal }); | ||
return Object.freeze(tx); | ||
}, | ||
Promise.resolve(transaction) | ||
); | ||
abortSignal?.throwIfAborted(); | ||
@@ -240,0 +243,0 @@ const signatureDictionaries = await Promise.all( |
@@ -233,7 +233,10 @@ import { isSignerRole } from '@solana/instructions'; | ||
async function signModifyingAndPartialTransactionSigners(transaction, modifyingSigners = [], partialSigners = [], abortSignal) { | ||
const modifiedTransaction = await modifyingSigners.reduce(async (transaction2, modifyingSigner) => { | ||
abortSignal?.throwIfAborted(); | ||
const [tx] = await modifyingSigner.modifyAndSignTransactions([await transaction2], { abortSignal }); | ||
return Object.freeze(tx); | ||
}, Promise.resolve(transaction)); | ||
const modifiedTransaction = await modifyingSigners.reduce( | ||
async (transaction2, modifyingSigner) => { | ||
abortSignal?.throwIfAborted(); | ||
const [tx] = await modifyingSigner.modifyAndSignTransactions([await transaction2], { abortSignal }); | ||
return Object.freeze(tx); | ||
}, | ||
Promise.resolve(transaction) | ||
); | ||
abortSignal?.throwIfAborted(); | ||
@@ -240,0 +243,0 @@ const signatureDictionaries = await Promise.all( |
{ | ||
"name": "@solana/signers", | ||
"version": "2.0.0-experimental.a293578", | ||
"version": "2.0.0-experimental.a344eae", | ||
"description": "An abstraction layer over signing messages and transactions in Solana", | ||
@@ -52,6 +52,6 @@ "exports": { | ||
"dependencies": { | ||
"@solana/addresses": "2.0.0-experimental.a293578", | ||
"@solana/instructions": "2.0.0-experimental.a293578", | ||
"@solana/keys": "2.0.0-experimental.a293578", | ||
"@solana/transactions": "2.0.0-experimental.a293578" | ||
"@solana/addresses": "2.0.0-experimental.a344eae", | ||
"@solana/instructions": "2.0.0-experimental.a344eae", | ||
"@solana/keys": "2.0.0-experimental.a344eae", | ||
"@solana/transactions": "2.0.0-experimental.a344eae" | ||
}, | ||
@@ -72,3 +72,3 @@ "devDependencies": { | ||
"jest-runner-prettier": "^1.0.0", | ||
"prettier": "^2.8", | ||
"prettier": "^3.1", | ||
"tsup": "^8.0.1", | ||
@@ -75,0 +75,0 @@ "typescript": "^5.2.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
599231
3559
28
+ Added@solana/addresses@2.0.0-experimental.a344eae(transitive)
+ Added@solana/assertions@2.0.0-experimental.a344eae(transitive)
+ Added@solana/codecs-core@2.0.0-experimental.a344eae(transitive)
+ Added@solana/codecs-data-structures@2.0.0-experimental.a344eae(transitive)
+ Added@solana/codecs-numbers@2.0.0-experimental.a344eae(transitive)
+ Added@solana/codecs-strings@2.0.0-experimental.a344eae(transitive)
+ Added@solana/functional@2.0.0-experimental.a344eae(transitive)
+ Added@solana/instructions@2.0.0-experimental.a344eae(transitive)
+ Added@solana/keys@2.0.0-experimental.a344eae(transitive)
+ Added@solana/transactions@2.0.0-experimental.a344eae(transitive)
- Removed@solana/addresses@2.0.0-experimental.a293578(transitive)
- Removed@solana/assertions@2.0.0-experimental.a293578(transitive)
- Removed@solana/codecs-core@2.0.0-experimental.a293578(transitive)
- Removed@solana/codecs-data-structures@2.0.0-experimental.a293578(transitive)
- Removed@solana/codecs-numbers@2.0.0-experimental.a293578(transitive)
- Removed@solana/codecs-strings@2.0.0-experimental.a293578(transitive)
- Removed@solana/functional@2.0.0-experimental.a293578(transitive)
- Removed@solana/instructions@2.0.0-experimental.a293578(transitive)
- Removed@solana/keys@2.0.0-experimental.a293578(transitive)
- Removed@solana/transactions@2.0.0-experimental.a293578(transitive)