@xyo-network/diviner-address-chain-model 2.73.4 → 2.74.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.
@@ -0,0 +1,9 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { AddressChainDivinerConfigSchema } from './Schema';
3
+ export type AddressChainDivinerConfig = DivinerConfig<{
4
+ address?: string;
5
+ maxResults?: number;
6
+ schema: AddressChainDivinerConfigSchema;
7
+ startHash?: string;
8
+ }>;
9
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAA;AAE1D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { DivinerConfig } from '@xyo-network/diviner-model';
2
+ import { AddressChainDivinerConfigSchema } from './Schema';
3
+ export type AddressChainDivinerConfig = DivinerConfig<{
4
+ address?: string;
5
+ maxResults?: number;
6
+ schema: AddressChainDivinerConfigSchema;
7
+ startHash?: string;
8
+ }>;
9
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAA;AAE1D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { AddressChainDivinerConfig } from './Config';
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,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AAEpD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { DivinerParams } from '@xyo-network/diviner-model';
2
+ import { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import { AddressChainDivinerConfig } from './Config';
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,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AAEpD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { AddressChainSchema } from './Schema';
3
+ export type AddressChainPayload = Payload<{
4
+ schema: AddressChainSchema;
5
+ }>;
6
+ export declare const isAddressChainPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
7
+ schema: AddressChainSchema;
8
+ };
9
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAE7C,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,OAAQ,OAAO,GAAG,IAAI;YADJ,kBAAkB;CACiD,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { AddressChainSchema } from './Schema';
3
+ export type AddressChainPayload = Payload<{
4
+ schema: AddressChainSchema;
5
+ }>;
6
+ export declare const isAddressChainPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
7
+ schema: AddressChainSchema;
8
+ };
9
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAE7C,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,OAAQ,OAAO,GAAG,IAAI;YADJ,kBAAkB;CACiD,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
+ import { AddressChainQuerySchema } from './Schema';
3
+ export type AddressChainQueryPayload = Query<{
4
+ schema: AddressChainQuerySchema;
5
+ } & PayloadFindFilter>;
6
+ export declare const isAddressChainQueryPayload: (x?: Payload | 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,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,kCAAyE,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
+ import { AddressChainQuerySchema } from './Schema';
3
+ export type AddressChainQueryPayload = Query<{
4
+ schema: AddressChainQuerySchema;
5
+ } & PayloadFindFilter>;
6
+ export declare const isAddressChainQueryPayload: (x?: Payload | 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,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,kCAAyE,CAAA"}
@@ -0,0 +1,7 @@
1
+ export type AddressChainSchema = 'network.xyo.diviner.address.chain';
2
+ export declare const AddressChainSchema: AddressChainSchema;
3
+ export type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
4
+ export declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
5
+ export type AddressChainQuerySchema = `${AddressChainSchema}.query`;
6
+ export declare const AddressChainQuerySchema: 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,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,CAAA;AACpE,eAAO,MAAM,kBAAkB,EAAE,kBAAwD,CAAA;AAEzF,MAAM,MAAM,+BAA+B,GAAG,GAAG,kBAAkB,SAAS,CAAA;AAC5E,eAAO,MAAM,+BAA+B,EAAE,+BAAgE,CAAA;AAE9G,MAAM,MAAM,uBAAuB,GAAG,GAAG,kBAAkB,QAAQ,CAAA;AACnE,eAAO,MAAM,uBAAuB,EAAE,uBAAuD,CAAA"}
@@ -0,0 +1,7 @@
1
+ export type AddressChainSchema = 'network.xyo.diviner.address.chain';
2
+ export declare const AddressChainSchema: AddressChainSchema;
3
+ export type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
4
+ export declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
5
+ export type AddressChainQuerySchema = `${AddressChainSchema}.query`;
6
+ export declare const AddressChainQuerySchema: 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,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,CAAA;AACpE,eAAO,MAAM,kBAAkB,EAAE,kBAAwD,CAAA;AAEzF,MAAM,MAAM,+BAA+B,GAAG,GAAG,kBAAkB,SAAS,CAAA;AAC5E,eAAO,MAAM,+BAA+B,EAAE,+BAAgE,CAAA;AAE9G,MAAM,MAAM,uBAAuB,GAAG,GAAG,kBAAkB,QAAQ,CAAA;AACnE,eAAO,MAAM,uBAAuB,EAAE,uBAAuD,CAAA"}
package/dist/index.d.mts CHANGED
@@ -1,36 +1,6 @@
1
- import { DivinerConfig, DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import * as _xyo_network_payload_model from '@xyo-network/payload-model';
4
- import { Payload, Query, PayloadFindFilter } from '@xyo-network/payload-model';
5
-
6
- type AddressChainSchema = 'network.xyo.diviner.address.chain';
7
- declare const AddressChainSchema: AddressChainSchema;
8
- type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
9
- declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
10
- type AddressChainQuerySchema = `${AddressChainSchema}.query`;
11
- declare const AddressChainQuerySchema: AddressChainQuerySchema;
12
-
13
- type AddressChainDivinerConfig = DivinerConfig<{
14
- address?: string;
15
- maxResults?: number;
16
- schema: AddressChainDivinerConfigSchema;
17
- startHash?: string;
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 _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
26
- schema: AddressChainSchema;
27
- } & {
28
- schema: "network.xyo.diviner.address.chain";
29
- };
30
-
31
- type AddressChainQueryPayload = Query<{
32
- schema: AddressChainQuerySchema;
33
- } & PayloadFindFilter>;
34
- declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
35
-
36
- export { AddressChainDivinerConfig, AddressChainDivinerConfigSchema, AddressChainDivinerParams, AddressChainPayload, AddressChainQueryPayload, AddressChainQuerySchema, AddressChainSchema, isAddressChainPayload, isAddressChainQueryPayload };
1
+ export * from './Config';
2
+ export * from './Params';
3
+ export * from './Payload';
4
+ export * from './Query';
5
+ export * from './Schema';
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,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,36 +1,6 @@
1
- import { DivinerConfig, DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import * as _xyo_network_payload_model from '@xyo-network/payload-model';
4
- import { Payload, Query, PayloadFindFilter } from '@xyo-network/payload-model';
5
-
6
- type AddressChainSchema = 'network.xyo.diviner.address.chain';
7
- declare const AddressChainSchema: AddressChainSchema;
8
- type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
9
- declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
10
- type AddressChainQuerySchema = `${AddressChainSchema}.query`;
11
- declare const AddressChainQuerySchema: AddressChainQuerySchema;
12
-
13
- type AddressChainDivinerConfig = DivinerConfig<{
14
- address?: string;
15
- maxResults?: number;
16
- schema: AddressChainDivinerConfigSchema;
17
- startHash?: string;
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 _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
26
- schema: AddressChainSchema;
27
- } & {
28
- schema: "network.xyo.diviner.address.chain";
29
- };
30
-
31
- type AddressChainQueryPayload = Query<{
32
- schema: AddressChainQuerySchema;
33
- } & PayloadFindFilter>;
34
- declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
35
-
36
- export { AddressChainDivinerConfig, AddressChainDivinerConfigSchema, AddressChainDivinerParams, AddressChainPayload, AddressChainQueryPayload, AddressChainQuerySchema, AddressChainSchema, isAddressChainPayload, isAddressChainQueryPayload };
1
+ export * from './Config';
2
+ export * from './Params';
3
+ export * from './Payload';
4
+ export * from './Query';
5
+ export * from './Schema';
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,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
package/package.json CHANGED
@@ -10,21 +10,15 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/diviner-model": "~2.73.4",
14
- "@xyo-network/module-model": "~2.73.4",
15
- "@xyo-network/payload-model": "~2.73.4"
13
+ "@xyo-network/diviner-model": "~2.74.0",
14
+ "@xyo-network/module-model": "~2.74.0",
15
+ "@xyo-network/payload-model": "~2.74.0"
16
16
  },
17
17
  "devDependencies": {
18
- "@xylabs/ts-scripts-yarn3": "^2.19.12",
19
- "@xylabs/tsconfig": "^2.19.12",
20
- "publint": "^0.2.2",
21
- "tsup": "^7.2.0",
18
+ "@xylabs/ts-scripts-yarn3": "^3.0.27",
19
+ "@xylabs/tsconfig": "^3.0.27",
22
20
  "typescript": "^5.2.2"
23
21
  },
24
- "scripts": {
25
- "package-compile": "tsup && publint",
26
- "package-recompile": "tsup && publint"
27
- },
28
22
  "description": "Primary SDK for using XYO Protocol 2.0",
29
23
  "docs": "dist/docs.json",
30
24
  "types": "dist/index.d.ts",
@@ -65,5 +59,5 @@
65
59
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
66
60
  },
67
61
  "sideEffects": false,
68
- "version": "2.73.4"
62
+ "version": "2.74.0"
69
63
  }