viem 0.3.0-main.20230407T013938 → 0.3.0-main.20230407T042404

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,7 +1,7 @@
1
1
  import {
2
2
  InvalidAddressError,
3
3
  isAddress
4
- } from "./chunk-G5MS5HGY.mjs";
4
+ } from "./chunk-4GLI7S5I.mjs";
5
5
 
6
6
  // src/accounts/toAccount.ts
7
7
  function toAccount(source) {
@@ -28,4 +28,4 @@ function toAccount(source) {
28
28
  export {
29
29
  toAccount
30
30
  };
31
- //# sourceMappingURL=chunk-WROUN36E.mjs.map
31
+ //# sourceMappingURL=chunk-DXGDWVDJ.mjs.map
@@ -1,20 +1,20 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkQITZHDNPjs = require('./chunk-QITZHDNP.js');
4
+ var _chunkSXZBX5P6js = require('./chunk-SXZBX5P6.js');
5
5
 
6
6
  // src/accounts/toAccount.ts
7
7
  function toAccount(source) {
8
8
  if (typeof source === "string") {
9
- if (!_chunkQITZHDNPjs.isAddress.call(void 0, source))
10
- throw new (0, _chunkQITZHDNPjs.InvalidAddressError)({ address: source });
9
+ if (!_chunkSXZBX5P6js.isAddress.call(void 0, source))
10
+ throw new (0, _chunkSXZBX5P6js.InvalidAddressError)({ address: source });
11
11
  return {
12
12
  address: source,
13
13
  type: "json-rpc"
14
14
  };
15
15
  }
16
- if (!_chunkQITZHDNPjs.isAddress.call(void 0, source.address))
17
- throw new (0, _chunkQITZHDNPjs.InvalidAddressError)({ address: source.address });
16
+ if (!_chunkSXZBX5P6js.isAddress.call(void 0, source.address))
17
+ throw new (0, _chunkSXZBX5P6js.InvalidAddressError)({ address: source.address });
18
18
  return {
19
19
  address: source.address,
20
20
  signMessage: source.signMessage,
@@ -28,4 +28,4 @@ function toAccount(source) {
28
28
 
29
29
 
30
30
  exports.toAccount = toAccount;
31
- //# sourceMappingURL=chunk-DT4KSXZC.js.map
31
+ //# sourceMappingURL=chunk-LS5VFAOZ.js.map