@xyo-network/diviner-transform-model 2.84.18 → 2.85.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/dist/browser/index.cjs +2 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +4 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.cjs +2 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +4 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +4 -4
package/dist/browser/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
7
|
var __export = (target, all) => {
|
|
7
8
|
for (var name in all)
|
|
8
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -35,5 +36,5 @@ var TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
|
|
|
35
36
|
|
|
36
37
|
// src/Query.ts
|
|
37
38
|
var TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`;
|
|
38
|
-
var isTransformDivinerQueryPayload = (x) => x?.schema === TransformDivinerQuerySchema;
|
|
39
|
+
var isTransformDivinerQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === TransformDivinerQuerySchema, "isTransformDivinerQueryPayload");
|
|
39
40
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACCO,IAAMA,yBAAiD;;;ACKvD,IAAMC,+BAA6D,GAAGC,sBAAAA;;;ACAtE,IAAMC,8BAA2D,GAAGC,sBAAAA;AAGpE,IAAMC,iCAAiC,wBAACC,MAA0DA,GAAGC,WAAWJ,6BAAzE;","names":["TransformDivinerSchema","TransformDivinerConfigSchema","TransformDivinerSchema","TransformDivinerQuerySchema","TransformDivinerSchema","isTransformDivinerQueryPayload","x","schema"]}
|
package/dist/browser/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
1
4
|
// src/Schema.ts
|
|
2
5
|
var TransformDivinerSchema = "network.xyo.diviner.transform";
|
|
3
6
|
|
|
@@ -6,7 +9,7 @@ var TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
|
|
|
6
9
|
|
|
7
10
|
// src/Query.ts
|
|
8
11
|
var TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`;
|
|
9
|
-
var isTransformDivinerQueryPayload = (x) => x?.schema === TransformDivinerQuerySchema;
|
|
12
|
+
var isTransformDivinerQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === TransformDivinerQuerySchema, "isTransformDivinerQueryPayload");
|
|
10
13
|
export {
|
|
11
14
|
TransformDivinerConfigSchema,
|
|
12
15
|
TransformDivinerQuerySchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":";;;;AACO,IAAMA,yBAAiD;;;ACKvD,IAAMC,+BAA6D,GAAGC,sBAAAA;;;ACAtE,IAAMC,8BAA2D,GAAGC,sBAAAA;AAGpE,IAAMC,iCAAiC,wBAACC,MAA0DA,GAAGC,WAAWJ,6BAAzE;","names":["TransformDivinerSchema","TransformDivinerConfigSchema","TransformDivinerSchema","TransformDivinerQuerySchema","TransformDivinerSchema","isTransformDivinerQueryPayload","x","schema"]}
|
package/dist/node/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
7
|
var __export = (target, all) => {
|
|
7
8
|
for (var name in all)
|
|
8
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -35,7 +36,7 @@ var TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
|
|
|
35
36
|
|
|
36
37
|
// src/Query.ts
|
|
37
38
|
var TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`;
|
|
38
|
-
var isTransformDivinerQueryPayload = (x) => (x == null ? void 0 : x.schema) === TransformDivinerQuerySchema;
|
|
39
|
+
var isTransformDivinerQueryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === TransformDivinerQuerySchema, "isTransformDivinerQueryPayload");
|
|
39
40
|
// Annotate the CommonJS export names for ESM import in node:
|
|
40
41
|
0 && (module.exports = {
|
|
41
42
|
TransformDivinerConfigSchema,
|
package/dist/node/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './Payload'\nexport * from './PayloadValueTransformer'\nexport * from './Query'\nexport * from './Schema'\n","export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACCO,IAAMA,yBAAiD;;;ACKvD,IAAMC,+BAA6D,GAAGC,sBAAAA;;;ACAtE,IAAMC,8BAA2D,GAAGC,sBAAAA;AAGpE,IAAMC,iCAAiC,wBAACC,OAA0DA,uBAAGC,YAAWJ,6BAAzE;","names":["TransformDivinerSchema","TransformDivinerConfigSchema","TransformDivinerSchema","TransformDivinerQuerySchema","TransformDivinerSchema","isTransformDivinerQueryPayload","x","schema"]}
|
package/dist/node/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
1
4
|
// src/Schema.ts
|
|
2
5
|
var TransformDivinerSchema = "network.xyo.diviner.transform";
|
|
3
6
|
|
|
@@ -6,7 +9,7 @@ var TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`;
|
|
|
6
9
|
|
|
7
10
|
// src/Query.ts
|
|
8
11
|
var TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`;
|
|
9
|
-
var isTransformDivinerQueryPayload = (x) => (x == null ? void 0 : x.schema) === TransformDivinerQuerySchema;
|
|
12
|
+
var isTransformDivinerQueryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === TransformDivinerQuerySchema, "isTransformDivinerQueryPayload");
|
|
10
13
|
export {
|
|
11
14
|
TransformDivinerConfigSchema,
|
|
12
15
|
TransformDivinerQuerySchema,
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Config/Config.ts","../../src/Query.ts"],"sourcesContent":["export type TransformDivinerSchema = 'network.xyo.diviner.transform'\nexport const TransformDivinerSchema: TransformDivinerSchema = 'network.xyo.diviner.transform'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TransformDictionary } from '../Payload'\nimport { TransformDivinerSchema } from '../Schema'\n\nexport type TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\nexport const TransformDivinerConfigSchema: TransformDivinerConfigSchema = `${TransformDivinerSchema}.config`\n\nexport type TransformDivinerConfig = DivinerConfig<{ transform?: TransformDictionary } & { schema: TransformDivinerConfigSchema }>\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { TransformSettings } from './Config'\nimport { TransformDivinerSchema } from './Schema'\n\nexport type TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\nexport const TransformDivinerQuerySchema: TransformDivinerQuerySchema = `${TransformDivinerSchema}.query`\n\nexport type TransformDivinerQueryPayload = Query<{ schema: TransformDivinerQuerySchema } & Partial<TransformSettings>>\nexport const isTransformDivinerQueryPayload = (x?: Payload | null): x is TransformDivinerQueryPayload => x?.schema === TransformDivinerQuerySchema\n"],"mappings":";;;;AACO,IAAMA,yBAAiD;;;ACKvD,IAAMC,+BAA6D,GAAGC,sBAAAA;;;ACAtE,IAAMC,8BAA2D,GAAGC,sBAAAA;AAGpE,IAAMC,iCAAiC,wBAACC,OAA0DA,uBAAGC,YAAWJ,6BAAzE;","names":["TransformDivinerSchema","TransformDivinerConfigSchema","TransformDivinerSchema","TransformDivinerQuerySchema","TransformDivinerSchema","isTransformDivinerQueryPayload","x","schema"]}
|
package/package.json
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/diviner-model": "~2.
|
|
14
|
-
"@xyo-network/payload-model": "~2.
|
|
15
|
-
"@xyo-network/value-payload-plugin": "~2.
|
|
13
|
+
"@xyo-network/diviner-model": "~2.85.0",
|
|
14
|
+
"@xyo-network/payload-model": "~2.85.0",
|
|
15
|
+
"@xyo-network/value-payload-plugin": "~2.85.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@xylabs/ts-scripts-yarn3": "^3.2.25",
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
59
59
|
},
|
|
60
60
|
"sideEffects": false,
|
|
61
|
-
"version": "2.
|
|
61
|
+
"version": "2.85.0",
|
|
62
62
|
"type": "module"
|
|
63
63
|
}
|