node-red-contrib-vectorprime 0.1.15 → 0.1.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-vectorprime",
3
- "version": "0.1.15",
3
+ "version": "0.1.18",
4
4
  "description": "VectorPrime Decision Kernel node for Node-RED",
5
5
  "main": "vectorprime.js",
6
6
  "license": "MIT",
package/vectorprime.html CHANGED
@@ -72,10 +72,11 @@
72
72
  }
73
73
 
74
74
  // Call backend directly from the editor
75
- const resp = await fetch(`${baseUrl}/v1/keys/free`, {
75
+ const resp = await fetch(`${baseUrl}/v1/keys/create`, {
76
+
76
77
  method: "POST",
77
78
  headers: { "Content-Type": "application/json" },
78
- body: JSON.stringify({ source: "node-red" })
79
+ body: JSON.stringify({})
79
80
  });
80
81
 
81
82
  const text = await resp.text();