@xyo-network/diviner-address-chain-model 2.107.3 → 2.107.5
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/index.cjs +41 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +20 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/neutral/index.cjs +41 -1
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.js +20 -1
- package/dist/neutral/index.js.map +1 -1
- package/dist/node/index.cjs +49 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +20 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +6 -6
package/dist/browser/index.cjs
CHANGED
|
@@ -1,2 +1,42 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AddressChainDivinerConfigSchema: () => AddressChainDivinerConfigSchema,
|
|
25
|
+
AddressChainQuerySchema: () => AddressChainQuerySchema,
|
|
26
|
+
AddressChainSchema: () => AddressChainSchema,
|
|
27
|
+
isAddressChainPayload: () => isAddressChainPayload,
|
|
28
|
+
isAddressChainQueryPayload: () => isAddressChainQueryPayload
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(src_exports);
|
|
31
|
+
|
|
32
|
+
// src/Schema.ts
|
|
33
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
34
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
35
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
36
|
+
|
|
37
|
+
// src/Payload.ts
|
|
38
|
+
var isAddressChainPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainSchema, "isAddressChainPayload");
|
|
39
|
+
|
|
40
|
+
// src/Query.ts
|
|
41
|
+
var isAddressChainQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainQuerySchema, "isAddressChainQueryPayload");
|
|
2
42
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
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":"
|
|
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;;;;;;;;;;;ACCO,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,MAAiDA,GAAGC,WAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,MAAsDA,GAAGC,WAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
|
package/dist/browser/index.js
CHANGED
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Schema.ts
|
|
5
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
6
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
7
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
8
|
+
|
|
9
|
+
// src/Payload.ts
|
|
10
|
+
var isAddressChainPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainSchema, "isAddressChainPayload");
|
|
11
|
+
|
|
12
|
+
// src/Query.ts
|
|
13
|
+
var isAddressChainQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainQuerySchema, "isAddressChainQueryPayload");
|
|
14
|
+
export {
|
|
15
|
+
AddressChainDivinerConfigSchema,
|
|
16
|
+
AddressChainQuerySchema,
|
|
17
|
+
AddressChainSchema,
|
|
18
|
+
isAddressChainPayload,
|
|
19
|
+
isAddressChainQueryPayload
|
|
20
|
+
};
|
|
2
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -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 { 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":"
|
|
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,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,MAAiDA,GAAGC,WAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,MAAsDA,GAAGC,WAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
|
package/dist/neutral/index.cjs
CHANGED
|
@@ -1,2 +1,42 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AddressChainDivinerConfigSchema: () => AddressChainDivinerConfigSchema,
|
|
25
|
+
AddressChainQuerySchema: () => AddressChainQuerySchema,
|
|
26
|
+
AddressChainSchema: () => AddressChainSchema,
|
|
27
|
+
isAddressChainPayload: () => isAddressChainPayload,
|
|
28
|
+
isAddressChainQueryPayload: () => isAddressChainQueryPayload
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(src_exports);
|
|
31
|
+
|
|
32
|
+
// src/Schema.ts
|
|
33
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
34
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
35
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
36
|
+
|
|
37
|
+
// src/Payload.ts
|
|
38
|
+
var isAddressChainPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainSchema, "isAddressChainPayload");
|
|
39
|
+
|
|
40
|
+
// src/Query.ts
|
|
41
|
+
var isAddressChainQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainQuerySchema, "isAddressChainQueryPayload");
|
|
2
42
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
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":"
|
|
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;;;;;;;;;;;ACCO,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,MAAiDA,GAAGC,WAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,MAAsDA,GAAGC,WAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
|
package/dist/neutral/index.js
CHANGED
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Schema.ts
|
|
5
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
6
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
7
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
8
|
+
|
|
9
|
+
// src/Payload.ts
|
|
10
|
+
var isAddressChainPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainSchema, "isAddressChainPayload");
|
|
11
|
+
|
|
12
|
+
// src/Query.ts
|
|
13
|
+
var isAddressChainQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainQuerySchema, "isAddressChainQueryPayload");
|
|
14
|
+
export {
|
|
15
|
+
AddressChainDivinerConfigSchema,
|
|
16
|
+
AddressChainQuerySchema,
|
|
17
|
+
AddressChainSchema,
|
|
18
|
+
isAddressChainPayload,
|
|
19
|
+
isAddressChainQueryPayload
|
|
20
|
+
};
|
|
2
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -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 { 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":"
|
|
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,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,MAAiDA,GAAGC,WAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,MAAsDA,GAAGC,WAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
|
package/dist/node/index.cjs
CHANGED
|
@@ -1,2 +1,50 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AddressChainDivinerConfigSchema: () => AddressChainDivinerConfigSchema,
|
|
25
|
+
AddressChainQuerySchema: () => AddressChainQuerySchema,
|
|
26
|
+
AddressChainSchema: () => AddressChainSchema,
|
|
27
|
+
isAddressChainPayload: () => isAddressChainPayload,
|
|
28
|
+
isAddressChainQueryPayload: () => isAddressChainQueryPayload
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(src_exports);
|
|
31
|
+
|
|
32
|
+
// src/Schema.ts
|
|
33
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
34
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
35
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
36
|
+
|
|
37
|
+
// src/Payload.ts
|
|
38
|
+
var isAddressChainPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressChainSchema, "isAddressChainPayload");
|
|
39
|
+
|
|
40
|
+
// src/Query.ts
|
|
41
|
+
var isAddressChainQueryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressChainQuerySchema, "isAddressChainQueryPayload");
|
|
42
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
+
0 && (module.exports = {
|
|
44
|
+
AddressChainDivinerConfigSchema,
|
|
45
|
+
AddressChainQuerySchema,
|
|
46
|
+
AddressChainSchema,
|
|
47
|
+
isAddressChainPayload,
|
|
48
|
+
isAddressChainQueryPayload
|
|
49
|
+
});
|
|
2
50
|
//# sourceMappingURL=index.cjs.map
|
package/dist/node/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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":"
|
|
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;;;;;;;;;;;ACCO,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,OAAiDA,uBAAGC,YAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,OAAsDA,uBAAGC,YAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
|
package/dist/node/index.js
CHANGED
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Schema.ts
|
|
5
|
+
var AddressChainSchema = "network.xyo.diviner.address.chain";
|
|
6
|
+
var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
|
|
7
|
+
var AddressChainQuerySchema = `${AddressChainSchema}.query`;
|
|
8
|
+
|
|
9
|
+
// src/Payload.ts
|
|
10
|
+
var isAddressChainPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressChainSchema, "isAddressChainPayload");
|
|
11
|
+
|
|
12
|
+
// src/Query.ts
|
|
13
|
+
var isAddressChainQueryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressChainQuerySchema, "isAddressChainQueryPayload");
|
|
14
|
+
export {
|
|
15
|
+
AddressChainDivinerConfigSchema,
|
|
16
|
+
AddressChainQuerySchema,
|
|
17
|
+
AddressChainSchema,
|
|
18
|
+
isAddressChainPayload,
|
|
19
|
+
isAddressChainQueryPayload
|
|
20
|
+
};
|
|
2
21
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -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 { 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":"
|
|
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,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,OAAiDA,uBAAGC,YAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,OAAsDA,uBAAGC,YAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
|
package/package.json
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xylabs/hex": "^3.5.1",
|
|
14
|
-
"@xyo-network/diviner-model": "~2.107.
|
|
15
|
-
"@xyo-network/module-model": "~2.107.
|
|
16
|
-
"@xyo-network/payload-model": "~2.107.
|
|
14
|
+
"@xyo-network/diviner-model": "~2.107.5",
|
|
15
|
+
"@xyo-network/module-model": "~2.107.5",
|
|
16
|
+
"@xyo-network/payload-model": "~2.107.5"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@xylabs/ts-scripts-yarn3": "^3.11.
|
|
20
|
-
"@xylabs/tsconfig": "^3.11.
|
|
19
|
+
"@xylabs/ts-scripts-yarn3": "^3.11.10",
|
|
20
|
+
"@xylabs/tsconfig": "^3.11.10",
|
|
21
21
|
"typescript": "^5.5.2"
|
|
22
22
|
},
|
|
23
23
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
60
60
|
},
|
|
61
61
|
"sideEffects": false,
|
|
62
|
-
"version": "2.107.
|
|
62
|
+
"version": "2.107.5",
|
|
63
63
|
"type": "module"
|
|
64
64
|
}
|