@xsai/generate-image 0.3.2 → 0.3.4

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 +0 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -11,7 +11,6 @@ const convertImage = (b64_json) => {
11
11
  const key = Object.keys(mimeTypes).find((prefix) => b64_json.startsWith(prefix));
12
12
  const mimeType = mimeTypes[key ?? "iVBORw0KGgo"];
13
13
  return {
14
- // eslint-disable-next-line @masknet/string-no-data-url
15
14
  base64: `data:${mimeType};base64,${b64_json}`,
16
15
  mimeType
17
16
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xsai/generate-image",
3
3
  "type": "module",
4
- "version": "0.3.2",
4
+ "version": "0.3.4",
5
5
  "description": "extra-small AI SDK.",
6
6
  "author": "Moeru AI",
7
7
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "dist"
30
30
  ],
31
31
  "dependencies": {
32
- "@xsai/shared": "~0.3.2"
32
+ "@xsai/shared": "~0.3.4"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "pkgroll"