@ichaingo/image 1.5.13 → 1.5.14

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.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { memo as l, useState as g, useMemo as _ } from "react";
4
4
  import h from "next/image";
5
5
  const i = new RegExp("http(s)?://{image_base_path}"), E = ({ src: e, width: a }) => {
6
6
  if (i.test(e))
7
- return e.replace(i, process.env.NEXT_PUBLIC_IMAGE_BASE_PATH || "");
7
+ return e.replace(i, process.env.NEXT_PUBLIC_IMAGES_URL || "");
8
8
  if (typeof e != "string" || e.includes("default_image_bd46f9a3d8.png") || e.includes("default_f7fac00bf2.png"))
9
9
  return e;
10
10
  if (e.includes("ichainfo.com") || e.includes("ichatgo.ai")) {
@@ -42,7 +42,7 @@ const i = new RegExp("http(s)?://{image_base_path}"), E = ({ src: e, width: a })
42
42
  ...u
43
43
  }
44
44
  );
45
- }, P = l(c);
45
+ }, I = l(c);
46
46
  export {
47
- P as default
47
+ I as default
48
48
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichaingo/image",
3
- "version": "1.5.13",
3
+ "version": "1.5.14",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",