Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

enplex.js

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enplex.js - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

4

lib/exe/main.js

@@ -8,3 +8,3 @@ class Executor {

} catch (error) {
throw new Error("Execution Error:", error);
throw new Error("Execution Error:" + error);
}

@@ -19,3 +19,3 @@ }

} catch (error) {
throw new Error("Execution Error:", error);
throw new Error("Execution Error:" + error);
}

@@ -22,0 +22,0 @@ }

@@ -5,3 +5,3 @@ async function Import(module) {

} catch (err) {
throw new Error("Import error: ", err);
throw new Error("Import Error:" + error);
}

@@ -8,0 +8,0 @@ }

@@ -37,3 +37,3 @@ class NextChat {

} catch (err) {
throw new Error("NextChat error: ", err);
throw new Error("NextChat error: " + err);
}

@@ -46,3 +46,3 @@ }

} catch (err) {
throw new Error("NextChat error: ", err);
throw new Error("NextChat error: " + err);
}

@@ -55,3 +55,3 @@ }

} catch (err) {
throw new Error("NextChat error: ", err);
throw new Error("NextChat error: " + err);
}

@@ -84,3 +84,3 @@ }

if (model === "animagen") {
return await (await fetch(`${api}api/animagen?prompt=${prompt}`)).json();
return await (await fetch(`${api}api/animagen?prompt=${prompt}`)).blob();
}

@@ -91,6 +91,6 @@ if (model === "prodia") {

if (model === "mageai") {
return await (await fetch(`${api}api/mageai?prompt=${prompt}`)).json();
return await (await fetch(`${api}api/mageai?prompt=${prompt}`)).blob();
}
if (model === "xl3") {
return await (await fetch(`${api}/xl3?prompt=${prompt}`)).json();
return await (await fetch(`${api}/xl3?prompt=${prompt}`)).blob();
}

@@ -97,0 +97,0 @@ } else if (model === "upscale") {

{
"name": "enplex.js",
"version": "1.0.7",
"version": "1.0.8",
"description": "Enplex is a versatile JavaScript library. providing a unified interface for multiple APIs and services, Enplex empowers developers to build innovative solutions efficiently.",

@@ -71,3 +71,6 @@ "main": "compiler.js",

"@types/node": "^22.9.0"
},
"dependencies": {
"enplex.js": "^1.0.7"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc