@xyo-network/diviner-jsonpatch-model 6.0.3 → 6.1.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.
package/README.md
CHANGED
|
@@ -38,10 +38,12 @@ bun add {{name}}
|
|
|
38
38
|
|
|
39
39
|
See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
|
|
40
40
|
|
|
41
|
+
## Credits
|
|
41
42
|
|
|
43
|
+
[Made with 🔥 and ❄️ by XYO Foundation](https://xyo.network)
|
|
42
44
|
|
|
43
|
-
[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
|
|
44
45
|
[npm-badge]: https://img.shields.io/npm/v/@xyo-network/diviner-jsonpatch-model.svg
|
|
45
46
|
[npm-link]: https://www.npmjs.com/package/@xyo-network/diviner-jsonpatch-model
|
|
46
47
|
[license-badge]: https://img.shields.io/npm/l/@xyo-network/diviner-jsonpatch-model.svg
|
|
47
48
|
[license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
|
|
49
|
+
[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
|
|
@@ -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;AAE/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAIhD,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAIhD,eAAO,MAAM,4BAA4B,EAAE,MAAM,GAAG;IAClD,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAA;CAC6B,CAAA;AACtD,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAA;AAS9E,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
|
package/dist/neutral/Schema.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,EAAE,+BAA+B,GAAG;IACrE,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAA;CAC0B,CAAA;AACnD,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Config.ts", "../../src/Schema.ts"],
|
|
4
|
-
"sourcesContent": ["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/sdk-protocol-js'\nimport type { Operation } from 'fast-json-patch'\n\nimport { JsonPatchDivinerSchema } from './Schema.ts'\n\nexport const JsonPatchDivinerConfigSchema = asSchema(`${JsonPatchDivinerSchema}.config`, true)\nexport type JsonPatchDivinerConfigSchema = typeof JsonPatchDivinerConfigSchema\n\n// TODO: Export our own compatible Operation type to hide implementation details\n// export interface Operation {\n// op: 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test'\n// path: string\n// value?: JsonValue\n// }\n\nexport type JsonPatchDivinerConfig = DivinerConfig<{ operations?: Operation[] } & { schema: JsonPatchDivinerConfigSchema }>\n", "import { asSchema } from '@xyo-network/sdk-protocol-js'\n\nexport const JsonPatchDivinerSchema = asSchema('network.xyo.diviner.jsonpatch', true)\nexport type JsonPatchDivinerSchema = typeof JsonPatchDivinerSchema\n"],
|
|
5
|
-
"mappings": ";AACA,SAAS,YAAAA,iBAAgB;;;ACDzB,SAAS,gBAAgB;AAElB,IAAM,
|
|
4
|
+
"sourcesContent": ["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/sdk-protocol-js'\nimport type { Operation } from 'fast-json-patch'\n\nimport { JsonPatchDivinerSchema } from './Schema.ts'\n\nexport const JsonPatchDivinerConfigSchema: string & {\n readonly __schema: true\n} = asSchema(`${JsonPatchDivinerSchema}.config`, true)\nexport type JsonPatchDivinerConfigSchema = typeof JsonPatchDivinerConfigSchema\n\n// TODO: Export our own compatible Operation type to hide implementation details\n// export interface Operation {\n// op: 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test'\n// path: string\n// value?: JsonValue\n// }\n\nexport type JsonPatchDivinerConfig = DivinerConfig<{ operations?: Operation[] } & { schema: JsonPatchDivinerConfigSchema }>\n", "import { asSchema } from '@xyo-network/sdk-protocol-js'\n\nexport const JsonPatchDivinerSchema: 'network.xyo.diviner.jsonpatch' & {\n readonly __schema: true\n} = asSchema('network.xyo.diviner.jsonpatch', true)\nexport type JsonPatchDivinerSchema = typeof JsonPatchDivinerSchema\n"],
|
|
5
|
+
"mappings": ";AACA,SAAS,YAAAA,iBAAgB;;;ACDzB,SAAS,gBAAgB;AAElB,IAAM,yBAET,SAAS,iCAAiC,IAAI;;;ADE3C,IAAM,+BAETC,UAAS,GAAG,sBAAsB,WAAW,IAAI;",
|
|
6
6
|
"names": ["asSchema", "asSchema"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-jsonpatch-model",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@xyo-network/
|
|
38
|
-
"@xyo-network/
|
|
37
|
+
"@xyo-network/diviner-model": "~6.1.0",
|
|
38
|
+
"@xyo-network/module-model": "~6.1.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@bitauth/libauth": "~3.0.0",
|
|
@@ -45,16 +45,14 @@
|
|
|
45
45
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
46
46
|
"@scure/base": "~2.2.0",
|
|
47
47
|
"@scure/bip39": "~2.2.0",
|
|
48
|
-
"@xylabs/geo": "^6.0
|
|
49
|
-
"@xylabs/sdk-js": "^6.0
|
|
50
|
-
"@xylabs/threads": "^6.0
|
|
51
|
-
"@xylabs/toolchain": "
|
|
52
|
-
"@xylabs/tsconfig": "
|
|
53
|
-
"@xyo-network/sdk-protocol-js": "
|
|
48
|
+
"@xylabs/geo": "^6.1.0",
|
|
49
|
+
"@xylabs/sdk-js": "^6.1.0",
|
|
50
|
+
"@xylabs/threads": "^6.1.0",
|
|
51
|
+
"@xylabs/toolchain": "^8.1.20",
|
|
52
|
+
"@xylabs/tsconfig": "^8.1.20",
|
|
53
|
+
"@xyo-network/sdk-protocol-js": "^6.1.0",
|
|
54
54
|
"ajv": "^8.20.0",
|
|
55
55
|
"async-mutex": "^0.5.0",
|
|
56
|
-
"bn.js": "^5.2.3",
|
|
57
|
-
"buffer": "^6.0.3",
|
|
58
56
|
"debug": "~4.4.3",
|
|
59
57
|
"eslint": "^10.4.1",
|
|
60
58
|
"ethers": "^6.16.0",
|
|
@@ -62,7 +60,6 @@
|
|
|
62
60
|
"hash-wasm": "~4.12.0",
|
|
63
61
|
"idb": "^8.0.3",
|
|
64
62
|
"observable-fns": "~0.6.1",
|
|
65
|
-
"pako": "~2.1.0",
|
|
66
63
|
"typescript": "~6.0.3",
|
|
67
64
|
"webextension-polyfill": "^0.12.0",
|
|
68
65
|
"zod": "^4.4.3"
|
|
@@ -78,21 +75,21 @@
|
|
|
78
75
|
"@xylabs/geo": "^6.0",
|
|
79
76
|
"@xylabs/sdk-js": "^6.0",
|
|
80
77
|
"@xylabs/threads": "^6.0",
|
|
81
|
-
"@xyo-network/sdk-protocol-js": "
|
|
78
|
+
"@xyo-network/sdk-protocol-js": "^6.1",
|
|
82
79
|
"ajv": "^8.20",
|
|
83
80
|
"async-mutex": "^0.5",
|
|
84
|
-
"bn.js": "^5.2",
|
|
85
|
-
"buffer": "^6.0",
|
|
86
81
|
"debug": "~4.4",
|
|
87
82
|
"ethers": "^6.16",
|
|
88
83
|
"fast-json-patch": "~3.1",
|
|
89
84
|
"hash-wasm": "~4.12",
|
|
90
85
|
"idb": "^8.0",
|
|
91
86
|
"observable-fns": "~0.6",
|
|
92
|
-
"pako": "~2.1",
|
|
93
87
|
"webextension-polyfill": "^0.12",
|
|
94
88
|
"zod": "^4.4"
|
|
95
89
|
},
|
|
90
|
+
"engines": {
|
|
91
|
+
"node": "^24"
|
|
92
|
+
},
|
|
96
93
|
"publishConfig": {
|
|
97
94
|
"access": "public"
|
|
98
95
|
}
|