@xyo-network/diviner-boundwitness-model 5.2.25 → 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.
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 BoundWitnessDivinerConfigSchema: string & {
|
|
4
|
+
readonly __schema: true;
|
|
5
|
+
};
|
|
6
|
+
export type BoundWitnessDivinerConfigSchema = typeof BoundWitnessDivinerConfigSchema;
|
|
6
7
|
export type BoundWitnessDivinerConfig<T extends Payload = Payload> = DivinerConfig<T & {
|
|
7
8
|
schema: BoundWitnessDivinerConfigSchema;
|
|
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,+BAA+B;;CAAwD,CAAA;AACpG,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAA;AAEpF,MAAM,MAAM,yBAAyB,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO,IAAI,aAAa,CAChF,CAAC,GAAG;IACF,MAAM,EAAE,+BAA+B,CAAA;CACxC,CACF,CAAA"}
|
package/dist/neutral/Query.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { Query } from '@xyo-network/payload-model';
|
|
2
2
|
import type { BoundWitnessDivinerPredicate } from './Predicate.ts';
|
|
3
|
-
export declare const BoundWitnessDivinerQuerySchema: string
|
|
3
|
+
export declare const BoundWitnessDivinerQuerySchema: string & {
|
|
4
|
+
readonly __schema: true;
|
|
5
|
+
};
|
|
4
6
|
export type BoundWitnessDivinerQuerySchema = typeof BoundWitnessDivinerQuerySchema;
|
|
5
7
|
export type BoundWitnessDivinerQueryPayload = Query<{
|
|
6
8
|
schema: BoundWitnessDivinerQuerySchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAGvD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AAGlE,eAAO,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAGvD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AAGlE,eAAO,MAAM,8BAA8B;;CAAuD,CAAA;AAClG,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAA;AAElF,MAAM,MAAM,+BAA+B,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,8BAA8B,CAAA;CAAE,GAAG,4BAA4B,CAAC,CAAA;AAC9H,eAAO,MAAM,iCAAiC,8DAAyF,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
// src/Config.ts
|
|
2
|
+
import { asSchema } from "@xyo-network/payload-model";
|
|
3
|
+
|
|
1
4
|
// src/Schema.ts
|
|
2
5
|
var BoundWitnessDivinerSchema = "network.xyo.diviner.boundwitness";
|
|
3
6
|
|
|
4
7
|
// src/Config.ts
|
|
5
|
-
var BoundWitnessDivinerConfigSchema = `${BoundWitnessDivinerSchema}.config
|
|
8
|
+
var BoundWitnessDivinerConfigSchema = asSchema(`${BoundWitnessDivinerSchema}.config`, true);
|
|
6
9
|
|
|
7
10
|
// src/Query.ts
|
|
8
|
-
import { asSchema, isPayloadOfSchemaType } from "@xyo-network/payload-model";
|
|
9
|
-
var BoundWitnessDivinerQuerySchema =
|
|
11
|
+
import { asSchema as asSchema2, isPayloadOfSchemaType } from "@xyo-network/payload-model";
|
|
12
|
+
var BoundWitnessDivinerQuerySchema = asSchema2(`${BoundWitnessDivinerSchema}.query`, true);
|
|
10
13
|
var isBoundWitnessDivinerQueryPayload = isPayloadOfSchemaType(BoundWitnessDivinerQuerySchema);
|
|
11
14
|
export {
|
|
12
15
|
BoundWitnessDivinerConfigSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/
|
|
1
|
+
{"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts","../../src/Query.ts"],"sourcesContent":["import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema, type Payload } from '@xyo-network/payload-model'\n\nimport { BoundWitnessDivinerSchema } from './Schema.ts'\n\nexport const BoundWitnessDivinerConfigSchema = asSchema(`${BoundWitnessDivinerSchema}.config`, true)\nexport type BoundWitnessDivinerConfigSchema = typeof BoundWitnessDivinerConfigSchema\n\nexport type BoundWitnessDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: BoundWitnessDivinerConfigSchema\n }\n>\n","export const BoundWitnessDivinerSchema = 'network.xyo.diviner.boundwitness' as const\nexport type BoundWitnessDivinerSchema = typeof BoundWitnessDivinerSchema\n","import type { Query } from '@xyo-network/payload-model'\nimport { asSchema, isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport type { BoundWitnessDivinerPredicate } from './Predicate.ts'\nimport { BoundWitnessDivinerSchema } from './Schema.ts'\n\nexport const BoundWitnessDivinerQuerySchema = asSchema(`${BoundWitnessDivinerSchema}.query`, true)\nexport type BoundWitnessDivinerQuerySchema = typeof BoundWitnessDivinerQuerySchema\n\nexport type BoundWitnessDivinerQueryPayload = Query<{ schema: BoundWitnessDivinerQuerySchema } & BoundWitnessDivinerPredicate>\nexport const isBoundWitnessDivinerQueryPayload = isPayloadOfSchemaType<BoundWitnessDivinerQueryPayload>(BoundWitnessDivinerQuerySchema)\n"],"mappings":";AACA,SAAS,gBAA8B;;;ACDhC,IAAM,4BAA4B;;;ADKlC,IAAM,kCAAkC,SAAS,GAAG,yBAAyB,WAAW,IAAI;;;AEJnG,SAAS,YAAAA,WAAU,6BAA6B;AAKzC,IAAM,iCAAiCC,UAAS,GAAG,yBAAyB,UAAU,IAAI;AAI1F,IAAM,oCAAoC,sBAAuD,8BAA8B;","names":["asSchema","asSchema"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-boundwitness-model",
|
|
3
|
-
"version": "5.
|
|
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": {
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"!**/*.test.*"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xyo-network/boundwitness-model": "~5.
|
|
40
|
-
"@xyo-network/diviner-model": "~5.
|
|
41
|
-
"@xyo-network/diviner-payload-model": "~5.
|
|
42
|
-
"@xyo-network/module-model": "~5.
|
|
43
|
-
"@xyo-network/payload-model": "~5.
|
|
39
|
+
"@xyo-network/boundwitness-model": "~5.3.0",
|
|
40
|
+
"@xyo-network/diviner-model": "~5.3.0",
|
|
41
|
+
"@xyo-network/diviner-payload-model": "~5.3.0",
|
|
42
|
+
"@xyo-network/module-model": "~5.3.0",
|
|
43
|
+
"@xyo-network/payload-model": "~5.3.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@xylabs/ts-scripts-yarn3": "~7.2
|
|
47
|
-
"@xylabs/tsconfig": "~7.2
|
|
46
|
+
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
|
47
|
+
"@xylabs/tsconfig": "~7.3.2",
|
|
48
48
|
"typescript": "~5.9.3"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
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 { BoundWitnessDivinerSchema } from './Schema.ts'
|
|
5
5
|
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export const BoundWitnessDivinerConfigSchema = asSchema(`${BoundWitnessDivinerSchema}.config`, true)
|
|
7
|
+
export type BoundWitnessDivinerConfigSchema = typeof BoundWitnessDivinerConfigSchema
|
|
8
8
|
|
|
9
9
|
export type BoundWitnessDivinerConfig<T extends Payload = Payload> = DivinerConfig<
|
|
10
10
|
T & {
|