@0xsequence/core
Advanced tools
Comparing version 0.0.0-20230713232611 to 0.0.0-20230726105834
export * from "./declarations/src/index"; | ||
//# sourceMappingURL=0xsequence-core.cjs.d.ts.map |
import { ethers } from 'ethers'; | ||
import { WalletContext } from './context'; | ||
import * as transaction from './transaction'; | ||
import { WalletContext } from "./context.js"; | ||
import * as transaction from "./transaction.js"; | ||
export type Config = { | ||
@@ -5,0 +5,0 @@ version: number; |
@@ -1,9 +0,9 @@ | ||
export * as config from './config'; | ||
export * as signature from './signature'; | ||
export * as context from './context'; | ||
export * as signer from './signer'; | ||
export * as EIP1271 from './validateEIP1271'; | ||
export * as transaction from './transaction'; | ||
export * as reader from './reader'; | ||
export * as EIP6492 from './validateEIP6492'; | ||
export * from './orchestrator'; | ||
export * as config from "./config.js"; | ||
export * as signature from "./signature.js"; | ||
export * as context from "./context.js"; | ||
export * as signer from "./signer.js"; | ||
export * as EIP1271 from "./validateEIP1271.js"; | ||
export * as transaction from "./transaction.js"; | ||
export * as reader from "./reader.js"; | ||
export * as EIP6492 from "./validateEIP6492.js"; | ||
export * from "./orchestrator.js"; |
import { ethers } from "ethers"; | ||
import { commons } from ".."; | ||
import { Config } from "./config"; | ||
import { commons } from "../index.js"; | ||
import { Config } from "./config.js"; | ||
/** | ||
@@ -5,0 +5,0 @@ * Request metadata, used to by the wallet to pass additional information to the |
import { ethers } from "ethers"; | ||
import { commons } from ".."; | ||
/** | ||
@@ -19,9 +18,4 @@ * Provides stateful information about the wallet. | ||
readonly provider: ethers.providers.Provider; | ||
readonly contexts?: { | ||
[key: number]: commons.context.WalletContext; | ||
} | undefined; | ||
private isDeployedCache; | ||
constructor(provider: ethers.providers.Provider, contexts?: { | ||
[key: number]: commons.context.WalletContext; | ||
} | undefined); | ||
constructor(provider: ethers.providers.Provider); | ||
private module; | ||
@@ -28,0 +22,0 @@ isDeployed(wallet: string): Promise<boolean>; |
import { ethers } from 'ethers'; | ||
import * as config from './config'; | ||
import * as config from "./config.js"; | ||
export type SignaturePart = { | ||
@@ -4,0 +4,0 @@ signature: string; |
@@ -1,7 +0,7 @@ | ||
export * as v1 from './v1'; | ||
export * as v2 from "./v2"; | ||
export * as commons from "./commons"; | ||
export * as universal from './universal'; | ||
import * as v1 from './v1'; | ||
import * as v2 from "./v2"; | ||
export * as v1 from "./v1/index.js"; | ||
export * as v2 from "./v2/index.js"; | ||
export * as commons from "./commons/index.js"; | ||
export * as universal from "./universal/index.js"; | ||
import * as v1 from "./v1/index.js"; | ||
import * as v2 from "./v2/index.js"; | ||
export declare const allVersions: (typeof v1 | typeof v2)[]; |
@@ -1,2 +0,2 @@ | ||
import { commons, v1, v2 } from ".."; | ||
import { commons, v1, v2 } from "../index.js"; | ||
export declare const ALL_CODERS: ({ | ||
@@ -3,0 +3,0 @@ config: commons.config.ConfigCoder<v1.config.WalletConfig>; |
import { ethers } from 'ethers'; | ||
import { commons } from '..'; | ||
import { commons } from "../index.js"; | ||
export type AddressMember = { | ||
@@ -4,0 +4,0 @@ weight: ethers.BigNumberish; |
@@ -1,5 +0,5 @@ | ||
import { WalletContext } from '../commons/context'; | ||
export * as config from './config'; | ||
export * as signature from './signature'; | ||
import { WalletContext } from "../commons/context.js"; | ||
export * as config from "./config.js"; | ||
export * as signature from "./signature.js"; | ||
export declare const version = 1; | ||
export declare const DeployedWalletContext: WalletContext; |
import { ethers } from 'ethers'; | ||
import * as base from '../commons/signature'; | ||
import { AddressMember, WalletConfig } from './config'; | ||
import * as base from "../commons/signature.js"; | ||
import { AddressMember, WalletConfig } from "./config.js"; | ||
export declare enum SignaturePartType { | ||
@@ -5,0 +5,0 @@ EOASignature = 0, |
import { ethers } from "ethers"; | ||
import { commons } from ".."; | ||
import { commons } from "../index.js"; | ||
export type SignerLeaf = { | ||
@@ -4,0 +4,0 @@ address: string; |
@@ -1,4 +0,4 @@ | ||
import { WalletContext as BaseContext } from '../commons/context'; | ||
import { WalletContext as BaseContext } from "../commons/context.js"; | ||
export type WalletContext = BaseContext & { | ||
version: 2; | ||
}; |
@@ -1,11 +0,11 @@ | ||
import { WalletContext } from '../commons/context'; | ||
export * as config from "./config"; | ||
export * as signature from "./signature"; | ||
export * as context from './context'; | ||
export * as chained from './chained'; | ||
import { WalletContext } from "../commons/context.js"; | ||
export * as config from "./config.js"; | ||
export * as signature from "./signature.js"; | ||
export * as context from "./context.js"; | ||
export * as chained from "./chained.js"; | ||
export declare const coders: { | ||
config: import("../commons/config").ConfigCoder<import("./config").WalletConfig>; | ||
signature: import("../commons/signature").SignatureCoder<import("./config").WalletConfig, import("./signature").Signature, import("./signature").UnrecoveredSignature | import("./signature").UnrecoveredChainedSignature>; | ||
config: import("../commons/config.js").ConfigCoder<import("./config.js").WalletConfig>; | ||
signature: import("../commons/signature.js").SignatureCoder<import("./config.js").WalletConfig, import("./signature.js").Signature, import("./signature.js").UnrecoveredSignature | import("./signature.js").UnrecoveredChainedSignature>; | ||
}; | ||
export declare const version = 2; | ||
export declare const DeployedWalletContext: WalletContext; |
import { BigNumberish, ethers } from "ethers"; | ||
import { Leaf, WalletConfig, SignerLeaf, Topology } from "./config"; | ||
import * as base from '../commons/signature'; | ||
import { Leaf, WalletConfig, SignerLeaf, Topology } from "./config.js"; | ||
import * as base from "../commons/signature.js"; | ||
export declare enum SignatureType { | ||
@@ -5,0 +5,0 @@ Legacy = 0, |
{ | ||
"name": "@0xsequence/core", | ||
"version": "0.0.0-20230713232611", | ||
"version": "0.0.0-20230726105834", | ||
"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-20230713232611" | ||
"@0xsequence/abi": "0.0.0-20230726105834" | ||
}, | ||
@@ -26,0 +26,0 @@ "scripts": { |
@@ -30,4 +30,3 @@ import { walletContracts } from "@0xsequence/abi" | ||
constructor( | ||
public readonly provider: ethers.providers.Provider, | ||
public readonly contexts?: { [key: number]: commons.context.WalletContext } | ||
public readonly provider: ethers.providers.Provider | ||
) {} | ||
@@ -34,0 +33,0 @@ |
@@ -14,3 +14,3 @@ import { WalletContext } from '../commons/context' | ||
mainModuleUpgradable: '0x7EFE6cE415956c5f80C6530cC6cc81b4808F6118', | ||
walletCreationCode: '', | ||
walletCreationCode: '0x603a600e3d39601a805130553df3363d3d373d3d3d363d30545af43d82803e903d91601857fd5bf3', | ||
} |
@@ -24,3 +24,3 @@ import { WalletContext } from '../commons/context' | ||
mainModuleUpgradable: '0x4222dcA3974E39A8b41c411FeDDE9b09Ae14b911', | ||
walletCreationCode: '', | ||
walletCreationCode: '0x603a600e3d39601a805130553df3363d3d373d3d3d363d30545af43d82803e903d91601857fd5bf3', | ||
} |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
428016
48
0
10455
+ Added@0xsequence/abi@0.0.0-20230726105834(transitive)
- Removed@0xsequence/abi@0.0.0-20230713232611(transitive)