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

@layerzerolabs/devtools

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@layerzerolabs/devtools - npm Package Compare versions

Comparing version 0.3.7 to 0.3.8

15

dist/index.d.ts

@@ -724,2 +724,15 @@ import { EndpointId } from '@layerzerolabs/lz-definitions';

declare const vectorFromNodes: (a: OmniNode, b: OmniNode) => OmniVector;
/**
* Helper function to add an `eid` to arbitrary values, converting them to `WithEid`
*
* This is useful to reduce repetition when e.g. creating multiple `OmniPoint` instances on the same network:
*
* ```
* const onMainnet = withEid(EndpointId.ETHEREUM_V2_MAINNET)
*
* const onePoint = onMainnet({ address: '0x0' })
* const anotherPoint = onMainnet({ address: '0x1' })
* ```
*/
declare const withEid: (eid: EndpointId) => <T>(value: T) => WithEid<T>;

@@ -868,2 +881,2 @@ type Hash = string | number | boolean | bigint;

export { AddressSchema, AsyncRetriable, type Bytes, type Bytes20, type Bytes32, type ComposeSpec, type ComposeSpecDependencyCondition, type ComposeSpecDependsOnDefinition, type ComposeSpecPort, type ComposeSpecPortDefinition, type ComposeSpecPortNumber, type ComposeSpecService, type ComposeSpecServiceBuild, type ComposeSpecServiceCommand, type ComposeSpecServiceDependsOn, type ComposeSpecServiceHealthcheck, type ComposeSpecServiceVolume, type ComposeSpecServiceVolumeDefinition, type ComposeSpecServices, type ComposeSpecVersion, type ComposeSpecVolume, type ComposeSpecVolumeDefinition, type ComposeSpecVolumes, type Configurator, type CreateTransactionsFromOmniEdges, type CreateTransactionsFromOmniNodes, EmptyOmniEdgeSchema, EmptyOmniNodeSchema, type EndpointBasedFactory, EndpointIdSchema, type Factory, type IOmniSDK, type InferOmniEdge, type InferOmniNode, type ListOrDict, type OmniAddress, type OmniEdge, type OmniError, type OmniGraph, OmniGraphBuilder, type OmniNode, type OmniPoint, OmniPointMap, OmniPointSchema, type OmniSDKFactory, type OmniSigner, type OmniSignerFactory, type OmniTransaction, type OmniTransactionReceipt, type OmniTransactionResponse, type OmniTransactionWithError, type OmniTransactionWithReceipt, type OmniTransactionWithResponse, type OmniVector, OmniVectorMap, OmniVectorSchema, type OnRetry, type OnSignAndSendProgress, type PossiblyBigInt, type PossiblyBytes, type RetriableConfig, type SignAndSend, type SignAndSendResult, UIntBigIntSchema, UIntNumberSchema, type WithEid, type WithLooseBigInts, type WithOptionals, areBytes32Equal, arePointsEqual, areSameEndpoint, areVectorsEqual, compareBytes32Ascending, createConfigureEdges, createConfigureMultiple, createConfigureNodes, createDefaultRetryHandler, createOmniEdgeSchema, createOmniGraphSchema, createOmniNodeSchema, createRetryFactory, createSignAndSend, createSimpleRetryStrategy, first, firstFactory, flattenTransactions, formatEid, formatOmniPoint, formatOmniTransaction, formatOmniVector, groupTransactionsByEid, ignoreZero, isDeepEqual, isOmniGraphEmpty, isOmniPoint, isVectorPossible, isZero, makeBytes32, mapError, parallel, sequence, serializeDockerComposeSpec, serializePoint, serializeVector, splitCommaSeparated, tapError, vectorFromNodes };
export { AddressSchema, AsyncRetriable, type Bytes, type Bytes20, type Bytes32, type ComposeSpec, type ComposeSpecDependencyCondition, type ComposeSpecDependsOnDefinition, type ComposeSpecPort, type ComposeSpecPortDefinition, type ComposeSpecPortNumber, type ComposeSpecService, type ComposeSpecServiceBuild, type ComposeSpecServiceCommand, type ComposeSpecServiceDependsOn, type ComposeSpecServiceHealthcheck, type ComposeSpecServiceVolume, type ComposeSpecServiceVolumeDefinition, type ComposeSpecServices, type ComposeSpecVersion, type ComposeSpecVolume, type ComposeSpecVolumeDefinition, type ComposeSpecVolumes, type Configurator, type CreateTransactionsFromOmniEdges, type CreateTransactionsFromOmniNodes, EmptyOmniEdgeSchema, EmptyOmniNodeSchema, type EndpointBasedFactory, EndpointIdSchema, type Factory, type IOmniSDK, type InferOmniEdge, type InferOmniNode, type ListOrDict, type OmniAddress, type OmniEdge, type OmniError, type OmniGraph, OmniGraphBuilder, type OmniNode, type OmniPoint, OmniPointMap, OmniPointSchema, type OmniSDKFactory, type OmniSigner, type OmniSignerFactory, type OmniTransaction, type OmniTransactionReceipt, type OmniTransactionResponse, type OmniTransactionWithError, type OmniTransactionWithReceipt, type OmniTransactionWithResponse, type OmniVector, OmniVectorMap, OmniVectorSchema, type OnRetry, type OnSignAndSendProgress, type PossiblyBigInt, type PossiblyBytes, type RetriableConfig, type SignAndSend, type SignAndSendResult, UIntBigIntSchema, UIntNumberSchema, type WithEid, type WithLooseBigInts, type WithOptionals, areBytes32Equal, arePointsEqual, areSameEndpoint, areVectorsEqual, compareBytes32Ascending, createConfigureEdges, createConfigureMultiple, createConfigureNodes, createDefaultRetryHandler, createOmniEdgeSchema, createOmniGraphSchema, createOmniNodeSchema, createRetryFactory, createSignAndSend, createSimpleRetryStrategy, first, firstFactory, flattenTransactions, formatEid, formatOmniPoint, formatOmniTransaction, formatOmniVector, groupTransactionsByEid, ignoreZero, isDeepEqual, isOmniGraphEmpty, isOmniPoint, isVectorPossible, isZero, makeBytes32, mapError, parallel, sequence, serializeDockerComposeSpec, serializePoint, serializeVector, splitCommaSeparated, tapError, vectorFromNodes, withEid };

@@ -172,2 +172,3 @@ 'use strict';

var vectorFromNodes = (a, b) => ({ from: a.point, to: b.point });
var withEid = (eid) => (value) => ({ ...value, eid });
var formatEid = (eid) => {

@@ -538,3 +539,4 @@ var _a4;

exports.vectorFromNodes = vectorFromNodes;
exports.withEid = withEid;
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@layerzerolabs/devtools",
"version": "0.3.7",
"version": "0.3.8",
"description": "Core utilities for working with LayerZero on-chain infrastructure",

@@ -5,0 +5,0 @@ "repository": {

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