@xyo-network/diviner-address-chain-model 3.6.0-rc.5 → 3.6.0-rc.6
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/Query.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type PayloadFindFilter, type Query } from '@xyo-network/payload-model';
|
|
2
2
|
import { AddressChainQuerySchema } from './Schema.ts';
|
|
3
3
|
export type AddressChainQueryPayload = Query<{
|
|
4
4
|
schema: AddressChainQuerySchema;
|
|
5
5
|
} & PayloadFindFilter>;
|
|
6
|
-
export declare const isAddressChainQueryPayload: (x?:
|
|
6
|
+
export declare const isAddressChainQueryPayload: (x?: unknown | null) => x is import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
|
|
7
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
8
|
+
}>;
|
|
7
9
|
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,iBAAiB,EAAE,KAAK,KAAK,EACnC,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B;;EAAiD,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -10,7 +10,8 @@ var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
|
10
10
|
var isAddressChainPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainSchema, "isAddressChainPayload");
|
|
11
11
|
|
|
12
12
|
// src/Query.ts
|
|
13
|
-
|
|
13
|
+
import { isPayloadOfSchemaType } from "@xyo-network/payload-model";
|
|
14
|
+
var isAddressChainQueryPayload = isPayloadOfSchemaType(AddressChainQuerySchema);
|
|
14
15
|
export {
|
|
15
16
|
AddressChainDivinerConfigSchema,
|
|
16
17
|
AddressChainQuerySchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type AddressChainSchema = 'network.xyo.diviner.address.chain'\nexport const AddressChainSchema: AddressChainSchema = 'network.xyo.diviner.address.chain'\n\nexport type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\nexport const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\n\nexport type AddressChainQuerySchema = `${AddressChainSchema}.query`\nexport const AddressChainQuerySchema: AddressChainQuerySchema = `${AddressChainSchema}.query`\n","import type { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema.ts'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","import
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type AddressChainSchema = 'network.xyo.diviner.address.chain'\nexport const AddressChainSchema: AddressChainSchema = 'network.xyo.diviner.address.chain'\n\nexport type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\nexport const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\n\nexport type AddressChainQuerySchema = `${AddressChainSchema}.query`\nexport const AddressChainQuerySchema: AddressChainQuerySchema = `${AddressChainSchema}.query`\n","import type { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema.ts'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","import {\n isPayloadOfSchemaType,\n type PayloadFindFilter, type Query,\n} from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema.ts'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = isPayloadOfSchemaType(AddressChainQuerySchema)\n"],"mappings":";;;;AACO,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,MAAiDA,GAAGC,WAAWC,oBAAhE;;;ACLrC,SACEC,6BAEK;AAKA,IAAMC,6BAA6BC,sBAAsBC,uBAAAA;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isPayloadOfSchemaType","isAddressChainQueryPayload","isPayloadOfSchemaType","AddressChainQuerySchema"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-address-chain-model",
|
|
3
|
-
"version": "3.6.0-rc.
|
|
3
|
+
"version": "3.6.0-rc.6",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/hex": "^4.4.
|
|
33
|
-
"@xyo-network/diviner-model": "^3.6.0-rc.
|
|
34
|
-
"@xyo-network/module-model": "^3.6.0-rc.
|
|
35
|
-
"@xyo-network/payload-model": "^3.6.0-rc.
|
|
32
|
+
"@xylabs/hex": "^4.4.15",
|
|
33
|
+
"@xyo-network/diviner-model": "^3.6.0-rc.6",
|
|
34
|
+
"@xyo-network/module-model": "^3.6.0-rc.6",
|
|
35
|
+
"@xyo-network/payload-model": "^3.6.0-rc.6"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@xylabs/ts-scripts-yarn3": "^4.2.4",
|
package/src/Query.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
isPayloadOfSchemaType,
|
|
3
|
+
type PayloadFindFilter, type Query,
|
|
3
4
|
} from '@xyo-network/payload-model'
|
|
4
5
|
|
|
5
6
|
import { AddressChainQuerySchema } from './Schema.ts'
|
|
6
7
|
|
|
7
8
|
export type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>
|
|
8
|
-
export const isAddressChainQueryPayload = (
|
|
9
|
+
export const isAddressChainQueryPayload = isPayloadOfSchemaType(AddressChainQuerySchema)
|