New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@0xsequence/account

Package Overview
Dependencies
Maintainers
5
Versions
306
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/account - npm Package Compare versions

Comparing version 0.0.0-20230327163413 to 0.0.0-20230330215057

3

dist/0xsequence-account.cjs.dev.js

@@ -482,6 +482,7 @@ 'use strict';

}
async sendTransaction(txs, chainId, quote, skipPreDecorate = false) {
async sendTransaction(txs, chainId, quote, skipPreDecorate = false, callback) {
const status = await this.status(chainId);
const predecorated = skipPreDecorate ? txs : await this.predecorateTransactions(txs, status, chainId);
const signed = await this.signTransactions(predecorated, chainId);
if (callback) callback(signed);
return this.sendSignedTransactions(signed, chainId, quote);

@@ -488,0 +489,0 @@ }

@@ -482,6 +482,7 @@ 'use strict';

}
async sendTransaction(txs, chainId, quote, skipPreDecorate = false) {
async sendTransaction(txs, chainId, quote, skipPreDecorate = false, callback) {
const status = await this.status(chainId);
const predecorated = skipPreDecorate ? txs : await this.predecorateTransactions(txs, status, chainId);
const signed = await this.signTransactions(predecorated, chainId);
if (callback) callback(signed);
return this.sendSignedTransactions(signed, chainId, quote);

@@ -488,0 +489,0 @@ }

@@ -478,6 +478,7 @@ import { commons, universal } from '@0xsequence/core';

}
async sendTransaction(txs, chainId, quote, skipPreDecorate = false) {
async sendTransaction(txs, chainId, quote, skipPreDecorate = false, callback) {
const status = await this.status(chainId);
const predecorated = skipPreDecorate ? txs : await this.predecorateTransactions(txs, status, chainId);
const signed = await this.signTransactions(predecorated, chainId);
if (callback) callback(signed);
return this.sendSignedTransactions(signed, chainId, quote);

@@ -484,0 +485,0 @@ }

@@ -126,3 +126,3 @@ import { commons } from '@0xsequence/core';

}>;
sendTransaction(txs: commons.transaction.Transactionish, chainId: ethers.BigNumberish, quote?: FeeQuote, skipPreDecorate?: boolean): Promise<ethers.providers.TransactionResponse>;
sendTransaction(txs: commons.transaction.Transactionish, chainId: ethers.BigNumberish, quote?: FeeQuote, skipPreDecorate?: boolean, callback?: (signed: commons.transaction.SignedTransactionBundle) => void): Promise<ethers.providers.TransactionResponse>;
signTypedData(domain: TypedDataDomain, types: Record<string, Array<TypedDataField>>, message: Record<string, any>, chainId: ethers.BigNumberish): Promise<string>;

@@ -129,0 +129,0 @@ getAllSigners(): Promise<{

{
"name": "@0xsequence/account",
"version": "0.0.0-20230327163413",
"version": "0.0.0-20230330215057",
"description": "tools for migrating sequence wallets to new versions",

@@ -13,9 +13,9 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/account",

"ethers": "^5.5.2",
"@0xsequence/core": "0.0.0-20230327163413",
"@0xsequence/migration": "0.0.0-20230327163413",
"@0xsequence/network": "0.0.0-20230327163413",
"@0xsequence/relayer": "0.0.0-20230327163413",
"@0xsequence/sessions": "0.0.0-20230327163413",
"@0xsequence/wallet": "0.0.0-20230327163413",
"@0xsequence/utils": "0.0.0-20230327163413"
"@0xsequence/core": "0.0.0-20230330215057",
"@0xsequence/migration": "0.0.0-20230330215057",
"@0xsequence/relayer": "0.0.0-20230330215057",
"@0xsequence/sessions": "0.0.0-20230330215057",
"@0xsequence/network": "0.0.0-20230330215057",
"@0xsequence/utils": "0.0.0-20230330215057",
"@0xsequence/wallet": "0.0.0-20230330215057"
},

@@ -25,4 +25,4 @@ "devDependencies": {

"nyc": "^15.1.0",
"@0xsequence/signhub": "0.0.0-20230327163413",
"@0xsequence/tests": "0.0.0-20230327163413"
"@0xsequence/signhub": "0.0.0-20230330215057",
"@0xsequence/tests": "0.0.0-20230330215057"
},

@@ -29,0 +29,0 @@ "files": [

@@ -691,3 +691,4 @@ import { commons, universal } from '@0xsequence/core'

quote?: FeeQuote,
skipPreDecorate: boolean = false
skipPreDecorate: boolean = false,
callback?: (signed: commons.transaction.SignedTransactionBundle) => void
): Promise<ethers.providers.TransactionResponse> {

@@ -697,2 +698,3 @@ const status = await this.status(chainId)

const signed = await this.signTransactions(predecorated, chainId)
if (callback) callback(signed)
return this.sendSignedTransactions(signed, chainId, quote)

@@ -699,0 +701,0 @@ }

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