@fileverse-dev/ddoc 3.4.2 → 3.4.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.
Files changed (2) hide show
  1. package/dist/index.es.js +1 -9
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -44355,10 +44355,6 @@ const e2e = () => yW((e, t) => ({
44355
44355
  r({ ...o[n] });
44356
44356
  return;
44357
44357
  }
44358
- if (n && n.endsWith(".eth")) {
44359
- r({ name: n, isEns: !0 });
44360
- return;
44361
- }
44362
44358
  if (!n || !s) {
44363
44359
  r({ name: n || "Anonymous", isEns: !1 });
44364
44360
  return;
@@ -53105,7 +53101,7 @@ const T3e = {
53105
53101
  (i) => e ? i.ensCache[e] : void 0
53106
53102
  ), [r, o] = Me(() => ({
53107
53103
  name: e || "Anonymous",
53108
- isEns: !!(e != null && e.endsWith(".eth"))
53104
+ isEns: !1
53109
53105
  }));
53110
53106
  return _e(() => {
53111
53107
  if (!e) {
@@ -53116,10 +53112,6 @@ const T3e = {
53116
53112
  o({ ...n });
53117
53113
  return;
53118
53114
  }
53119
- if (e.endsWith(".eth")) {
53120
- o({ name: e, isEns: !0 });
53121
- return;
53122
- }
53123
53115
  t(e, o);
53124
53116
  }, [e, n, t]), r;
53125
53117
  }, Iq = ({
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "3.4.2",
5
+ "version": "3.4.3",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {