@xyo-network/diviner-address-chain-model 2.75.0 → 2.75.2
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/browser/Config.d.cts +9 -0
- package/dist/browser/Config.d.cts.map +1 -0
- package/dist/browser/Params.d.cts +5 -0
- package/dist/browser/Params.d.cts.map +1 -0
- package/dist/browser/Payload.d.cts +9 -0
- package/dist/browser/Payload.d.cts.map +1 -0
- package/dist/browser/Payload.js +2 -7
- package/dist/browser/Payload.js.map +1 -1
- package/dist/browser/Query.d.cts +7 -0
- package/dist/browser/Query.d.cts.map +1 -0
- package/dist/browser/Query.js +2 -7
- package/dist/browser/Query.js.map +1 -1
- package/dist/browser/Schema.d.cts +7 -0
- package/dist/browser/Schema.d.cts.map +1 -0
- package/dist/browser/Schema.js +3 -4
- package/dist/browser/Schema.js.map +1 -1
- package/dist/browser/index.d.cts +6 -0
- package/dist/browser/index.d.cts.map +1 -0
- package/dist/browser/index.js +5 -17
- package/dist/browser/index.js.map +1 -1
- package/dist/docs.json +1003 -0
- package/dist/node/Config.d.cts +9 -0
- package/dist/node/Config.d.cts.map +1 -0
- package/dist/node/Config.js +2 -0
- package/dist/node/Config.js.map +1 -1
- package/dist/node/Params.d.cts +5 -0
- package/dist/node/Params.d.cts.map +1 -0
- package/dist/node/Params.js +2 -0
- package/dist/node/Params.js.map +1 -1
- package/dist/node/Payload.d.cts +9 -0
- package/dist/node/Payload.d.cts.map +1 -0
- package/dist/node/Payload.js +10 -2
- package/dist/node/Payload.js.map +1 -1
- package/dist/node/Payload.mjs +7 -2
- package/dist/node/Payload.mjs.map +1 -1
- package/dist/node/Query.d.cts +7 -0
- package/dist/node/Query.d.cts.map +1 -0
- package/dist/node/Query.js +10 -2
- package/dist/node/Query.js.map +1 -1
- package/dist/node/Query.mjs +7 -2
- package/dist/node/Query.mjs.map +1 -1
- package/dist/node/Schema.d.cts +7 -0
- package/dist/node/Schema.d.cts.map +1 -0
- package/dist/node/Schema.js +5 -3
- package/dist/node/Schema.js.map +1 -1
- package/dist/node/Schema.mjs +4 -3
- package/dist/node/Schema.mjs.map +1 -1
- package/dist/node/index.d.cts +6 -0
- package/dist/node/index.d.cts.map +1 -0
- package/dist/node/index.js +29 -11
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +17 -5
- package/dist/node/index.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -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"}
|
package/dist/node/Config.js
CHANGED
|
@@ -12,6 +12,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
12
12
|
return to;
|
|
13
13
|
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/Config.ts
|
|
15
17
|
var Config_exports = {};
|
|
16
18
|
module.exports = __toCommonJS(Config_exports);
|
|
17
19
|
//# sourceMappingURL=Config.js.map
|
package/dist/node/Config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Config.ts"],"sourcesContent":["import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressChainDivinerConfigSchema } from './Schema'\n\nexport type AddressChainDivinerConfig = DivinerConfig<{\n address?: string\n maxResults?: number\n schema: AddressChainDivinerConfigSchema\n startHash?: string\n}>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Config.ts"],"sourcesContent":["import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressChainDivinerConfigSchema } from './Schema'\n\nexport type AddressChainDivinerConfig = DivinerConfig<{\n address?: string\n maxResults?: number\n schema: AddressChainDivinerConfigSchema\n startHash?: string\n}>\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -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"}
|
package/dist/node/Params.js
CHANGED
|
@@ -12,6 +12,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
12
12
|
return to;
|
|
13
13
|
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/Params.ts
|
|
15
17
|
var Params_exports = {};
|
|
16
18
|
module.exports = __toCommonJS(Params_exports);
|
|
17
19
|
//# sourceMappingURL=Params.js.map
|
package/dist/node/Params.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Params.ts"],"sourcesContent":["import { DivinerParams } from '@xyo-network/diviner-model'\nimport { AnyConfigSchema } from '@xyo-network/module-model'\n\nimport { AddressChainDivinerConfig } from './Config'\n\nexport type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Params.ts"],"sourcesContent":["import { DivinerParams } from '@xyo-network/diviner-model'\nimport { AnyConfigSchema } from '@xyo-network/module-model'\n\nimport { AddressChainDivinerConfig } from './Config'\n\nexport type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -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"}
|
package/dist/node/Payload.js
CHANGED
|
@@ -16,13 +16,21 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Payload.ts
|
|
19
21
|
var Payload_exports = {};
|
|
20
22
|
__export(Payload_exports, {
|
|
21
23
|
isAddressChainPayload: () => isAddressChainPayload
|
|
22
24
|
});
|
|
23
25
|
module.exports = __toCommonJS(Payload_exports);
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
|
|
27
|
+
// src/Schema.ts
|
|
28
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
29
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
30
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
31
|
+
|
|
32
|
+
// src/Payload.ts
|
|
33
|
+
var isAddressChainPayload = (x) => (x == null ? void 0 : x.schema) === AddressChainSchema;
|
|
26
34
|
// Annotate the CommonJS export names for ESM import in node:
|
|
27
35
|
0 && (module.exports = {
|
|
28
36
|
isAddressChainPayload
|
package/dist/node/Payload.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Payload.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Payload.ts","../../src/Schema.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,qBAAyC;AAG/C,IAAM,kCAAmE,GAAG,kBAAkB;AAG9F,IAAM,0BAAmD,GAAG,kBAAkB;;;ADF9E,IAAM,wBAAwB,CAAC,OAAiD,uBAAG,YAAW;","names":[]}
|
package/dist/node/Payload.mjs
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// src/Schema.ts
|
|
2
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
3
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
4
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
5
|
+
|
|
6
|
+
// src/Payload.ts
|
|
7
|
+
var isAddressChainPayload = (x) => (x == null ? void 0 : x.schema) === AddressChainSchema;
|
|
3
8
|
export {
|
|
4
9
|
isAddressChainPayload
|
|
5
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Payload.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Payload.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 { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n"],"mappings":";AACO,IAAM,qBAAyC;AAG/C,IAAM,kCAAmE,GAAG,kBAAkB;AAG9F,IAAM,0BAAmD,GAAG,kBAAkB;;;ACF9E,IAAM,wBAAwB,CAAC,OAAiD,uBAAG,YAAW;","names":[]}
|
|
@@ -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"}
|
package/dist/node/Query.js
CHANGED
|
@@ -16,13 +16,21 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Query.ts
|
|
19
21
|
var Query_exports = {};
|
|
20
22
|
__export(Query_exports, {
|
|
21
23
|
isAddressChainQueryPayload: () => isAddressChainQueryPayload
|
|
22
24
|
});
|
|
23
25
|
module.exports = __toCommonJS(Query_exports);
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
|
|
27
|
+
// src/Schema.ts
|
|
28
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
29
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
30
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
31
|
+
|
|
32
|
+
// src/Query.ts
|
|
33
|
+
var isAddressChainQueryPayload = (x) => (x == null ? void 0 : x.schema) === AddressChainQuerySchema;
|
|
26
34
|
// Annotate the CommonJS export names for ESM import in node:
|
|
27
35
|
0 && (module.exports = {
|
|
28
36
|
isAddressChainQueryPayload
|
package/dist/node/Query.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Query.ts"],"sourcesContent":["import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Query.ts","../../src/Schema.ts"],"sourcesContent":["import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n","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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,qBAAyC;AAG/C,IAAM,kCAAmE,GAAG,kBAAkB;AAG9F,IAAM,0BAAmD,GAAG,kBAAkB;;;ADF9E,IAAM,6BAA6B,CAAC,OAAsD,uBAAG,YAAW;","names":[]}
|
package/dist/node/Query.mjs
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// src/Schema.ts
|
|
2
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
3
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
4
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
5
|
+
|
|
6
|
+
// src/Query.ts
|
|
7
|
+
var isAddressChainQueryPayload = (x) => (x == null ? void 0 : x.schema) === AddressChainQuerySchema;
|
|
3
8
|
export {
|
|
4
9
|
isAddressChainQueryPayload
|
|
5
10
|
};
|
package/dist/node/Query.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Query.ts"],"sourcesContent":["import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.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 { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":";AACO,IAAM,qBAAyC;AAG/C,IAAM,kCAAmE,GAAG,kBAAkB;AAG9F,IAAM,0BAAmD,GAAG,kBAAkB;;;ACF9E,IAAM,6BAA6B,CAAC,OAAsD,uBAAG,YAAW;","names":[]}
|
|
@@ -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/node/Schema.js
CHANGED
|
@@ -16,6 +16,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Schema.ts
|
|
19
21
|
var Schema_exports = {};
|
|
20
22
|
__export(Schema_exports, {
|
|
21
23
|
AddressChainDivinerConfigSchema: () => AddressChainDivinerConfigSchema,
|
|
@@ -23,9 +25,9 @@ __export(Schema_exports, {
|
|
|
23
25
|
AddressChainSchema: () => AddressChainSchema
|
|
24
26
|
});
|
|
25
27
|
module.exports = __toCommonJS(Schema_exports);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
29
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
30
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
29
31
|
// Annotate the CommonJS export names for ESM import in node:
|
|
30
32
|
0 && (module.exports = {
|
|
31
33
|
AddressChainDivinerConfigSchema,
|
package/dist/node/Schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.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"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,IAAM,qBAAyC;AAG/C,IAAM,kCAAmE,GAAG,kBAAkB;AAG9F,IAAM,0BAAmD,GAAG,kBAAkB;","names":[]}
|
package/dist/node/Schema.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// src/Schema.ts
|
|
2
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
3
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
4
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
4
5
|
export {
|
|
5
6
|
AddressChainDivinerConfigSchema,
|
|
6
7
|
AddressChainQuerySchema,
|
package/dist/node/Schema.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.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"],"mappings":"AACO,
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.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"],"mappings":";AACO,IAAM,qBAAyC;AAG/C,IAAM,kCAAmE,GAAG,kBAAkB;AAG9F,IAAM,0BAAmD,GAAG,kBAAkB;","names":[]}
|
|
@@ -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/node/index.js
CHANGED
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -11,21 +15,35 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
11
15
|
}
|
|
12
16
|
return to;
|
|
13
17
|
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
16
21
|
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
AddressChainDivinerConfigSchema: () => AddressChainDivinerConfigSchema,
|
|
24
|
+
AddressChainQuerySchema: () => AddressChainQuerySchema,
|
|
25
|
+
AddressChainSchema: () => AddressChainSchema,
|
|
26
|
+
isAddressChainPayload: () => isAddressChainPayload,
|
|
27
|
+
isAddressChainQueryPayload: () => isAddressChainQueryPayload
|
|
28
|
+
});
|
|
17
29
|
module.exports = __toCommonJS(src_exports);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
30
|
+
|
|
31
|
+
// src/Schema.ts
|
|
32
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
33
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
34
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
35
|
+
|
|
36
|
+
// src/Payload.ts
|
|
37
|
+
var isAddressChainPayload = (x) => (x == null ? void 0 : x.schema) === AddressChainSchema;
|
|
38
|
+
|
|
39
|
+
// src/Query.ts
|
|
40
|
+
var isAddressChainQueryPayload = (x) => (x == null ? void 0 : x.schema) === AddressChainQuerySchema;
|
|
23
41
|
// Annotate the CommonJS export names for ESM import in node:
|
|
24
42
|
0 && (module.exports = {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
43
|
+
AddressChainDivinerConfigSchema,
|
|
44
|
+
AddressChainQuerySchema,
|
|
45
|
+
AddressChainSchema,
|
|
46
|
+
isAddressChainPayload,
|
|
47
|
+
isAddressChainQueryPayload
|
|
30
48
|
});
|
|
31
49
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './Params'\nexport * from './Payload'\nexport * from './Query'\nexport * from './Schema'\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config'\nexport * from './Params'\nexport * from './Payload'\nexport * from './Query'\nexport * from './Schema'\n","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 { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,qBAAyC;AAG/C,IAAM,kCAAmE,GAAG,kBAAkB;AAG9F,IAAM,0BAAmD,GAAG,kBAAkB;;;ACF9E,IAAM,wBAAwB,CAAC,OAAiD,uBAAG,YAAW;;;ACA9F,IAAM,6BAA6B,CAAC,OAAsD,uBAAG,YAAW;","names":[]}
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
// src/Schema.ts
|
|
2
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
3
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
4
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
5
|
+
|
|
6
|
+
// src/Payload.ts
|
|
7
|
+
var isAddressChainPayload = (x) => (x == null ? void 0 : x.schema) === AddressChainSchema;
|
|
8
|
+
|
|
9
|
+
// src/Query.ts
|
|
10
|
+
var isAddressChainQueryPayload = (x) => (x == null ? void 0 : x.schema) === AddressChainQuerySchema;
|
|
11
|
+
export {
|
|
12
|
+
AddressChainDivinerConfigSchema,
|
|
13
|
+
AddressChainQuerySchema,
|
|
14
|
+
AddressChainSchema,
|
|
15
|
+
isAddressChainPayload,
|
|
16
|
+
isAddressChainQueryPayload
|
|
17
|
+
};
|
|
6
18
|
//# sourceMappingURL=index.mjs.map
|
package/dist/node/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/
|
|
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 { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":";AACO,IAAM,qBAAyC;AAG/C,IAAM,kCAAmE,GAAG,kBAAkB;AAG9F,IAAM,0BAAmD,GAAG,kBAAkB;;;ACF9E,IAAM,wBAAwB,CAAC,OAAiD,uBAAG,YAAW;;;ACA9F,IAAM,6BAA6B,CAAC,OAAsD,uBAAG,YAAW;","names":[]}
|
package/package.json
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/diviner-model": "~2.75.
|
|
14
|
-
"@xyo-network/module-model": "~2.75.
|
|
15
|
-
"@xyo-network/payload-model": "~2.75.
|
|
13
|
+
"@xyo-network/diviner-model": "~2.75.2",
|
|
14
|
+
"@xyo-network/module-model": "~2.75.2",
|
|
15
|
+
"@xyo-network/payload-model": "~2.75.2"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@xylabs/ts-scripts-yarn3": "^3.0.
|
|
19
|
-
"@xylabs/tsconfig": "^3.0.
|
|
18
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.77",
|
|
19
|
+
"@xylabs/tsconfig": "^3.0.77",
|
|
20
20
|
"typescript": "^5.2.2"
|
|
21
21
|
},
|
|
22
22
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
".": {
|
|
27
27
|
"browser": {
|
|
28
28
|
"require": {
|
|
29
|
-
"types": "./dist/browser/index.d.
|
|
29
|
+
"types": "./dist/browser/index.d.cts",
|
|
30
30
|
"default": "./dist/browser/index.cjs"
|
|
31
31
|
},
|
|
32
32
|
"import": {
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
63
63
|
},
|
|
64
64
|
"sideEffects": false,
|
|
65
|
-
"version": "2.75.
|
|
65
|
+
"version": "2.75.2"
|
|
66
66
|
}
|