viem 0.0.1-alpha.2 → 0.0.1-alpha.3

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,9 +1,9 @@
1
1
  import {
2
- BaseError,
2
+ UrlRequiredError,
3
3
  buildRequest,
4
4
  getSocket,
5
5
  rpc
6
- } from "./chunk-3EOU525X.js";
6
+ } from "./chunk-WZITKXV3.js";
7
7
 
8
8
  // src/clients/transports/createTransport.ts
9
9
  function createTransport(config, value) {
@@ -13,18 +13,6 @@ function createTransport(config, value) {
13
13
  };
14
14
  }
15
15
 
16
- // src/clients/transports/errors.ts
17
- var UrlRequiredError = class extends BaseError {
18
- constructor() {
19
- super(
20
- "No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",
21
- {
22
- docsPath: "/TODO"
23
- }
24
- );
25
- }
26
- };
27
-
28
16
  // src/clients/transports/custom.ts
29
17
  function custom(provider, { key = "custom", name = "Custom Provider" } = {}) {
30
18
  return () => createTransport({
@@ -259,7 +247,6 @@ function createWalletClient({
259
247
 
260
248
  export {
261
249
  createTransport,
262
- UrlRequiredError,
263
250
  custom,
264
251
  fallback,
265
252
  http,