@xyo-network/diviner-address-chain-model 3.6.9 → 3.6.11
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/Schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
1
|
+
export declare const AddressChainSchema: "network.xyo.diviner.address.chain";
|
|
2
|
+
export type AddressChainSchema = typeof AddressChainSchema;
|
|
3
|
+
export declare const AddressChainDivinerConfigSchema: "network.xyo.diviner.address.chain.config";
|
|
4
|
+
export type AddressChainDivinerConfigSchema = typeof AddressChainDivinerConfigSchema;
|
|
5
|
+
export declare const AddressChainQuerySchema: "network.xyo.diviner.address.chain.query";
|
|
6
|
+
export type AddressChainQuerySchema = typeof AddressChainQuerySchema;
|
|
7
7
|
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAG,mCAA4C,CAAA;AAC9E,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA;AAE1D,eAAO,MAAM,+BAA+B,4CAA0C,CAAA;AACtF,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAA;AAEpF,eAAO,MAAM,uBAAuB,2CAAyC,CAAA;AAC7E,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
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 AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
6
3
|
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
7
4
|
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
8
5
|
|
|
9
6
|
// src/Payload.ts
|
|
10
|
-
var isAddressChainPayload =
|
|
7
|
+
var isAddressChainPayload = (x) => x?.schema === AddressChainSchema;
|
|
11
8
|
|
|
12
9
|
// src/Query.ts
|
|
13
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
isPayloadOfSchemaType
|
|
12
|
+
} from "@xyo-network/payload-model";
|
|
14
13
|
var isAddressChainQueryPayload = isPayloadOfSchemaType(AddressChainQuerySchema);
|
|
15
14
|
export {
|
|
16
15
|
AddressChainDivinerConfigSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export const AddressChainSchema = 'network.xyo.diviner.address.chain' as const\nexport type AddressChainSchema = typeof AddressChainSchema\n\nexport const AddressChainDivinerConfigSchema = `${AddressChainSchema}.config` as const\nexport type AddressChainDivinerConfigSchema = typeof AddressChainDivinerConfigSchema\n\nexport const AddressChainQuerySchema = `${AddressChainSchema}.query` as const\nexport type AddressChainQuerySchema = typeof AddressChainQuerySchema\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 } & Omit<PayloadFindFilter, 'schema'>>\nexport const isAddressChainQueryPayload = isPayloadOfSchemaType<AddressChainQueryPayload>(AddressChainQuerySchema)\n"],"mappings":";AAAO,IAAM,qBAAqB;AAG3B,IAAM,kCAAkC,GAAG,kBAAkB;AAG7D,IAAM,0BAA0B,GAAG,kBAAkB;;;ACDrD,IAAM,wBAAwB,CAAC,MAAiD,GAAG,WAAW;;;ACLrG;AAAA,EACE;AAAA,OAEK;AAKA,IAAM,6BAA6B,sBAAgD,uBAAuB;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-address-chain-model",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.11",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/hex": "^4.
|
|
33
|
-
"@xyo-network/diviner-model": "^3.6.
|
|
34
|
-
"@xyo-network/module-model": "^3.6.
|
|
35
|
-
"@xyo-network/payload-model": "^3.6.
|
|
32
|
+
"@xylabs/hex": "^4.5.1",
|
|
33
|
+
"@xyo-network/diviner-model": "^3.6.11",
|
|
34
|
+
"@xyo-network/module-model": "^3.6.11",
|
|
35
|
+
"@xyo-network/payload-model": "^3.6.11"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@xylabs/ts-scripts-yarn3": "^4.2.6",
|
|
39
39
|
"@xylabs/tsconfig": "^4.2.6",
|
|
40
|
-
"typescript": "^5.7.
|
|
40
|
+
"typescript": "^5.7.3"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
package/src/Schema.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export const AddressChainSchema = 'network.xyo.diviner.address.chain' as const
|
|
2
|
+
export type AddressChainSchema = typeof AddressChainSchema
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export const AddressChainDivinerConfigSchema = `${AddressChainSchema}.config` as const
|
|
5
|
+
export type AddressChainDivinerConfigSchema = typeof AddressChainDivinerConfigSchema
|
|
6
6
|
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export const AddressChainQuerySchema = `${AddressChainSchema}.query` as const
|
|
8
|
+
export type AddressChainQuerySchema = typeof AddressChainQuerySchema
|