@xyo-network/diviner-jsonpatch-model 5.3.22 → 5.3.24
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/package.json +15 -19
- package/src/Config.ts +0 -17
- package/src/Params.ts +0 -6
- package/src/Schema.ts +0 -4
- package/src/index.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-jsonpatch-model",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.24",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -30,37 +30,33 @@
|
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|
|
33
|
-
"src",
|
|
34
33
|
"!**/*.bench.*",
|
|
35
34
|
"!**/*.spec.*",
|
|
36
35
|
"!**/*.test.*",
|
|
37
36
|
"README.md"
|
|
38
37
|
],
|
|
39
38
|
"dependencies": {
|
|
40
|
-
"
|
|
41
|
-
"@xyo-network/
|
|
42
|
-
"@xyo-network/
|
|
43
|
-
"
|
|
39
|
+
"fast-json-patch": "~3.1.1",
|
|
40
|
+
"@xyo-network/diviner-model": "~5.3.24",
|
|
41
|
+
"@xyo-network/module-model": "~5.3.24",
|
|
42
|
+
"@xyo-network/payload-model": "~5.3.24"
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
46
45
|
"@opentelemetry/api": "^1.9.1",
|
|
47
46
|
"@types/node": "^25.5.0",
|
|
48
|
-
"@xylabs/sdk-js": "^5.0.
|
|
49
|
-
"@xylabs/ts-scripts-common": "~7.6.
|
|
50
|
-
"@xylabs/ts-scripts-
|
|
51
|
-
"@xylabs/tsconfig": "~7.6.
|
|
52
|
-
"@xyo-network/diviner-model": "~5.3.22",
|
|
53
|
-
"@xyo-network/module-model": "~5.3.22",
|
|
54
|
-
"@xyo-network/payload-model": "~5.3.22",
|
|
47
|
+
"@xylabs/sdk-js": "^5.0.93",
|
|
48
|
+
"@xylabs/ts-scripts-common": "~7.6.16",
|
|
49
|
+
"@xylabs/ts-scripts-pnpm": "~7.6.16",
|
|
50
|
+
"@xylabs/tsconfig": "~7.6.16",
|
|
55
51
|
"acorn": "^8.16.0",
|
|
56
52
|
"axios": "^1.14.0",
|
|
57
|
-
"
|
|
58
|
-
"esbuild": "^0.27.4",
|
|
59
|
-
"eslint": "^10.1.0",
|
|
53
|
+
"esbuild": "^0.28.0",
|
|
60
54
|
"fast-json-patch": "~3.1.1",
|
|
61
|
-
"rollup": "^4.60.1",
|
|
62
55
|
"typescript": "~5.9.3",
|
|
63
|
-
"zod": "^4.3.6"
|
|
56
|
+
"zod": "^4.3.6",
|
|
57
|
+
"@xyo-network/diviner-model": "~5.3.24",
|
|
58
|
+
"@xyo-network/payload-model": "~5.3.24",
|
|
59
|
+
"@xyo-network/module-model": "~5.3.24"
|
|
64
60
|
},
|
|
65
61
|
"peerDependencies": {
|
|
66
62
|
"@xylabs/sdk-js": "^5",
|
|
@@ -69,4 +65,4 @@
|
|
|
69
65
|
"publishConfig": {
|
|
70
66
|
"access": "public"
|
|
71
67
|
}
|
|
72
|
-
}
|
|
68
|
+
}
|
package/src/Config.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { DivinerConfig } from '@xyo-network/diviner-model'
|
|
2
|
-
import { asSchema } from '@xyo-network/payload-model'
|
|
3
|
-
import type { Operation } from 'fast-json-patch'
|
|
4
|
-
|
|
5
|
-
import { JsonPatchDivinerSchema } from './Schema.ts'
|
|
6
|
-
|
|
7
|
-
export const JsonPatchDivinerConfigSchema = asSchema(`${JsonPatchDivinerSchema}.config`, true)
|
|
8
|
-
export type JsonPatchDivinerConfigSchema = typeof JsonPatchDivinerConfigSchema
|
|
9
|
-
|
|
10
|
-
// TODO: Export our own compatible Operation type to hide implementation details
|
|
11
|
-
// export interface Operation {
|
|
12
|
-
// op: 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test'
|
|
13
|
-
// path: string
|
|
14
|
-
// value?: JsonValue
|
|
15
|
-
// }
|
|
16
|
-
|
|
17
|
-
export type JsonPatchDivinerConfig = DivinerConfig<{ operations?: Operation[] } & { schema: JsonPatchDivinerConfigSchema }>
|
package/src/Params.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { DivinerParams } from '@xyo-network/diviner-model'
|
|
2
|
-
import type { AnyConfigSchema } from '@xyo-network/module-model'
|
|
3
|
-
|
|
4
|
-
import type { JsonPatchDivinerConfig } from './Config.ts'
|
|
5
|
-
|
|
6
|
-
export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>
|
package/src/Schema.ts
DELETED
package/src/index.ts
DELETED