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

@layerzerolabs/devtools-evm

Package Overview
Dependencies
Maintainers
27
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@layerzerolabs/devtools-evm - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

4

dist/index.d.ts

@@ -5,2 +5,3 @@ import { Bytes32, Address, WithEid, OmniPoint, Factory, IOmniSDK as IOmniSDK$1, EndpointBasedFactory, OmniTransaction, OmniSigner, OmniTransactionResponse } from '@layerzerolabs/devtools';

import { TransactionReceipt, BaseProvider, JsonRpcProvider } from '@ethersproject/providers';
import { Logger } from '@layerzerolabs/io-devtools';
import { z } from 'zod';

@@ -142,2 +143,3 @@ import { BigNumberish, BigNumber } from '@ethersproject/bignumber/lib/bignumber';

readonly contract: OmniContract;
protected readonly logger: Logger;
/**

@@ -163,3 +165,3 @@ * Registers a `OmniContractErrorParserFactory` function to be used when

static createErrorParser(contract: OmniContract | null | undefined): OmniContractErrorParser | Promise<OmniContractErrorParser>;
constructor(contract: OmniContract);
constructor(contract: OmniContract, logger?: Logger);
get point(): OmniPoint;

@@ -166,0 +168,0 @@ protected createTransaction(data: string): OmniTransaction;

@@ -213,8 +213,9 @@ 'use strict';

var formatOmniContract = (contract) => `EVM contract at ${devtools.formatOmniPoint(omniContractToPoint(contract))}`;
// src/omnigraph/sdk.ts
var _errorParserFactory;
var OmniSDK = class {
constructor(contract) {
constructor(contract, logger = ioDevtools.createModuleLogger(
`EVM SDK ${new.target.name} @ ${formatOmniContract(contract)}`
)) {
this.contract = contract;
this.logger = logger;
}

@@ -221,0 +222,0 @@ /**

{
"name": "@layerzerolabs/devtools-evm",
"version": "0.0.4",
"version": "0.0.5",
"description": "Utilities for LayerZero EVM projects",

@@ -79,4 +79,4 @@ "repository": {

"lint": "$npm_execpath eslint '**/*.{js,ts,json}'",
"test": "jest"
"test": "jest --ci"
}
}

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