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

@0xsequence/core

Package Overview
Dependencies
Maintainers
5
Versions
311
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/core - npm Package Compare versions

Comparing version

to
0.0.0-20230512143315

1

dist/declarations/src/commons/transaction.d.ts

@@ -54,2 +54,3 @@ import { BigNumberish, BytesLike, ethers } from "ethers";

export declare function subdigestOfTransactions(address: string, chainId: BigNumberish, nonce: ethers.BigNumberish, txs: Transaction[]): string;
export declare function subdigestOfGuestModuleTransactions(guestModule: string, chainId: BigNumberish, txs: Transaction[]): string;
export declare function toSequenceTransactions(wallet: string, txs: (Transaction | ethers.providers.TransactionRequest)[]): {

@@ -56,0 +57,0 @@ nonce?: ethers.BigNumberish;

4

package.json
{
"name": "@0xsequence/core",
"version": "0.0.0-20230505164841",
"version": "0.0.0-20230512143315",
"description": "core primitives for interacting with the sequence wallet contracts",

@@ -23,3 +23,3 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/core",

"dependencies": {
"@0xsequence/abi": "0.0.0-20230505164841"
"@0xsequence/abi": "0.0.0-20230512143315"
},

@@ -26,0 +26,0 @@ "scripts": {

@@ -108,2 +108,15 @@ import { BigNumberish, BytesLike, ethers } from "ethers"

export function subdigestOfGuestModuleTransactions(guestModule: string, chainId: BigNumberish, txs: Transaction[]): string {
return subdigestOf({
address: guestModule,
chainId,
digest: ethers.utils.keccak256(
ethers.utils.defaultAbiCoder.encode(
['string', MetaTransactionsType],
['guest:', sequenceTxAbiEncode(txs)]
)
)
})
}
export function toSequenceTransactions(

@@ -110,0 +123,0 @@ wallet: string,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display