yaml-flow 8.8.0 → 8.8.6
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/browser/adapters/firestore-storage.js +2 -2
- package/browser/adapters/localstorage-storage.js +1 -1
- package/browser/asset-integrity.json +6 -6
- package/browser/live-cards.js +6 -6
- package/browser/server-runtime-controlface.js +4 -4
- package/examples/board/server/chat-flow/flow-steps.json +5 -5
- package/examples/board/test/server-http-test.js +623 -18
- package/lib/board-live-cards-node.cjs +7 -7
- package/lib/board-live-cards-node.d.cts +61 -7
- package/lib/board-live-cards-node.d.ts +61 -7
- package/lib/board-live-cards-node.js +7 -7
- package/lib/board-live-cards-public.cjs +1 -1
- package/lib/board-live-cards-public.js +1 -1
- package/lib/board-live-cards-server-runtime.cjs +1 -1
- package/lib/board-live-cards-server-runtime.d.cts +1 -1
- package/lib/board-live-cards-server-runtime.d.ts +1 -1
- package/lib/board-live-cards-server-runtime.js +1 -1
- package/lib/board-livegraph-runtime/index.cjs +1 -1
- package/lib/board-livegraph-runtime/index.d.cts +1 -0
- package/lib/board-livegraph-runtime/index.d.ts +1 -0
- package/lib/board-livegraph-runtime/index.js +1 -1
- package/lib/chunk-36QUKFL7.cjs +3 -0
- package/lib/chunk-3MMTBEAO.js +2 -0
- package/lib/{chunk-YGKDQLYP.js → chunk-4HIEOBJC.js} +2 -2
- package/lib/chunk-7QQFDYBM.js +3 -0
- package/lib/chunk-ABAVFLDP.js +7 -0
- package/lib/chunk-EPCJYP4N.js +3 -0
- package/lib/chunk-H22NK6KH.cjs +7 -0
- package/lib/chunk-OJ2CAQ4C.cjs +2 -0
- package/lib/chunk-QG6ERLZQ.cjs +3 -0
- package/lib/{chunk-S6DRP2HX.cjs → chunk-XQAHHUZO.cjs} +2 -2
- package/lib/chunk-ZENTBLLA.cjs +3 -0
- package/lib/chunk-ZWVT24YW.js +3 -0
- package/lib/cloud-storage.cjs +1 -1
- package/lib/cloud-storage.js +1 -1
- package/lib/compute-jsonata/browser.cjs +2 -0
- package/lib/compute-jsonata/browser.d.cts +20 -0
- package/lib/compute-jsonata/browser.d.ts +20 -0
- package/lib/compute-jsonata/browser.js +2 -0
- package/lib/compute-jsonata/index.cjs +2 -0
- package/lib/compute-jsonata/index.d.cts +20 -0
- package/lib/compute-jsonata/index.d.ts +20 -0
- package/lib/compute-jsonata/index.js +2 -0
- package/lib/compute-jsonata/jsonata-sync.cjs +7623 -0
- package/lib/firestore-storage/index.cjs +2 -2
- package/lib/firestore-storage/index.d.cts +2 -13
- package/lib/firestore-storage/index.d.ts +2 -13
- package/lib/firestore-storage/index.js +2 -2
- package/lib/index.cjs +2 -2
- package/lib/index.js +1 -1
- package/lib/localstorage-storage/index.cjs +1 -1
- package/lib/localstorage-storage/index.js +1 -1
- package/lib/server-jobs-queue-runner/index.d.cts +1 -1
- package/lib/server-jobs-queue-runner/index.d.ts +1 -1
- package/lib/server-runtime/index.cjs +1 -1
- package/lib/server-runtime/index.d.cts +2 -2
- package/lib/server-runtime/index.d.ts +2 -2
- package/lib/server-runtime/index.js +1 -1
- package/lib/server-runtime-agentface/index.d.cts +1 -1
- package/lib/server-runtime-agentface/index.d.ts +1 -1
- package/lib/server-runtime-controlface/index.cjs +1 -1
- package/lib/server-runtime-controlface/index.d.cts +1 -1
- package/lib/server-runtime-controlface/index.d.ts +1 -1
- package/lib/server-runtime-controlface/index.js +1 -1
- package/lib/server-runtime-core/index.cjs +1 -1
- package/lib/server-runtime-core/index.d.cts +3 -3
- package/lib/server-runtime-core/index.d.ts +3 -3
- package/lib/server-runtime-core/index.js +1 -1
- package/lib/server-runtime-watchers/index.cjs +1 -1
- package/lib/server-runtime-watchers/index.d.cts +3 -3
- package/lib/server-runtime-watchers/index.d.ts +3 -3
- package/lib/server-runtime-watchers/index.js +1 -1
- package/lib/server-runtime-webhooks/index.d.cts +1 -1
- package/lib/server-runtime-webhooks/index.d.ts +1 -1
- package/lib/{sse-hub-CYXisfXJ.d.cts → sse-hub-BDjWI7JR.d.cts} +1 -1
- package/lib/{sse-hub-Dodwtc3_.d.ts → sse-hub-DM8bw-dO.d.ts} +1 -1
- package/lib/{types-BtH3scgE.d.ts → types-BsfXZyI3.d.ts} +1 -1
- package/lib/{types-Ch0u3FKP.d.cts → types-CPnYv7RC.d.cts} +1 -1
- package/package.json +7 -1
- package/examples/board/test/sse-worker.js +0 -49
- package/lib/chunk-2GSI6C45.js +0 -7
- package/lib/chunk-CMFD27ZC.cjs +0 -3
- package/lib/chunk-DOFNXJ4C.js +0 -3
- package/lib/chunk-GU3T75C4.js +0 -3
- package/lib/chunk-H3EHFCDZ.js +0 -3
- package/lib/chunk-HEEDJEKM.js +0 -2
- package/lib/chunk-IQIZA7TN.cjs +0 -7
- package/lib/chunk-NDAKMJQK.cjs +0 -3
- package/lib/chunk-NU5NO5NM.js +0 -2
- package/lib/chunk-O4RKTQBP.cjs +0 -3
- package/lib/chunk-PBCDDO4V.cjs +0 -2
- package/lib/chunk-ZK3E7L4Y.cjs +0 -2
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* compute-jsonata (browser/vite entry)
|
|
3
|
+
*
|
|
4
|
+
* Browser-safe sync JSONata compiler/evaluator. Reads the compiler from
|
|
5
|
+
* globalThis.jsonataSync, which is provided by yaml-flow/browser/compute-jsonata.js.
|
|
6
|
+
*/
|
|
7
|
+
type JsonataExpression = {
|
|
8
|
+
evaluate: (data: unknown) => unknown;
|
|
9
|
+
};
|
|
10
|
+
type JsonataCompiler = (expr: string) => JsonataExpression;
|
|
11
|
+
declare function jsonata(expr: string): JsonataExpression;
|
|
12
|
+
declare function compileSync(expr: string): JsonataExpression;
|
|
13
|
+
declare function evaluateSync(expr: string, data: unknown): unknown;
|
|
14
|
+
declare const ComputeJsonata: {
|
|
15
|
+
jsonata: typeof jsonata;
|
|
16
|
+
compileSync: typeof compileSync;
|
|
17
|
+
evaluateSync: typeof evaluateSync;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { type JsonataCompiler, type JsonataExpression, compileSync, ComputeJsonata as default, evaluateSync, jsonata };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import'../chunk-FW4363Y4.js';function e(){let n=globalThis.jsonataSync;if(typeof n=="function")return n;throw new Error("[yaml-flow/compute-jsonata] Missing globalThis.jsonataSync. Load yaml-flow/browser/compute-jsonata.js before importing this browser path.")}function o(n){return e()(n)}function t(n){return o(n)}function s(n,a){return t(n).evaluate(a)}var r={jsonata:o,compileSync:t,evaluateSync:s},i=r;export{t as compileSync,i as default,s as evaluateSync,o as jsonata};//# sourceMappingURL=browser.js.map
|
|
2
|
+
//# sourceMappingURL=browser.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});require('../chunk-GNFE24S7.cjs');var module$1=require('module');var _documentCurrentScript=typeof document!=='undefined'?document.currentScript:null;var r=module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))),t=r("./jsonata-sync.cjs");function o(n){return t(n)}function s(n,e){return o(n).evaluate(e)}var p={jsonata:t,compileSync:o,evaluateSync:s},i=p;exports.compileSync=o;exports.default=i;exports.evaluateSync=s;exports.jsonata=t;//# sourceMappingURL=index.cjs.map
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* compute-jsonata (Node/npm entry)
|
|
3
|
+
*
|
|
4
|
+
* Sync JSONata compiler/evaluator backed by vendored jsonata-sync.cjs.
|
|
5
|
+
* Intended for npm ESM/CJS consumers in Node-like runtimes.
|
|
6
|
+
*/
|
|
7
|
+
type JsonataExpression = {
|
|
8
|
+
evaluate: (data: unknown) => unknown;
|
|
9
|
+
};
|
|
10
|
+
type JsonataCompiler = (expr: string) => JsonataExpression;
|
|
11
|
+
declare const jsonata: JsonataCompiler;
|
|
12
|
+
declare function compileSync(expr: string): JsonataExpression;
|
|
13
|
+
declare function evaluateSync(expr: string, data: unknown): unknown;
|
|
14
|
+
declare const ComputeJsonata: {
|
|
15
|
+
jsonata: JsonataCompiler;
|
|
16
|
+
compileSync: typeof compileSync;
|
|
17
|
+
evaluateSync: typeof evaluateSync;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { type JsonataCompiler, type JsonataExpression, compileSync, ComputeJsonata as default, evaluateSync, jsonata };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* compute-jsonata (Node/npm entry)
|
|
3
|
+
*
|
|
4
|
+
* Sync JSONata compiler/evaluator backed by vendored jsonata-sync.cjs.
|
|
5
|
+
* Intended for npm ESM/CJS consumers in Node-like runtimes.
|
|
6
|
+
*/
|
|
7
|
+
type JsonataExpression = {
|
|
8
|
+
evaluate: (data: unknown) => unknown;
|
|
9
|
+
};
|
|
10
|
+
type JsonataCompiler = (expr: string) => JsonataExpression;
|
|
11
|
+
declare const jsonata: JsonataCompiler;
|
|
12
|
+
declare function compileSync(expr: string): JsonataExpression;
|
|
13
|
+
declare function evaluateSync(expr: string, data: unknown): unknown;
|
|
14
|
+
declare const ComputeJsonata: {
|
|
15
|
+
jsonata: JsonataCompiler;
|
|
16
|
+
compileSync: typeof compileSync;
|
|
17
|
+
evaluateSync: typeof evaluateSync;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { type JsonataCompiler, type JsonataExpression, compileSync, ComputeJsonata as default, evaluateSync, jsonata };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import'../chunk-FW4363Y4.js';import {createRequire}from'module';var r=createRequire(import.meta.url),t=r("./jsonata-sync.cjs");function o(n){return t(n)}function s(n,e){return o(n).evaluate(e)}var p={jsonata:t,compileSync:o,evaluateSync:s},i=p;export{o as compileSync,i as default,s as evaluateSync,t as jsonata};//# sourceMappingURL=index.js.map
|
|
2
|
+
//# sourceMappingURL=index.js.map
|