viem 0.0.0-main.20240106T052441 → 0.0.0-main.20240106T160606
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/_cjs/errors/version.js +1 -1
- package/_esm/chains/opStack/actions/getTimeToFinalize.js +1 -1
- package/_esm/chains/opStack/actions/getTimeToProve.js +1 -1
- package/_esm/chains/opStack/actions/getWithdrawalStatus.js +1 -1
- package/_esm/chains/opStack/actions/waitToFinalize.js +1 -1
- package/_esm/chains/opStack/actions/waitToProve.js +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/chains/opStack/actions/getTimeToFinalize.d.ts +1 -1
- package/_types/chains/opStack/actions/getTimeToProve.d.ts +1 -1
- package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts +1 -1
- package/_types/chains/opStack/actions/waitToFinalize.d.ts +1 -1
- package/_types/chains/opStack/actions/waitToProve.d.ts +1 -1
- package/_types/chains/opStack/decorators/publicL1.d.ts +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/chains/opStack/actions/getTimeToFinalize.ts +1 -1
- package/chains/opStack/actions/getTimeToProve.ts +1 -1
- package/chains/opStack/actions/getWithdrawalStatus.ts +1 -1
- package/chains/opStack/actions/waitToFinalize.ts +1 -1
- package/chains/opStack/actions/waitToProve.ts +1 -1
- package/chains/opStack/decorators/publicL1.ts +1 -1
- package/errors/version.ts +1 -1
- package/package.json +1 -1
package/_cjs/errors/version.js
CHANGED
@@ -25,7 +25,7 @@ const buffer = 10;
|
|
25
25
|
* transport: http(),
|
26
26
|
* })
|
27
27
|
*
|
28
|
-
* const receipt = await getTransactionReceipt(
|
28
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
29
29
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
30
30
|
* })
|
31
31
|
*
|
@@ -23,7 +23,7 @@ import { getTimeToNextL2Output, } from './getTimeToNextL2Output.js';
|
|
23
23
|
* transport: http(),
|
24
24
|
* })
|
25
25
|
*
|
26
|
-
* const receipt = await getTransactionReceipt(
|
26
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
27
27
|
* const { period, seconds, timestamp } = await getTimeToProve(publicClientL1, {
|
28
28
|
* receipt,
|
29
29
|
* targetChain: optimism
|
@@ -29,7 +29,7 @@ import { getTimeToFinalize, } from './getTimeToFinalize.js';
|
|
29
29
|
* transport: http(),
|
30
30
|
* })
|
31
31
|
*
|
32
|
-
* const receipt = await getTransactionReceipt(
|
32
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
33
33
|
* const status = await getWithdrawalStatus(publicClientL1, {
|
34
34
|
* receipt,
|
35
35
|
* targetChain: optimism
|
@@ -23,7 +23,7 @@ import { getTimeToFinalize, } from './getTimeToFinalize.js';
|
|
23
23
|
* transport: http(),
|
24
24
|
* })
|
25
25
|
*
|
26
|
-
* const receipt = await getTransactionReceipt(
|
26
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
27
27
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
28
28
|
* })
|
29
29
|
*
|
@@ -25,7 +25,7 @@ import { waitForNextL2Output, } from './waitForNextL2Output.js';
|
|
25
25
|
* transport: http(),
|
26
26
|
* })
|
27
27
|
*
|
28
|
-
* const receipt = await getTransactionReceipt(
|
28
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
29
29
|
* await waitToProve(publicClientL1, {
|
30
30
|
* receipt,
|
31
31
|
* targetChain: optimism
|
package/_esm/errors/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export const version = '0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20240106T160606';
|
2
2
|
//# sourceMappingURL=version.js.map
|
@@ -42,7 +42,7 @@ export type GetTimeToFinalizeErrorType = MulticallErrorType | ErrorType;
|
|
42
42
|
* transport: http(),
|
43
43
|
* })
|
44
44
|
*
|
45
|
-
* const receipt = await getTransactionReceipt(
|
45
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
46
46
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
47
47
|
* })
|
48
48
|
*
|
@@ -40,7 +40,7 @@ export type GetTimeToProveErrorType = GetTimeToNextL2OutputErrorType | ErrorType
|
|
40
40
|
* transport: http(),
|
41
41
|
* })
|
42
42
|
*
|
43
|
-
* const receipt = await getTransactionReceipt(
|
43
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
44
44
|
* const { period, seconds, timestamp } = await getTimeToProve(publicClientL1, {
|
45
45
|
* receipt,
|
46
46
|
* targetChain: optimism
|
@@ -38,7 +38,7 @@ export type GetWithdrawalStatusErrorType = GetL2OutputErrorType | GetTimeToFinal
|
|
38
38
|
* transport: http(),
|
39
39
|
* })
|
40
40
|
*
|
41
|
-
* const receipt = await getTransactionReceipt(
|
41
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
42
42
|
* const status = await getWithdrawalStatus(publicClientL1, {
|
43
43
|
* receipt,
|
44
44
|
* targetChain: optimism
|
@@ -30,7 +30,7 @@ export type WaitToFinalizeErrorType = GetTimeToFinalizeErrorType | ErrorType;
|
|
30
30
|
* transport: http(),
|
31
31
|
* })
|
32
32
|
*
|
33
|
-
* const receipt = await getTransactionReceipt(
|
33
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
34
34
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
35
35
|
* })
|
36
36
|
*
|
@@ -45,7 +45,7 @@ export type WaitToProveErrorType = GetWithdrawalsErrorType | WaitForNextL2Output
|
|
45
45
|
* transport: http(),
|
46
46
|
* })
|
47
47
|
*
|
48
|
-
* const receipt = await getTransactionReceipt(
|
48
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
49
49
|
* await waitToProve(publicClientL1, {
|
50
50
|
* receipt,
|
51
51
|
* targetChain: optimism
|
@@ -338,7 +338,7 @@ export type PublicActionsL1<chain extends Chain | undefined = Chain | undefined,
|
|
338
338
|
* transport: http(),
|
339
339
|
* })
|
340
340
|
*
|
341
|
-
* const receipt = await getTransactionReceipt(
|
341
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
342
342
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
343
343
|
* })
|
344
344
|
*
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "0.0.0-main.
|
1
|
+
export declare const version = "0.0.0-main.20240106T160606";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -59,7 +59,7 @@ const buffer = 10
|
|
59
59
|
* transport: http(),
|
60
60
|
* })
|
61
61
|
*
|
62
|
-
* const receipt = await getTransactionReceipt(
|
62
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
63
63
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
64
64
|
* })
|
65
65
|
*
|
@@ -56,7 +56,7 @@ export type GetTimeToProveErrorType = GetTimeToNextL2OutputErrorType | ErrorType
|
|
56
56
|
* transport: http(),
|
57
57
|
* })
|
58
58
|
*
|
59
|
-
* const receipt = await getTransactionReceipt(
|
59
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
60
60
|
* const { period, seconds, timestamp } = await getTimeToProve(publicClientL1, {
|
61
61
|
* receipt,
|
62
62
|
* targetChain: optimism
|
@@ -71,7 +71,7 @@ export type GetWithdrawalStatusErrorType =
|
|
71
71
|
* transport: http(),
|
72
72
|
* })
|
73
73
|
*
|
74
|
-
* const receipt = await getTransactionReceipt(
|
74
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
75
75
|
* const status = await getWithdrawalStatus(publicClientL1, {
|
76
76
|
* receipt,
|
77
77
|
* targetChain: optimism
|
@@ -40,7 +40,7 @@ export type WaitToFinalizeErrorType = GetTimeToFinalizeErrorType | ErrorType
|
|
40
40
|
* transport: http(),
|
41
41
|
* })
|
42
42
|
*
|
43
|
-
* const receipt = await getTransactionReceipt(
|
43
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
44
44
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
45
45
|
* })
|
46
46
|
*
|
@@ -67,7 +67,7 @@ export type WaitToProveErrorType =
|
|
67
67
|
* transport: http(),
|
68
68
|
* })
|
69
69
|
*
|
70
|
-
* const receipt = await getTransactionReceipt(
|
70
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
71
71
|
* await waitToProve(publicClientL1, {
|
72
72
|
* receipt,
|
73
73
|
* targetChain: optimism
|
@@ -436,7 +436,7 @@ export type PublicActionsL1<
|
|
436
436
|
* transport: http(),
|
437
437
|
* })
|
438
438
|
*
|
439
|
-
* const receipt = await getTransactionReceipt(
|
439
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
440
440
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
441
441
|
* })
|
442
442
|
*
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20240106T160606'
|
package/package.json
CHANGED