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
6
Versions
305
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 0.0.0-20230920213211 to 0.0.0-20230922164806

2

dist/0xsequence-core.cjs.d.ts

@@ -1,2 +0,2 @@

export * from "./declarations/src/index";
export * from "../src/index";
//# sourceMappingURL=0xsequence-core.cjs.d.ts.map

@@ -1,7 +0,16 @@

'use strict';
"use strict";
// this file might look strange and you might be wondering what it's for
// it's lets you import your source files by importing this entrypoint
// as you would import it if it was built with preconstruct build
// this file is slightly different to some others though
// it has a require hook which compiles your code with Babel
// this means that you don't have to set up @babel/register or anything like that
// but you can still require this module and it'll be compiled
if (process.env.NODE_ENV === "production") {
module.exports = require("./0xsequence-core.cjs.prod.js");
} else {
module.exports = require("./0xsequence-core.cjs.dev.js");
}
// this bit of code imports the require hook and registers it
let unregister = require("../../../node_modules/.pnpm/@preconstruct+hook@0.4.0/node_modules/@preconstruct/hook").___internalHook(typeof __dirname === 'undefined' ? undefined : __dirname, "../../..", "..");
// this re-exports the source file
module.exports = require("../src/index.ts");
unregister();
{
"name": "@0xsequence/core",
"version": "0.0.0-20230920213211",
"version": "0.0.0-20230922164806",
"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-20230920213211"
"@0xsequence/abi": "0.0.0-20230922164806"
},

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

import { ethers } from 'ethers'
import { allVersions } from '..'
import { DeployedWalletContext as context1 } from '../v1'
import { DeployedWalletContext as context2 } from '../v2'
export type WalletContext = {

@@ -108,6 +105,1 @@ version: number

}
export const defaultContexts: VersionedContext = {
1: context1,
2: context2
}

@@ -138,3 +138,3 @@ import { BigNumberish, BytesLike, ethers } from 'ethers'

): { nonce?: ethers.BigNumberish; transaction: Transaction } {
if (tx.to && tx.to !== ethers.constants.AddressZero) {
if (tx.to) {
return {

@@ -141,0 +141,0 @@ nonce: tx.nonce,

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