@xyo-network/diviner-address-chain-model 3.9.18 → 3.9.20

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.
@@ -0,0 +1,10 @@
1
+ import type { Address, Hash } from '@xylabs/hex';
2
+ import type { DivinerConfig } from '@xyo-network/diviner-model';
3
+ import type { AddressChainDivinerConfigSchema } from './Schema.ts';
4
+ export type AddressChainDivinerConfig = DivinerConfig<{
5
+ address?: Address;
6
+ maxResults?: number;
7
+ schema: AddressChainDivinerConfigSchema;
8
+ startHash?: Hash;
9
+ }>;
10
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAA;AAElE,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { DivinerParams } from '@xyo-network/diviner-model';
2
+ import type { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import type { AddressChainDivinerConfig } from './Config.ts';
4
+ export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAE5D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { Payload } from '@xyo-network/payload-model';
2
+ import { AddressChainSchema } from './Schema.ts';
3
+ export type AddressChainPayload = Payload<{
4
+ schema: AddressChainSchema;
5
+ }>;
6
+ export declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
7
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,GAAI,IAAI,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,mBAAuD,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
+ import { AddressChainQuerySchema } from './Schema.ts';
3
+ export type AddressChainQueryPayload = Query<{
4
+ schema: AddressChainQuerySchema;
5
+ } & Omit<PayloadFindFilter, 'schema'>>;
6
+ export declare const isAddressChainQueryPayload: (x?: unknown | null) => x is AddressChainQueryPayload;
7
+ //# sourceMappingURL=Query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAG1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC,CAAA;AACrH,eAAO,MAAM,0BAA0B,uDAA2E,CAAA"}
@@ -0,0 +1,7 @@
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
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -1,32 +1,6 @@
1
- import { Address, Hash } from '@xylabs/hex';
2
- import { DivinerConfig, DivinerParams } from '@xyo-network/diviner-model';
3
- import { AnyConfigSchema } from '@xyo-network/module-model';
4
- import { Payload, Query, PayloadFindFilter } from '@xyo-network/payload-model';
5
-
6
- declare const AddressChainSchema: "network.xyo.diviner.address.chain";
7
- type AddressChainSchema = typeof AddressChainSchema;
8
- declare const AddressChainDivinerConfigSchema: "network.xyo.diviner.address.chain.config";
9
- type AddressChainDivinerConfigSchema = typeof AddressChainDivinerConfigSchema;
10
- declare const AddressChainQuerySchema: "network.xyo.diviner.address.chain.query";
11
- type AddressChainQuerySchema = typeof AddressChainQuerySchema;
12
-
13
- type AddressChainDivinerConfig = DivinerConfig<{
14
- address?: Address;
15
- maxResults?: number;
16
- schema: AddressChainDivinerConfigSchema;
17
- startHash?: Hash;
18
- }>;
19
-
20
- type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
21
-
22
- type AddressChainPayload = Payload<{
23
- schema: AddressChainSchema;
24
- }>;
25
- declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
26
-
27
- type AddressChainQueryPayload = Query<{
28
- schema: AddressChainQuerySchema;
29
- } & Omit<PayloadFindFilter, 'schema'>>;
30
- declare const isAddressChainQueryPayload: (x?: unknown | null) => x is AddressChainQueryPayload;
31
-
32
- export { type AddressChainDivinerConfig, AddressChainDivinerConfigSchema, type AddressChainDivinerParams, type AddressChainPayload, type AddressChainQueryPayload, AddressChainQuerySchema, AddressChainSchema, isAddressChainPayload, isAddressChainQueryPayload };
1
+ export * from './Config.ts';
2
+ export * from './Params.ts';
3
+ export * from './Payload.ts';
4
+ export * from './Query.ts';
5
+ export * from './Schema.ts';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-address-chain-model",
3
- "version": "3.9.18",
3
+ "version": "3.9.20",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,14 +30,14 @@
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
32
  "@xylabs/hex": "^4.5.1",
33
- "@xyo-network/diviner-model": "^3.9.18",
34
- "@xyo-network/module-model": "^3.9.18",
35
- "@xyo-network/payload-model": "^3.9.18"
33
+ "@xyo-network/diviner-model": "^3.9.20",
34
+ "@xyo-network/module-model": "^3.9.20",
35
+ "@xyo-network/payload-model": "^3.9.20"
36
36
  },
37
37
  "devDependencies": {
38
- "@xylabs/ts-scripts-yarn3": "^5.0.25",
39
- "@xylabs/tsconfig": "^5.0.25",
40
- "typescript": "^5.7.3"
38
+ "@xylabs/ts-scripts-yarn3": "^5.0.39",
39
+ "@xylabs/tsconfig": "^5.0.39",
40
+ "typescript": "^5.8.2"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"