@xyo-network/diviner-distinct-model 5.2.27 → 5.3.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.
@@ -1,6 +1,8 @@
1
1
  import type { EmptyObject } from '@xylabs/sdk-js';
2
2
  import type { DivinerConfig } from '@xyo-network/diviner-model';
3
- export declare const DistinctDivinerConfigSchema: "network.xyo.diviner.distinct.config";
3
+ export declare const DistinctDivinerConfigSchema: "network.xyo.diviner.distinct.config" & {
4
+ readonly __schema: true;
5
+ };
4
6
  export type DistinctDivinerConfigSchema = typeof DistinctDivinerConfigSchema;
5
7
  export type DistinctDivinerConfig = DivinerConfig<EmptyObject, DistinctDivinerConfigSchema>;
6
8
  //# sourceMappingURL=Config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,eAAO,MAAM,2BAA2B,EAAG,qCAA8C,CAAA;AACzF,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,WAAW,EAAE,2BAA2B,CAAC,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAG/D,eAAO,MAAM,2BAA2B;;CAAwD,CAAA;AAChG,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,WAAW,EAAE,2BAA2B,CAAC,CAAA"}
@@ -1,5 +1,6 @@
1
1
  // src/Config/Config.ts
2
- var DistinctDivinerConfigSchema = "network.xyo.diviner.distinct.config";
2
+ import { asSchema } from "@xyo-network/payload-model";
3
+ var DistinctDivinerConfigSchema = asSchema("network.xyo.diviner.distinct.config", true);
3
4
  export {
4
5
  DistinctDivinerConfigSchema
5
6
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Config/Config.ts"],"sourcesContent":["import type { EmptyObject } from '@xylabs/sdk-js'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\n\nexport const DistinctDivinerConfigSchema = 'network.xyo.diviner.distinct.config' as const\nexport type DistinctDivinerConfigSchema = typeof DistinctDivinerConfigSchema\n\nexport type DistinctDivinerConfig = DivinerConfig<EmptyObject, DistinctDivinerConfigSchema>\n"],"mappings":";AAGO,IAAM,8BAA8B;","names":[]}
1
+ {"version":3,"sources":["../../src/Config/Config.ts"],"sourcesContent":["import type { EmptyObject } from '@xylabs/sdk-js'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nexport const DistinctDivinerConfigSchema = asSchema('network.xyo.diviner.distinct.config', true)\nexport type DistinctDivinerConfigSchema = typeof DistinctDivinerConfigSchema\n\nexport type DistinctDivinerConfig = DivinerConfig<EmptyObject, DistinctDivinerConfigSchema>\n"],"mappings":";AAEA,SAAS,gBAAgB;AAElB,IAAM,8BAA8B,SAAS,uCAAuC,IAAI;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-distinct-model",
3
- "version": "5.2.27",
3
+ "version": "5.3.0",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -37,7 +37,8 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@xylabs/sdk-js": "~5.0.64",
40
- "@xyo-network/diviner-model": "~5.2.27"
40
+ "@xyo-network/diviner-model": "~5.3.0",
41
+ "@xyo-network/payload-model": "~5.3.0"
41
42
  },
42
43
  "devDependencies": {
43
44
  "@xylabs/ts-scripts-yarn3": "~7.3.2",
@@ -1,7 +1,8 @@
1
1
  import type { EmptyObject } from '@xylabs/sdk-js'
2
2
  import type { DivinerConfig } from '@xyo-network/diviner-model'
3
+ import { asSchema } from '@xyo-network/payload-model'
3
4
 
4
- export const DistinctDivinerConfigSchema = 'network.xyo.diviner.distinct.config' as const
5
+ export const DistinctDivinerConfigSchema = asSchema('network.xyo.diviner.distinct.config', true)
5
6
  export type DistinctDivinerConfigSchema = typeof DistinctDivinerConfigSchema
6
7
 
7
8
  export type DistinctDivinerConfig = DivinerConfig<EmptyObject, DistinctDivinerConfigSchema>