@layerzerolabs/lz-core
Advanced tools
Comparing version 2.1.24 to 2.1.25
# @layerzerolabs/lz-core | ||
## 2.1.25 | ||
### Patch Changes | ||
- 57fe209: wire ulnv2 during snapshot build | ||
## 2.1.24 | ||
@@ -4,0 +10,0 @@ |
@@ -152,6 +152,5 @@ type NonPromise<T> = T extends Promise<unknown> ? never : T; | ||
readonly native: unknown; | ||
connectedTo<T>(item: T): T; | ||
} | ||
declare abstract class Signer { | ||
interface Signer { | ||
/** | ||
@@ -161,3 +160,3 @@ * Connect to a provider | ||
*/ | ||
abstract connect(provider: Provider): Signer; | ||
connect(provider: Provider): Signer; | ||
/** | ||
@@ -167,3 +166,3 @@ * Sign a transaction | ||
*/ | ||
abstract signTransaction(transaction: TransactionRequest): Promise<SignedTransaction>; | ||
signTransaction(transaction: TransactionRequest): Promise<SignedTransaction>; | ||
/** | ||
@@ -174,3 +173,3 @@ * Send a transaction | ||
*/ | ||
abstract sendTransaction(transaction: SignedTransaction, sendOptions?: any): Promise<TransactionPending>; | ||
sendTransaction(transaction: SignedTransaction, sendOptions?: any): Promise<TransactionPending>; | ||
/** | ||
@@ -181,11 +180,11 @@ * Send a transaction and wait for confirmation | ||
*/ | ||
abstract sendAndConfirm(transaction: SignedTransaction, opts?: any): Promise<TransactionReceipt>; | ||
sendAndConfirm(transaction: SignedTransaction, opts?: any): Promise<TransactionReceipt>; | ||
/** | ||
* Sign a buffer (e.g. a message hash) | ||
*/ | ||
abstract signBuffer(buffer: Uint8Array): Promise<Uint8Array>; | ||
signBuffer(buffer: Uint8Array): Promise<Uint8Array>; | ||
/** | ||
* returns the address of the signer | ||
*/ | ||
abstract getAddress(): Promise<string>; | ||
getAddress(): Promise<string>; | ||
/** | ||
@@ -196,3 +195,7 @@ * Native signer object | ||
} | ||
interface Connectable<T> { | ||
connect<U>(provider: U): T; | ||
} | ||
declare function isConnectable<T>(obj: any): obj is Connectable<T>; | ||
export { Block, type BlockTag, BlockWithTransactions, type Finality, type Provider, SignedTransaction, Signer, type TransactionHash, TransactionPending, TransactionReceipt, TransactionRequest, TransactionResponse }; | ||
export { Block, type BlockTag, BlockWithTransactions, type Connectable, type Finality, type Provider, SignedTransaction, type Signer, type TransactionHash, TransactionPending, TransactionReceipt, TransactionRequest, TransactionResponse, isConnectable }; |
{ | ||
"name": "@layerzerolabs/lz-core", | ||
"version": "2.1.24", | ||
"version": "2.1.25", | ||
"description": "LayerZero Core Library", | ||
@@ -30,4 +30,4 @@ "license": "BUSL-1.1", | ||
"@jest/globals": "^29.7.0", | ||
"@layerzerolabs/tsup-config-next": "^2.1.24", | ||
"@layerzerolabs/typescript-config-next": "^2.1.24", | ||
"@layerzerolabs/tsup-config-next": "^2.1.25", | ||
"@layerzerolabs/typescript-config-next": "^2.1.25", | ||
"@types/jest": "^29.5.10", | ||
@@ -34,0 +34,0 @@ "jest": "^29.7.0", |
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
Sorry, the diff of this file is not supported yet
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
30895
339
0