@xyo-network/diviner-jsonpath-model 5.6.3 → 6.0.0

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.
@@ -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/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"],
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-jsonpath-model",
3
- "version": "5.6.3",
3
+ "version": "6.0.0",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -34,46 +34,46 @@
34
34
  "README.md"
35
35
  ],
36
36
  "dependencies": {
37
- "@xyo-network/diviner-model": "~5.6.3",
38
- "@xyo-network/module-model": "~5.6.3"
37
+ "@xyo-network/diviner-model": "~6.0.0",
38
+ "@xyo-network/module-model": "~6.0.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@opentelemetry/api": "^1.9.1",
42
42
  "@opentelemetry/sdk-trace-base": "^2.7.1",
43
43
  "@scure/base": "~2.2.0",
44
- "@xylabs/sdk-js": "^5.1.1",
45
- "@xylabs/toolchain": "~7.13.4",
46
- "@xylabs/tsconfig": "~7.13.4",
47
- "@xyo-network/account-model": "~5.6.2",
48
- "@xyo-network/boundwitness-model": "~5.6.2",
49
- "@xyo-network/manifest-model": "~5.6.2",
50
- "@xyo-network/payload-model": "~5.6.2",
44
+ "@xylabs/sdk-js": "^6.0.0",
45
+ "@xylabs/toolchain": "~8.0.17",
46
+ "@xylabs/tsconfig": "~8.0.17",
47
+ "@xyo-network/account-model": "~6.0",
48
+ "@xyo-network/boundwitness-model": "~6.0",
49
+ "@xyo-network/manifest-model": "~6.0",
50
+ "@xyo-network/payload-model": "~6.0.0",
51
51
  "async-mutex": "^0.5.0",
52
52
  "bn.js": "^5.2.3",
53
53
  "buffer": "^6.0.3",
54
54
  "chalk": "^5.6.2",
55
- "eslint": "^10.3.0",
55
+ "eslint": "^10.4.0",
56
56
  "ethers": "^6.16.0",
57
57
  "pako": "~2.1.0",
58
- "typescript": "~5.9.3",
58
+ "typescript": "~6.0.3",
59
59
  "zod": "^4.4.3"
60
60
  },
61
61
  "peerDependencies": {
62
- "@opentelemetry/api": ">=1.9.1 <2",
63
- "@opentelemetry/sdk-trace-base": ">=2.7.1 <3",
64
- "@scure/base": ">=2.2.0 <2.3",
65
- "@xylabs/sdk-js": ">=5.1.1 <6",
66
- "@xyo-network/account-model": ">=5.6.2 <5.7",
67
- "@xyo-network/boundwitness-model": ">=5.6.2 <5.7",
68
- "@xyo-network/manifest-model": ">=5.6.2 <5.7",
69
- "@xyo-network/payload-model": ">=5.6.2 <5.7",
70
- "async-mutex": ">=0.5.0 <1",
71
- "bn.js": ">=5.2.3 <6",
72
- "buffer": ">=6.0.3 <7",
73
- "chalk": ">=5.6.2 <6",
74
- "ethers": ">=6.16.0 <7",
75
- "pako": ">=2.1.0 <2.2",
76
- "zod": ">=4.4.3 <5"
62
+ "@opentelemetry/api": "^1.9",
63
+ "@opentelemetry/sdk-trace-base": "^2.7",
64
+ "@scure/base": "~2.2",
65
+ "@xylabs/sdk-js": "^6.0",
66
+ "@xyo-network/account-model": "~6.0",
67
+ "@xyo-network/boundwitness-model": "~6.0",
68
+ "@xyo-network/manifest-model": "~6.0",
69
+ "@xyo-network/payload-model": "~6.0",
70
+ "async-mutex": "^0.5",
71
+ "bn.js": "^5.2",
72
+ "buffer": "^6.0",
73
+ "chalk": "^5.6",
74
+ "ethers": "^6.16",
75
+ "pako": "~2.1",
76
+ "zod": "^4.4"
77
77
  },
78
78
  "publishConfig": {
79
79
  "access": "public"