viem 0.0.0-main.20240317T053608 → 0.0.0-main.20240317T143715

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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '0.0.0-main.20240317T053608';
4
+ exports.version = '0.0.0-main.20240317T143715';
5
5
  //# sourceMappingURL=version.js.map
@@ -20,10 +20,10 @@ import { getL1BaseFee, } from '../actions/getL1BaseFee.js';
20
20
  * import { optimism } from 'viem/chains'
21
21
  * import { buildDepositTransaction } from 'viem/wallet'
22
22
  *
23
- * export const opStackPublicClientL1 = createWalletClient({
23
+ * export const opStackPublicClientL2 = createPublicClient({
24
24
  * chain: optimism,
25
25
  * transport: http(),
26
- * }).extend(publicActionsL1())
26
+ * }).extend(publicActionsL2())
27
27
  */
28
28
  export function publicActionsL2() {
29
29
  return (client) => {
@@ -1,2 +1,2 @@
1
- export const version = '0.0.0-main.20240317T053608';
1
+ export const version = '0.0.0-main.20240317T143715';
2
2
  //# sourceMappingURL=version.js.map
@@ -324,10 +324,10 @@ export type PublicActionsL2<chain extends Chain | undefined = Chain | undefined,
324
324
  * import { optimism } from 'viem/chains'
325
325
  * import { buildDepositTransaction } from 'viem/wallet'
326
326
  *
327
- * export const opStackPublicClientL1 = createWalletClient({
327
+ * export const opStackPublicClientL2 = createPublicClient({
328
328
  * chain: optimism,
329
329
  * transport: http(),
330
- * }).extend(publicActionsL1())
330
+ * }).extend(publicActionsL2())
331
331
  */
332
332
  export declare function publicActionsL2(): <TTransport extends Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined>(client: Client<TTransport, TChain, TAccount>) => PublicActionsL2<TChain, TAccount>;
333
333
  //# sourceMappingURL=publicL2.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare const version = "0.0.0-main.20240317T053608";
1
+ export declare const version = "0.0.0-main.20240317T143715";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -482,10 +482,10 @@ export type PublicActionsL2<
482
482
  * import { optimism } from 'viem/chains'
483
483
  * import { buildDepositTransaction } from 'viem/wallet'
484
484
  *
485
- * export const opStackPublicClientL1 = createWalletClient({
485
+ * export const opStackPublicClientL2 = createPublicClient({
486
486
  * chain: optimism,
487
487
  * transport: http(),
488
- * }).extend(publicActionsL1())
488
+ * }).extend(publicActionsL2())
489
489
  */
490
490
  export function publicActionsL2() {
491
491
  return <
package/errors/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '0.0.0-main.20240317T053608'
1
+ export const version = '0.0.0-main.20240317T143715'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "viem",
3
3
  "description": "TypeScript Interface for Ethereum",
4
- "version": "0.0.0-main.20240317T053608",
4
+ "version": "0.0.0-main.20240317T143715",
5
5
  "type": "module",
6
6
  "main": "./_cjs/index.js",
7
7
  "module": "./_esm/index.js",