@xyo-network/diviner-boundwitness-stats-model 5.2.27 → 5.3.1
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/neutral/Config.d.ts +5 -4
- package/dist/neutral/Config.d.ts.map +1 -1
- package/dist/neutral/Schema.d.ts +3 -1
- package/dist/neutral/Schema.d.ts.map +1 -1
- package/dist/neutral/index.mjs +6 -2
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/Config.ts +3 -3
- package/src/Schema.ts +3 -1
package/dist/neutral/Config.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
-
import type
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { type Payload } from '@xyo-network/payload-model';
|
|
3
|
+
export declare const BoundWitnessStatsDivinerConfigSchema: string & {
|
|
4
|
+
readonly __schema: true;
|
|
5
|
+
};
|
|
6
|
+
export type BoundWitnessStatsDivinerConfigSchema = typeof BoundWitnessStatsDivinerConfigSchema;
|
|
6
7
|
export type BoundWitnessStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<T & {
|
|
7
8
|
schema: BoundWitnessStatsDivinerConfigSchema;
|
|
8
9
|
}>;
|
|
@@ -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;AAC/D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,EAAY,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAInE,eAAO,MAAM,oCAAoC;;CAA6D,CAAA;AAC9G,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAA;AAE9F,MAAM,MAAM,8BAA8B,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO,IAAI,aAAa,CACrF,CAAC,GAAG;IACF,MAAM,EAAE,oCAAoC,CAAA;CAC7C,CACF,CAAA"}
|
package/dist/neutral/Schema.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export declare const BoundWitnessStatsDivinerSchema: "network.xyo.diviner.boundwitness.stats"
|
|
1
|
+
export declare const BoundWitnessStatsDivinerSchema: "network.xyo.diviner.boundwitness.stats" & {
|
|
2
|
+
readonly __schema: true;
|
|
3
|
+
};
|
|
2
4
|
export type BoundWitnessStatsDivinerSchema = typeof BoundWitnessStatsDivinerSchema;
|
|
3
5
|
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,8BAA8B;;CAA2D,CAAA;AACtG,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
// src/Config.ts
|
|
2
|
+
import { asSchema as asSchema2 } from "@xyo-network/payload-model";
|
|
3
|
+
|
|
1
4
|
// src/Schema.ts
|
|
2
|
-
|
|
5
|
+
import { asSchema } from "@xyo-network/payload-model";
|
|
6
|
+
var BoundWitnessStatsDivinerSchema = asSchema("network.xyo.diviner.boundwitness.stats", true);
|
|
3
7
|
|
|
4
8
|
// src/Config.ts
|
|
5
|
-
var BoundWitnessStatsDivinerConfigSchema = `${BoundWitnessStatsDivinerSchema}.config
|
|
9
|
+
var BoundWitnessStatsDivinerConfigSchema = asSchema2(`${BoundWitnessStatsDivinerSchema}.config`, true);
|
|
6
10
|
|
|
7
11
|
// src/Payload.ts
|
|
8
12
|
var isBoundWitnessStatsPayload = (x) => x?.schema === BoundWitnessStatsDivinerSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/
|
|
1
|
+
{"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema, type Payload } from '@xyo-network/payload-model'\n\nimport { BoundWitnessStatsDivinerSchema } from './Schema.ts'\n\nexport const BoundWitnessStatsDivinerConfigSchema = asSchema(`${BoundWitnessStatsDivinerSchema}.config`, true)\nexport type BoundWitnessStatsDivinerConfigSchema = typeof BoundWitnessStatsDivinerConfigSchema\n\nexport type BoundWitnessStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: BoundWitnessStatsDivinerConfigSchema\n }\n>\n","import { asSchema } from '@xyo-network/payload-model'\n\nexport const BoundWitnessStatsDivinerSchema = asSchema('network.xyo.diviner.boundwitness.stats', true)\nexport type BoundWitnessStatsDivinerSchema = typeof BoundWitnessStatsDivinerSchema\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":";AACA,SAAS,YAAAA,iBAA8B;;;ACDvC,SAAS,gBAAgB;AAElB,IAAM,iCAAiC,SAAS,0CAA0C,IAAI;;;ADG9F,IAAM,uCAAuCC,UAAS,GAAG,8BAA8B,WAAW,IAAI;;;AEAtG,IAAM,6BAA6B,CAAC,MAAsD,GAAG,WAAW;;;ACAxG,IAAM,+BAA6D,GAAG,8BAA8B;AAGpG,IAAM,kCAAkC,CAAC,MAA2D,GAAG,WAAW;","names":["asSchema","asSchema"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-boundwitness-stats-model",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"!**/*.test.*"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xyo-network/diviner-model": "~5.
|
|
40
|
-
"@xyo-network/module-model": "~5.
|
|
41
|
-
"@xyo-network/payload-model": "~5.
|
|
39
|
+
"@xyo-network/diviner-model": "~5.3.1",
|
|
40
|
+
"@xyo-network/module-model": "~5.3.1",
|
|
41
|
+
"@xyo-network/payload-model": "~5.3.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
package/src/Config.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { DivinerConfig } from '@xyo-network/diviner-model'
|
|
2
|
-
import type
|
|
2
|
+
import { asSchema, type Payload } from '@xyo-network/payload-model'
|
|
3
3
|
|
|
4
4
|
import { BoundWitnessStatsDivinerSchema } from './Schema.ts'
|
|
5
5
|
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export const BoundWitnessStatsDivinerConfigSchema = asSchema(`${BoundWitnessStatsDivinerSchema}.config`, true)
|
|
7
|
+
export type BoundWitnessStatsDivinerConfigSchema = typeof BoundWitnessStatsDivinerConfigSchema
|
|
8
8
|
|
|
9
9
|
export type BoundWitnessStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<
|
|
10
10
|
T & {
|
package/src/Schema.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { asSchema } from '@xyo-network/payload-model'
|
|
2
|
+
|
|
3
|
+
export const BoundWitnessStatsDivinerSchema = asSchema('network.xyo.diviner.boundwitness.stats', true)
|
|
2
4
|
export type BoundWitnessStatsDivinerSchema = typeof BoundWitnessStatsDivinerSchema
|