@xyo-network/diviner-jsonpath-model 5.6.4 → 6.0.1

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,5 +1,5 @@
1
1
  import type { DivinerConfig } from '@xyo-network/diviner-model';
2
- import type { Schema } from '@xyo-network/payload-model';
2
+ import type { Schema } from '@xyo-network/sdk-protocol-js';
3
3
  import type { JsonPathTransformExpression } from './jsonpath/index.ts';
4
4
  /**
5
5
  * The config schema for the JSON Path diviner
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAGxD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAA;AAGtE;;GAEG;AACH,eAAO,MAAM,2BAA2B;;CAAoD,CAAA;AAE5F;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAC/C;IACE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC3C,GAAG;IAAE,MAAM,EAAE,2BAA2B,CAAA;CAAE,CAC5C,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA;AAG1D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAA;AAGtE;;GAEG;AACH,eAAO,MAAM,2BAA2B;;CAAoD,CAAA;AAE5F;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAC/C;IACE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC3C,GAAG;IAAE,MAAM,EAAE,2BAA2B,CAAA;CAAE,CAC5C,CAAA"}
@@ -1,8 +1,8 @@
1
1
  // src/Config.ts
2
- import { asSchema as asSchema2 } from "@xyo-network/payload-model";
2
+ import { asSchema as asSchema2 } from "@xyo-network/sdk-protocol-js";
3
3
 
4
4
  // src/Schema.ts
5
- import { asSchema } from "@xyo-network/payload-model";
5
+ import { asSchema } from "@xyo-network/sdk-protocol-js";
6
6
  var JsonPathDivinerSchema = asSchema("network.xyo.diviner.jsonpath", true);
7
7
 
8
8
  // src/Config.ts
@@ -11,4 +11,4 @@ export {
11
11
  JsonPathDivinerConfigSchema,
12
12
  JsonPathDivinerSchema
13
13
  };
14
- //# sourceMappingURL=index.mjs.map
14
+ //# sourceMappingURL=index.mjs.map
@@ -1 +1,7 @@
1
- {"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts"],"sourcesContent":["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Schema } from '@xyo-network/payload-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport type { JsonPathTransformExpression } from './jsonpath/index.ts'\nimport { JsonPathDivinerSchema } from './Schema.ts'\n\n/**\n * The config schema for the JSON Path diviner\n */\nexport const JsonPathDivinerConfigSchema = asSchema(`${JsonPathDivinerSchema}.config`, true)\n\n/**\n * The config schema type for the JSON Path diviner\n */\nexport type JsonPathDivinerConfigSchema = typeof JsonPathDivinerConfigSchema\n\n/**\n * The configuration for the JSON Path diviner\n */\nexport type JsonPathDivinerConfig = DivinerConfig<\n {\n /**\n * The schema to use for the destination payloads\n */\n destinationSchema?: Schema\n /**\n * The JSON Path transform expressions to apply to the payloads\n */\n transforms?: JsonPathTransformExpression[]\n } & { schema: JsonPathDivinerConfigSchema }\n>\n","import { asSchema } from '@xyo-network/payload-model'\n/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathDivinerSchema = asSchema('network.xyo.diviner.jsonpath', true)\n\n/**\n * The schema type used for the JSONPath Diviner.\n */\nexport type JsonPathDivinerSchema = typeof JsonPathDivinerSchema\n"],"mappings":";AAEA,SAAS,YAAAA,iBAAgB;;;ACFzB,SAAS,gBAAgB;AAIlB,IAAM,wBAAwB,SAAS,gCAAgC,IAAI;;;ADM3E,IAAM,8BAA8BC,UAAS,GAAG,qBAAqB,WAAW,IAAI;","names":["asSchema","asSchema"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Config.ts", "../../src/Schema.ts"],
4
+ "sourcesContent": ["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Schema } from '@xyo-network/sdk-protocol-js'\nimport { asSchema } from '@xyo-network/sdk-protocol-js'\n\nimport type { JsonPathTransformExpression } from './jsonpath/index.ts'\nimport { JsonPathDivinerSchema } from './Schema.ts'\n\n/**\n * The config schema for the JSON Path diviner\n */\nexport const JsonPathDivinerConfigSchema = asSchema(`${JsonPathDivinerSchema}.config`, true)\n\n/**\n * The config schema type for the JSON Path diviner\n */\nexport type JsonPathDivinerConfigSchema = typeof JsonPathDivinerConfigSchema\n\n/**\n * The configuration for the JSON Path diviner\n */\nexport type JsonPathDivinerConfig = DivinerConfig<\n {\n /**\n * The schema to use for the destination payloads\n */\n destinationSchema?: Schema\n /**\n * The JSON Path transform expressions to apply to the payloads\n */\n transforms?: JsonPathTransformExpression[]\n } & { schema: JsonPathDivinerConfigSchema }\n>\n", "import { asSchema } from '@xyo-network/sdk-protocol-js'\n/**\n * The schema used for the JSONPath Diviner.\n */\nexport const JsonPathDivinerSchema = asSchema('network.xyo.diviner.jsonpath', true)\n\n/**\n * The schema type used for the JSONPath Diviner.\n */\nexport type JsonPathDivinerSchema = typeof JsonPathDivinerSchema\n"],
5
+ "mappings": ";AAEA,SAAS,YAAAA,iBAAgB;;;ACFzB,SAAS,gBAAgB;AAIlB,IAAM,wBAAwB,SAAS,gCAAgC,IAAI;;;ADM3E,IAAM,8BAA8BC,UAAS,GAAG,qBAAqB,WAAW,IAAI;",
6
+ "names": ["asSchema", "asSchema"]
7
+ }
@@ -1,3 +1,3 @@
1
- import type { Payload } from '@xyo-network/payload-model';
1
+ import type { Payload } from '@xyo-network/sdk-protocol-js';
2
2
  export type PayloadTransformer = (x: Payload) => Partial<Payload>;
3
3
  //# sourceMappingURL=PayloadTransformer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PayloadTransformer.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/PayloadTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAIzD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA"}
1
+ {"version":3,"file":"PayloadTransformer.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/PayloadTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAI3D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { Schema } from '@xyo-network/payload-model';
1
+ import type { Schema } from '@xyo-network/sdk-protocol-js';
2
2
  import type { JsonPathTransformExpression } from './JsonPathTransformExpression.ts';
3
3
  /**
4
4
  * A dictionary of schema to JSON Path transform expressions.
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaToJsonPathTransformExpressionDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToJsonPathTransformExpressionDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAExD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAEnF;;GAEG;AACH,MAAM,MAAM,8CAA8C,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;KACvH,GAAG,IAAI,MAAM,CAAC,GAAG,2BAA2B,EAAE;CAChD,CAAA"}
1
+ {"version":3,"file":"SchemaToJsonPathTransformExpressionDictionary.d.ts","sourceRoot":"","sources":["../../../src/jsonpath/SchemaToJsonPathTransformExpressionDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA;AAE1D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAEnF;;GAEG;AACH,MAAM,MAAM,8CAA8C,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;KACvH,GAAG,IAAI,MAAM,CAAC,GAAG,2BAA2B,EAAE;CAChD,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-jsonpath-model",
3
- "version": "5.6.4",
3
+ "version": "6.0.1",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -34,45 +34,69 @@
34
34
  "README.md"
35
35
  ],
36
36
  "dependencies": {
37
- "@xyo-network/diviner-model": "~5.6.4",
38
- "@xyo-network/module-model": "~5.6.4"
37
+ "@xyo-network/diviner-model": "~6.0.1",
38
+ "@xyo-network/module-model": "~6.0.1"
39
39
  },
40
40
  "devDependencies": {
41
+ "@bitauth/libauth": "~3.0",
42
+ "@metamask/providers": "^22.1",
43
+ "@noble/post-quantum": "~0.6.1",
41
44
  "@opentelemetry/api": "^1.9.1",
42
45
  "@opentelemetry/sdk-trace-base": "^2.7.1",
43
46
  "@scure/base": "~2.2.0",
44
- "@xylabs/sdk-js": "^5.1.2",
45
- "@xylabs/toolchain": "~7.13.15",
46
- "@xylabs/tsconfig": "~7.13.15",
47
- "@xyo-network/account-model": "~5.6.3",
48
- "@xyo-network/boundwitness-model": "~5.6.3",
49
- "@xyo-network/manifest-model": "~5.6.3",
50
- "@xyo-network/payload-model": "~5.6.3",
47
+ "@scure/bip39": "~2.2",
48
+ "@xylabs/geo": "^6.0",
49
+ "@xylabs/sdk-js": "^6.0.4",
50
+ "@xylabs/threads": "^6.0",
51
+ "@xylabs/toolchain": "~8.1.6",
52
+ "@xylabs/tsconfig": "~8.1.6",
53
+ "@xyo-network/sdk-protocol-js": "~6.0.5",
54
+ "ajv": "^8.20",
51
55
  "async-mutex": "^0.5.0",
52
56
  "bn.js": "^5.2.3",
53
57
  "buffer": "^6.0.3",
54
- "chalk": "^5.6.2",
55
- "eslint": "^10.3.0",
58
+ "debug": "~4.4",
59
+ "eslint": "^10.4.0",
56
60
  "ethers": "^6.16.0",
61
+ "hash-wasm": "~4.12",
62
+ "idb": "^8.0",
63
+ "lru-cache": "^11.3",
64
+ "mapbox-gl": "^3.23",
65
+ "observable-fns": "~0.6",
57
66
  "pako": "~2.1.0",
58
- "typescript": "~5.9.3",
67
+ "store2": "~2.14",
68
+ "typescript": "~6.0.3",
69
+ "wasm-feature-detect": "~1.8",
70
+ "webextension-polyfill": "^0.12",
59
71
  "zod": "^4.4.3"
60
72
  },
61
73
  "peerDependencies": {
74
+ "@bitauth/libauth": "~3.0",
75
+ "@metamask/providers": "^22.1",
76
+ "@noble/post-quantum": "~0.6.1",
62
77
  "@opentelemetry/api": "^1.9",
63
78
  "@opentelemetry/sdk-trace-base": "^2.7",
64
79
  "@scure/base": "~2.2",
65
- "@xylabs/sdk-js": "^5.1",
66
- "@xyo-network/account-model": "~5.6",
67
- "@xyo-network/boundwitness-model": "~5.6",
68
- "@xyo-network/manifest-model": "~5.6",
69
- "@xyo-network/payload-model": "~5.6",
80
+ "@scure/bip39": "~2.2",
81
+ "@xylabs/geo": "^6.0",
82
+ "@xylabs/sdk-js": "^6.0",
83
+ "@xylabs/threads": "^6.0",
84
+ "@xyo-network/sdk-protocol-js": "~6.0",
85
+ "ajv": "^8.20",
70
86
  "async-mutex": "^0.5",
71
87
  "bn.js": "^5.2",
72
88
  "buffer": "^6.0",
73
- "chalk": "^5.6",
89
+ "debug": "~4.4",
74
90
  "ethers": "^6.16",
91
+ "hash-wasm": "~4.12",
92
+ "idb": "^8.0",
93
+ "lru-cache": "^11.3",
94
+ "mapbox-gl": "^3.23",
95
+ "observable-fns": "~0.6",
75
96
  "pako": "~2.1",
97
+ "store2": "~2.14",
98
+ "wasm-feature-detect": "~1.8",
99
+ "webextension-polyfill": "^0.12",
76
100
  "zod": "^4.4"
77
101
  },
78
102
  "publishConfig": {