@xyo-network/diviner-jsonpatch-model 2.99.2 → 2.99.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.
@@ -0,0 +1,11 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { Operation } from 'json-joy/lib/json-patch/index.js';
3
+ import { JsonPatchDivinerSchema } from './Schema';
4
+ export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
+ export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
+ export type JsonPatchDivinerConfig = DivinerConfig<{
7
+ operations?: Operation[];
8
+ } & {
9
+ schema: JsonPatchDivinerConfigSchema;
10
+ }>;
11
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAE5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEjD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { Operation } from 'json-joy/lib/json-patch/index.js';
3
+ import { JsonPatchDivinerSchema } from './Schema';
4
+ export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
+ export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
+ export type JsonPatchDivinerConfig = DivinerConfig<{
7
+ operations?: Operation[];
8
+ } & {
9
+ schema: JsonPatchDivinerConfigSchema;
10
+ }>;
11
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAE5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEjD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { Operation } from 'json-joy/lib/json-patch/index.js';
3
+ import { JsonPatchDivinerSchema } from './Schema';
4
+ export type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
5
+ export declare const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema;
6
+ export type JsonPatchDivinerConfig = DivinerConfig<{
7
+ operations?: Operation[];
8
+ } & {
9
+ schema: JsonPatchDivinerConfigSchema;
10
+ }>;
11
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAE5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEjD,MAAM,MAAM,4BAA4B,GAAG,GAAG,sBAAsB,SAAS,CAAA;AAC7E,eAAO,MAAM,4BAA4B,EAAE,4BAAiE,CAAA;AAS5G,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;IAAE,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { JsonPatchDivinerConfig } from './Config';
4
+ export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEjD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { JsonPatchDivinerConfig } from './Config';
4
+ export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEjD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { JsonPatchDivinerConfig } from './Config';
4
+ export type JsonPatchDivinerParams = DivinerParams<AnyConfigSchema<JsonPatchDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEjD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
+ export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -0,0 +1,3 @@
1
+ export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
+ export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -0,0 +1,3 @@
1
+ export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch';
2
+ export declare const JsonPatchDivinerSchema: JsonPatchDivinerSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,+BAA+B,CAAA;AACpE,eAAO,MAAM,sBAAsB,EAAE,sBAAwD,CAAA"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ JsonPatchDivinerConfigSchema: () => JsonPatchDivinerConfigSchema,
24
+ JsonPatchDivinerSchema: () => JsonPatchDivinerSchema
25
+ });
26
+ module.exports = __toCommonJS(src_exports);
27
+
28
+ // src/Schema.ts
29
+ var JsonPatchDivinerSchema = "network.xyo.diviner.jsonpatch";
30
+
31
+ // src/Config.ts
32
+ var JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
33
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config'\nexport * from './Params'\nexport * from './Schema'\n","export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\nexport const JsonPatchDivinerSchema: JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n// eslint-disable-next-line import/no-internal-modules\nimport { Operation } from 'json-joy/lib/json-patch/index.js'\n\nimport { JsonPatchDivinerSchema } from './Schema'\n\nexport type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\nexport const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;ACCO,IAAMA,yBAAiD;;;ACMvD,IAAMC,+BAA6D,GAAGC,sBAAAA;","names":["JsonPatchDivinerSchema","JsonPatchDivinerConfigSchema","JsonPatchDivinerSchema"]}
@@ -0,0 +1,4 @@
1
+ export * from './Config';
2
+ export * from './Params';
3
+ export * from './Schema';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './Config';
2
+ export * from './Params';
3
+ export * from './Schema';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './Config';
2
+ export * from './Params';
3
+ export * from './Schema';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,10 @@
1
+ // src/Schema.ts
2
+ var JsonPatchDivinerSchema = "network.xyo.diviner.jsonpatch";
3
+
4
+ // src/Config.ts
5
+ var JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`;
6
+ export {
7
+ JsonPatchDivinerConfigSchema,
8
+ JsonPatchDivinerSchema
9
+ };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export type JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\nexport const JsonPatchDivinerSchema: JsonPatchDivinerSchema = 'network.xyo.diviner.jsonpatch'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n// eslint-disable-next-line import/no-internal-modules\nimport { Operation } from 'json-joy/lib/json-patch/index.js'\n\nimport { JsonPatchDivinerSchema } from './Schema'\n\nexport type JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\nexport const JsonPatchDivinerConfigSchema: JsonPatchDivinerConfigSchema = `${JsonPatchDivinerSchema}.config`\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"],"mappings":";AACO,IAAMA,yBAAiD;;;ACMvD,IAAMC,+BAA6D,GAAGC,sBAAAA;","names":["JsonPatchDivinerSchema","JsonPatchDivinerConfigSchema","JsonPatchDivinerSchema"]}
package/package.json CHANGED
@@ -10,14 +10,14 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/diviner-model": "~2.99.2",
14
- "@xyo-network/module-model": "~2.99.2",
15
- "json-joy": "^15.8.0",
13
+ "@xyo-network/diviner-model": "~2.99.3",
14
+ "@xyo-network/module-model": "~2.99.3",
15
+ "json-joy": "^15.11.0",
16
16
  "tslib": "^2.6.2"
17
17
  },
18
18
  "devDependencies": {
19
- "@xylabs/ts-scripts-yarn3": "^3.9.1",
20
- "@xylabs/tsconfig": "^3.9.1",
19
+ "@xylabs/ts-scripts-yarn3": "^3.10.0",
20
+ "@xylabs/tsconfig": "^3.10.0",
21
21
  "typescript": "^5.4.5"
22
22
  },
23
23
  "description": "Primary SDK for using XYO Protocol 2.0",
@@ -59,6 +59,6 @@
59
59
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
60
60
  },
61
61
  "sideEffects": false,
62
- "version": "2.99.2",
62
+ "version": "2.99.3",
63
63
  "type": "module"
64
64
  }