@botpress/runtime 1.13.11 → 1.13.12
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/dist/definition.js +5 -2
- package/dist/definition.js.map +2 -2
- package/dist/internal.js +5 -2
- package/dist/internal.js.map +2 -2
- package/dist/library.js +5 -2
- package/dist/library.js.map +2 -2
- package/dist/runtime/context/context.d.ts.map +1 -1
- package/dist/runtime.js +5 -2
- package/dist/runtime.js.map +2 -2
- package/package.json +1 -1
package/dist/internal.js
CHANGED
|
@@ -48,7 +48,7 @@ var init_define_BUILD = __esm({
|
|
|
48
48
|
var define_PACKAGE_VERSIONS_default;
|
|
49
49
|
var init_define_PACKAGE_VERSIONS = __esm({
|
|
50
50
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
51
|
-
define_PACKAGE_VERSIONS_default = { runtime: "1.13.
|
|
51
|
+
define_PACKAGE_VERSIONS_default = { runtime: "1.13.12", adk: "1.13.12", sdk: "5.0.2", llmz: "0.0.37", zai: "2.5.6", cognitive: "0.3.3" };
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -402,7 +402,10 @@ var init_context = __esm({
|
|
|
402
402
|
return storage.run(data, callback);
|
|
403
403
|
},
|
|
404
404
|
getAll: () => {
|
|
405
|
-
|
|
405
|
+
let store = storage.getStore();
|
|
406
|
+
if (!store && defaultContext.value) {
|
|
407
|
+
store = defaultContext.value;
|
|
408
|
+
}
|
|
406
409
|
if (!store) throw new Error("No context found. Did you forget to call `context.run()`?");
|
|
407
410
|
return store;
|
|
408
411
|
},
|