Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solana/signers

Package Overview
Dependencies
Maintainers
14
Versions
1049
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/signers - npm Package Compare versions

Comparing version 2.0.0-experimental.a293578 to 2.0.0-experimental.a344eae

13

dist/index.browser.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc