@layerzerolabs/devtools
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -479,5 +479,7 @@ import { EndpointId } from '@layerzerolabs/lz-definitions'; | ||
*/ | ||
type OmniSDKFactory<TOmniSDK extends IOmniSDK = IOmniSDK, TOmniPoint = OmniPoint> = Factory<[ | ||
TOmniPoint | ||
], TOmniSDK>; | ||
type OmniSDKFactory<TOmniSDK = IOmniSDK, TOmniPoint = OmniPoint> = Factory<[TOmniPoint], TOmniSDK>; | ||
/** | ||
* Helper type for configuration functions | ||
*/ | ||
type Configurator<TOmniGraph extends OmniGraph = OmniGraph, TOmniSDK = IOmniSDK> = (graph: TOmniGraph, createSdk: OmniSDKFactory<TOmniSDK>) => Promise<OmniTransaction[]>; | ||
@@ -724,2 +726,4 @@ declare class OmniGraphBuilder<TNodeConfig = unknown, TEdgeConfig = unknown> { | ||
]; | ||
type OnSignAndSendProgress = (result: OmniTransactionWithReceipt, results: OmniTransactionWithReceipt[]) => unknown; | ||
type SignAndSend = (transactions: OmniTransaction[], onProgress?: OnSignAndSendProgress) => Promise<SignAndSendResult>; | ||
/** | ||
@@ -731,3 +735,3 @@ * Creates a sign & send utility for a list of transaction | ||
*/ | ||
declare const createSignAndSend: (createSigner: OmniSignerFactory) => (transactions: OmniTransaction[], onProgress?: ((result: OmniTransactionWithReceipt, results: OmniTransactionWithReceipt[]) => unknown) | undefined) => Promise<SignAndSendResult>; | ||
declare const createSignAndSend: (createSigner: OmniSignerFactory) => SignAndSend; | ||
@@ -743,2 +747,2 @@ declare const flattenTransactions: (transations: (OmniTransaction | OmniTransaction[] | null | undefined)[]) => OmniTransaction[]; | ||
export { AddressSchema, 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, EmptyOmniEdgeSchema, EmptyOmniNodeSchema, type EndpointBasedFactory, EndpointIdSchema, type Factory, type IOmniSDK, 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 PossiblyBigInt, type PossiblyBytes, type SignAndSendResult, UIntBigIntSchema, UIntNumberSchema, type WithEid, type WithLooseBigInts, type WithOptionals, areBytes32Equal, arePointsEqual, areSameEndpoint, areVectorsEqual, compareBytes32Ascending, 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, 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, EmptyOmniEdgeSchema, EmptyOmniNodeSchema, type EndpointBasedFactory, EndpointIdSchema, type Factory, type IOmniSDK, 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 OnSignAndSendProgress, type PossiblyBigInt, type PossiblyBytes, type SignAndSend, type SignAndSendResult, UIntBigIntSchema, UIntNumberSchema, type WithEid, type WithLooseBigInts, type WithOptionals, areBytes32Equal, arePointsEqual, areSameEndpoint, areVectorsEqual, compareBytes32Ascending, 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 }; |
{ | ||
"name": "@layerzerolabs/devtools", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"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
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
185403
1613