@xyo-network/diviner-boundwitness-stats-model 3.6.8 → 3.6.10

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,3 +1,3 @@
1
- export type BoundWitnessStatsDivinerSchema = 'network.xyo.diviner.boundwitness.stats';
2
- export declare const BoundWitnessStatsDivinerSchema: BoundWitnessStatsDivinerSchema;
1
+ export declare const BoundWitnessStatsDivinerSchema: "network.xyo.diviner.boundwitness.stats";
2
+ export type BoundWitnessStatsDivinerSchema = typeof BoundWitnessStatsDivinerSchema;
3
3
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,8BAA8B,GAAG,wCAAwC,CAAA;AACrF,eAAO,MAAM,8BAA8B,EAAE,8BAAyE,CAAA"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,EAAG,wCAAiD,CAAA;AAC/F,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA"}
@@ -1,6 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
-
4
1
  // src/Schema.ts
5
2
  var BoundWitnessStatsDivinerSchema = "network.xyo.diviner.boundwitness.stats";
6
3
 
@@ -8,11 +5,11 @@ var BoundWitnessStatsDivinerSchema = "network.xyo.diviner.boundwitness.stats";
8
5
  var BoundWitnessStatsDivinerConfigSchema = `${BoundWitnessStatsDivinerSchema}.config`;
9
6
 
10
7
  // src/Payload.ts
11
- var isBoundWitnessStatsPayload = /* @__PURE__ */ __name((x) => x?.schema === BoundWitnessStatsDivinerSchema, "isBoundWitnessStatsPayload");
8
+ var isBoundWitnessStatsPayload = (x) => x?.schema === BoundWitnessStatsDivinerSchema;
12
9
 
13
10
  // src/Query.ts
14
11
  var BoundWitnessStatsQuerySchema = `${BoundWitnessStatsDivinerSchema}.query`;
15
- var isBoundWitnessStatsQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === BoundWitnessStatsQuerySchema, "isBoundWitnessStatsQueryPayload");
12
+ var isBoundWitnessStatsQueryPayload = (x) => x?.schema === BoundWitnessStatsQuerySchema;
16
13
  export {
17
14
  BoundWitnessStatsDivinerConfigSchema,
18
15
  BoundWitnessStatsDivinerSchema,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type BoundWitnessStatsDivinerSchema = 'network.xyo.diviner.boundwitness.stats'\nexport const BoundWitnessStatsDivinerSchema: BoundWitnessStatsDivinerSchema = 'network.xyo.diviner.boundwitness.stats'\n","import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Payload } from '@xyo-network/payload-model'\n\nimport { BoundWitnessStatsDivinerSchema } from './Schema.ts'\n\nexport type BoundWitnessStatsDivinerConfigSchema = `${BoundWitnessStatsDivinerSchema}.config`\nexport const BoundWitnessStatsDivinerConfigSchema: BoundWitnessStatsDivinerConfigSchema = `${BoundWitnessStatsDivinerSchema}.config`\n\nexport type BoundWitnessStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: BoundWitnessStatsDivinerConfigSchema\n }\n>\n","import type { Payload } from '@xyo-network/payload-model'\n\nimport { BoundWitnessStatsDivinerSchema } from './Schema.ts'\n\nexport type BoundWitnessStatsPayload = Payload<{ count: number; schema: BoundWitnessStatsDivinerSchema }>\nexport const isBoundWitnessStatsPayload = (x?: Payload | null): x is BoundWitnessStatsPayload => x?.schema === BoundWitnessStatsDivinerSchema\n","import type { Payload, Query } from '@xyo-network/payload-model'\n\nimport { BoundWitnessStatsDivinerSchema } from './Schema.ts'\n\nexport type BoundWitnessStatsQuerySchema = `${BoundWitnessStatsDivinerSchema}.query`\nexport const BoundWitnessStatsQuerySchema: BoundWitnessStatsQuerySchema = `${BoundWitnessStatsDivinerSchema}.query`\n\nexport type BoundWitnessStatsQueryPayload = Query<{ schema: BoundWitnessStatsQuerySchema }>\nexport const isBoundWitnessStatsQueryPayload = (x?: Payload | null): x is BoundWitnessStatsQueryPayload => x?.schema === BoundWitnessStatsQuerySchema\n"],"mappings":";;;;AACO,IAAMA,iCAAiE;;;ACKvE,IAAMC,uCAA6E,GAAGC,8BAAAA;;;ACDtF,IAAMC,6BAA6B,wBAACC,MAAsDA,GAAGC,WAAWC,gCAArE;;;ACAnC,IAAMC,+BAA6D,GAAGC,8BAAAA;AAGtE,IAAMC,kCAAkC,wBAACC,MAA2DA,GAAGC,WAAWJ,8BAA1E;","names":["BoundWitnessStatsDivinerSchema","BoundWitnessStatsDivinerConfigSchema","BoundWitnessStatsDivinerSchema","isBoundWitnessStatsPayload","x","schema","BoundWitnessStatsDivinerSchema","BoundWitnessStatsQuerySchema","BoundWitnessStatsDivinerSchema","isBoundWitnessStatsQueryPayload","x","schema"]}
1
+ {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export const BoundWitnessStatsDivinerSchema = 'network.xyo.diviner.boundwitness.stats' as const\nexport type BoundWitnessStatsDivinerSchema = typeof BoundWitnessStatsDivinerSchema\n","import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Payload } from '@xyo-network/payload-model'\n\nimport { BoundWitnessStatsDivinerSchema } from './Schema.ts'\n\nexport type BoundWitnessStatsDivinerConfigSchema = `${BoundWitnessStatsDivinerSchema}.config`\nexport const BoundWitnessStatsDivinerConfigSchema: BoundWitnessStatsDivinerConfigSchema = `${BoundWitnessStatsDivinerSchema}.config`\n\nexport type BoundWitnessStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: BoundWitnessStatsDivinerConfigSchema\n }\n>\n","import type { Payload } from '@xyo-network/payload-model'\n\nimport { BoundWitnessStatsDivinerSchema } from './Schema.ts'\n\nexport type BoundWitnessStatsPayload = Payload<{ count: number; schema: BoundWitnessStatsDivinerSchema }>\nexport const isBoundWitnessStatsPayload = (x?: Payload | null): x is BoundWitnessStatsPayload => x?.schema === BoundWitnessStatsDivinerSchema\n","import type { Payload, Query } from '@xyo-network/payload-model'\n\nimport { BoundWitnessStatsDivinerSchema } from './Schema.ts'\n\nexport type BoundWitnessStatsQuerySchema = `${BoundWitnessStatsDivinerSchema}.query`\nexport const BoundWitnessStatsQuerySchema: BoundWitnessStatsQuerySchema = `${BoundWitnessStatsDivinerSchema}.query`\n\nexport type BoundWitnessStatsQueryPayload = Query<{ schema: BoundWitnessStatsQuerySchema }>\nexport const isBoundWitnessStatsQueryPayload = (x?: Payload | null): x is BoundWitnessStatsQueryPayload => x?.schema === BoundWitnessStatsQuerySchema\n"],"mappings":";AAAO,IAAM,iCAAiC;;;ACMvC,IAAM,uCAA6E,GAAG,8BAA8B;;;ACDpH,IAAM,6BAA6B,CAAC,MAAsD,GAAG,WAAW;;;ACAxG,IAAM,+BAA6D,GAAG,8BAA8B;AAGpG,IAAM,kCAAkC,CAAC,MAA2D,GAAG,WAAW;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-boundwitness-stats-model",
3
- "version": "3.6.8",
3
+ "version": "3.6.10",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,14 +29,14 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xyo-network/diviner-model": "^3.6.8",
33
- "@xyo-network/module-model": "^3.6.8",
34
- "@xyo-network/payload-model": "^3.6.8"
32
+ "@xyo-network/diviner-model": "^3.6.10",
33
+ "@xyo-network/module-model": "^3.6.10",
34
+ "@xyo-network/payload-model": "^3.6.10"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@xylabs/ts-scripts-yarn3": "^4.2.6",
38
38
  "@xylabs/tsconfig": "^4.2.6",
39
- "typescript": "^5.7.2"
39
+ "typescript": "^5.7.3"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"
package/src/Schema.ts CHANGED
@@ -1,2 +1,2 @@
1
- export type BoundWitnessStatsDivinerSchema = 'network.xyo.diviner.boundwitness.stats'
2
- export const BoundWitnessStatsDivinerSchema: BoundWitnessStatsDivinerSchema = 'network.xyo.diviner.boundwitness.stats'
1
+ export const BoundWitnessStatsDivinerSchema = 'network.xyo.diviner.boundwitness.stats' as const
2
+ export type BoundWitnessStatsDivinerSchema = typeof BoundWitnessStatsDivinerSchema