@digipair/skill-web-editor 0.4.4 → 0.4.5
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/index.cjs2.js +2 -4
- package/index.esm2.js +2 -4
- package/package.json +1 -1
package/index.cjs2.js
CHANGED
|
@@ -3029,7 +3029,7 @@ class GenericSceneElement extends s {
|
|
|
3029
3029
|
Blockly.Events.enable();
|
|
3030
3030
|
}
|
|
3031
3031
|
async getReasoning(digipair, reasoning) {
|
|
3032
|
-
const response = await fetch(`${window.origin}/admin/reasoning-read`, {
|
|
3032
|
+
const response = await fetch(`${window.origin}/agent/admin/reasoning-read`, {
|
|
3033
3033
|
headers: {
|
|
3034
3034
|
'content-type': 'application/json'
|
|
3035
3035
|
},
|
|
@@ -3043,9 +3043,7 @@ class GenericSceneElement extends s {
|
|
|
3043
3043
|
return content;
|
|
3044
3044
|
}
|
|
3045
3045
|
async getLibraries(libraries) {
|
|
3046
|
-
const list = await Promise.all(Object.keys(libraries).map(async (library, i)
|
|
3047
|
-
// @todo: to replace
|
|
3048
|
-
fetch(`http://localhost:4000/${library.split('/')[1]}/schema.json`).then((res)=>res.json())));
|
|
3046
|
+
const list = await Promise.all(Object.keys(libraries).map(async (library, i)=>fetch(`${BASE_URL}/${library}@${libraries[library]}/schema.json`).then((res)=>res.json())));
|
|
3049
3047
|
return list;
|
|
3050
3048
|
}
|
|
3051
3049
|
async loadScene(digipair, reasoning) {
|
package/index.esm2.js
CHANGED
|
@@ -3027,7 +3027,7 @@ class GenericSceneElement extends s {
|
|
|
3027
3027
|
Blockly.Events.enable();
|
|
3028
3028
|
}
|
|
3029
3029
|
async getReasoning(digipair, reasoning) {
|
|
3030
|
-
const response = await fetch(`${window.origin}/admin/reasoning-read`, {
|
|
3030
|
+
const response = await fetch(`${window.origin}/agent/admin/reasoning-read`, {
|
|
3031
3031
|
headers: {
|
|
3032
3032
|
'content-type': 'application/json'
|
|
3033
3033
|
},
|
|
@@ -3041,9 +3041,7 @@ class GenericSceneElement extends s {
|
|
|
3041
3041
|
return content;
|
|
3042
3042
|
}
|
|
3043
3043
|
async getLibraries(libraries) {
|
|
3044
|
-
const list = await Promise.all(Object.keys(libraries).map(async (library, i)
|
|
3045
|
-
// @todo: to replace
|
|
3046
|
-
fetch(`http://localhost:4000/${library.split('/')[1]}/schema.json`).then((res)=>res.json())));
|
|
3044
|
+
const list = await Promise.all(Object.keys(libraries).map(async (library, i)=>fetch(`${BASE_URL}/${library}@${libraries[library]}/schema.json`).then((res)=>res.json())));
|
|
3047
3045
|
return list;
|
|
3048
3046
|
}
|
|
3049
3047
|
async loadScene(digipair, reasoning) {
|