@layerzerolabs/lz-core 3.0.11 → 3.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -147,6 +147,13 @@ interface Provider {
|
|
|
147
147
|
* @param sendOptions
|
|
148
148
|
*/
|
|
149
149
|
sendTransaction(transaction: SignedTransaction, sendOptions?: unknown): Promise<TransactionPending>;
|
|
150
|
+
/**
|
|
151
|
+
* Confirm a pending transaction.
|
|
152
|
+
* @param {TransactionPending} pending - The hash of the pending transaction.
|
|
153
|
+
* @param {unknown} [opts] - Optional parameters for the confirmation.
|
|
154
|
+
* @returns {Promise<TransactionReceipt>} A promise that resolves to the transaction receipt.
|
|
155
|
+
*/
|
|
156
|
+
confirmTransaction(pending: TransactionPending, opts?: unknown): Promise<TransactionReceipt>;
|
|
150
157
|
/**
|
|
151
158
|
* Send a transaction and wait for confirmation
|
|
152
159
|
* @param transaction
|
package/dist/index.d.ts
CHANGED
|
@@ -147,6 +147,13 @@ interface Provider {
|
|
|
147
147
|
* @param sendOptions
|
|
148
148
|
*/
|
|
149
149
|
sendTransaction(transaction: SignedTransaction, sendOptions?: unknown): Promise<TransactionPending>;
|
|
150
|
+
/**
|
|
151
|
+
* Confirm a pending transaction.
|
|
152
|
+
* @param {TransactionPending} pending - The hash of the pending transaction.
|
|
153
|
+
* @param {unknown} [opts] - Optional parameters for the confirmation.
|
|
154
|
+
* @returns {Promise<TransactionReceipt>} A promise that resolves to the transaction receipt.
|
|
155
|
+
*/
|
|
156
|
+
confirmTransaction(pending: TransactionPending, opts?: unknown): Promise<TransactionReceipt>;
|
|
150
157
|
/**
|
|
151
158
|
* Send a transaction and wait for confirmation
|
|
152
159
|
* @param transaction
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/lz-core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.12",
|
|
4
4
|
"description": "LayerZero Core Library",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"exports": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"clean-prebuild": "rimraf dist"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@layerzerolabs/lz-foundation": "^3.0.
|
|
26
|
+
"@layerzerolabs/lz-foundation": "^3.0.12",
|
|
27
27
|
"@noble/ed25519": "^1.7.1",
|
|
28
28
|
"@noble/hashes": "^1.3.2",
|
|
29
29
|
"@noble/secp256k1": "^1.7.1",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@jest/globals": "^29.7.0",
|
|
34
|
-
"@layerzerolabs/tsup-config-next": "^3.0.
|
|
35
|
-
"@layerzerolabs/typescript-config-next": "^3.0.
|
|
34
|
+
"@layerzerolabs/tsup-config-next": "^3.0.12",
|
|
35
|
+
"@layerzerolabs/typescript-config-next": "^3.0.12",
|
|
36
36
|
"@types/jest": "^29.5.10",
|
|
37
37
|
"jest": "^29.7.0",
|
|
38
38
|
"rimraf": "^5.0.5",
|