@thenamespace/ens-components 0.17.0 → 0.19.0

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/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ if (typeof process === 'undefined') { var process = { env: {}, version: '', versions: {}, platform: 'browser', nextTick: function(fn) { setTimeout(fn, 0); } }; }
1
2
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
3
  import * as React52 from 'react';
3
4
  import React52__default, { forwardRef, createElement, useState, useRef, useEffect, useMemo, useCallback, createContext, useContext, Fragment as Fragment$1, useReducer } from 'react';
@@ -15,13 +16,12 @@ import { useCapabilities, useWriteContracts } from 'wagmi/experimental';
15
16
  import { call as call$1 } from 'viem/actions';
16
17
  import 'viem/siwe';
17
18
  import crypto$3 from 'crypto';
18
- import require$$0$2 from 'url';
19
- import require$$1$1 from 'http';
20
- import require$$2$1 from 'https';
19
+ import url$1 from 'url';
20
+ import http$3 from 'http';
21
+ import https$1 from 'https';
21
22
  import http2 from 'http2';
22
- import stream, { Readable } from 'stream';
23
- import require$$4 from 'assert';
24
23
  import zlib from 'zlib';
24
+ import stream, { Readable } from 'stream';
25
25
 
26
26
  function _mergeNamespaces(n, m) {
27
27
  for (var i = 0; i < m.length; i++) {
@@ -40689,7 +40689,7 @@ var transitionalDefaults$1 = {
40689
40689
  clarifyTimeoutError: false
40690
40690
  };
40691
40691
 
40692
- var URLSearchParams$2 = require$$0$2.URLSearchParams;
40692
+ var URLSearchParams$2 = url$1.URLSearchParams;
40693
40693
 
40694
40694
  const ALPHA = 'abcdefghijklmnopqrstuvwxyz';
40695
40695
 
@@ -41516,7 +41516,7 @@ function buildFullPath$1(baseURL, requestedURL, allowAbsoluteUrls) {
41516
41516
 
41517
41517
  var proxyFromEnv = {};
41518
41518
 
41519
- var parseUrl$1 = require$$0$2.parse;
41519
+ var parseUrl$1 = require('url').parse;
41520
41520
 
41521
41521
  var DEFAULT_PORTS = {
41522
41522
  ftp: 21,
@@ -44853,12 +44853,12 @@ var debug_1 = function () {
44853
44853
  debug$1.apply(null, arguments);
44854
44854
  };
44855
44855
 
44856
- var url = require$$0$2;
44856
+ var url = require("url");
44857
44857
  var URL$1 = url.URL;
44858
- var http = require$$1$1;
44859
- var https = require$$2$1;
44860
- var Writable = stream.Writable;
44861
- var assert$c = require$$4;
44858
+ var http = require("http");
44859
+ var https = require("https");
44860
+ var Writable = require("stream").Writable;
44861
+ var assert$c = require("assert");
44862
44862
  var debug = debug_1;
44863
44863
 
44864
44864
  // Preventive platform detection
@@ -47184,7 +47184,7 @@ var httpAdapter$1 = isHttpAdapterSupported && function httpAdapter(config) {
47184
47184
  if (config.transport) {
47185
47185
  transport = config.transport;
47186
47186
  } else if (config.maxRedirects === 0) {
47187
- transport = isHttpsRequest ? require$$2$1 : require$$1$1;
47187
+ transport = isHttpsRequest ? https$1 : http$3;
47188
47188
  } else {
47189
47189
  if (config.maxRedirects) {
47190
47190
  options.maxRedirects = config.maxRedirects;