@xyo-network/diviner-jsonpath-memory 4.1.2 → 4.1.3

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.
@@ -1,29 +1,3 @@
1
- import { AbstractDiviner } from '@xyo-network/diviner-abstract';
2
- import { JsonPathDivinerParams, PayloadTransformer, JsonPathTransformExpression } from '@xyo-network/diviner-jsonpath-model';
3
- import { DivinerModuleEventData, DivinerInstance } from '@xyo-network/diviner-model';
4
- import { Payload, Schema } from '@xyo-network/payload-model';
5
-
6
- declare class JsonPathDiviner<TParams extends JsonPathDivinerParams = JsonPathDivinerParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut>> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {
7
- static readonly configSchemas: Schema[];
8
- static readonly defaultConfigSchema: Schema;
9
- protected _transforms: PayloadTransformer[] | undefined;
10
- /**
11
- * The schema to use for the destination payloads
12
- */
13
- protected get destinationSchema(): string;
14
- /**
15
- * Dictionary of schemas to payload transformers for creating indexes
16
- * from the payloads within a Bound Witness
17
- */
18
- protected get transforms(): PayloadTransformer[];
19
- protected divineHandler(payloads?: TIn[]): Promise<TOut[]>;
20
- }
21
-
22
- /**
23
- * Converts a JSON Path transform expression to a payload transformer
24
- * @param transformExpression The transform expression to convert
25
- * @returns The payload transformer for the JSON Path transform expression
26
- */
27
- declare const toPayloadTransformer: (transformExpression: JsonPathTransformExpression) => PayloadTransformer;
28
-
29
- export { JsonPathDiviner, toPayloadTransformer };
1
+ export * from './Diviner.ts';
2
+ export * from './jsonpath/index.ts';
3
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-jsonpath-memory",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,21 +29,21 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/assert": "^4.13.15",
33
- "@xyo-network/diviner-abstract": "^4.1.2",
34
- "@xyo-network/diviner-jsonpath-model": "^4.1.2",
35
- "@xyo-network/diviner-model": "^4.1.2",
36
- "@xyo-network/payload-builder": "^4.1.2",
37
- "@xyo-network/payload-model": "^4.1.2",
32
+ "@xylabs/assert": "^4.13.16",
33
+ "@xyo-network/diviner-abstract": "^4.1.3",
34
+ "@xyo-network/diviner-jsonpath-model": "^4.1.3",
35
+ "@xyo-network/diviner-model": "^4.1.3",
36
+ "@xyo-network/payload-builder": "^4.1.3",
37
+ "@xyo-network/payload-model": "^4.1.3",
38
38
  "jsonpath": "^1.1.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/jsonpath": "^0.2.4",
42
- "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.23",
43
- "@xylabs/tsconfig": "^7.0.0-rc.23",
44
- "@xylabs/vitest-extended": "^4.13.15",
45
- "@xyo-network/wallet": "^4.1.2",
46
- "@xyo-network/wallet-model": "^4.1.2",
42
+ "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.27",
43
+ "@xylabs/tsconfig": "^7.0.0-rc.27",
44
+ "@xylabs/vitest-extended": "^4.13.16",
45
+ "@xyo-network/wallet": "^4.1.3",
46
+ "@xyo-network/wallet-model": "^4.1.3",
47
47
  "typescript": "^5.8.3",
48
48
  "vitest": "^3.2.4"
49
49
  },