@xyo-network/diviner-address-history-model 2.107.3 → 2.107.4
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 +39 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +18 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/neutral/index.cjs +39 -1
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.js +18 -1
- package/dist/neutral/index.js.map +1 -1
- package/dist/node/index.cjs +47 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +18 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +6 -6
package/dist/browser/index.cjs
CHANGED
|
@@ -1,2 +1,40 @@
|
|
|
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
|
+
AddressHistoryDivinerConfigSchema: () => AddressHistoryDivinerConfigSchema,
|
|
25
|
+
AddressHistoryQuerySchema: () => AddressHistoryQuerySchema,
|
|
26
|
+
AddressHistorySchema: () => AddressHistorySchema,
|
|
27
|
+
isAddressHistoryPayload: () => isAddressHistoryPayload,
|
|
28
|
+
isAddressHistoryQueryPayload: () => isAddressHistoryQueryPayload
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(src_exports);
|
|
31
|
+
|
|
32
|
+
// src/Diviner.ts
|
|
33
|
+
var AddressHistorySchema = "network.xyo.diviner.address.history";
|
|
34
|
+
var AddressHistoryQuerySchema = "network.xyo.diviner.address.history.query";
|
|
35
|
+
var isAddressHistoryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressHistorySchema, "isAddressHistoryPayload");
|
|
36
|
+
var isAddressHistoryQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressHistoryQuerySchema, "isAddressHistoryQueryPayload");
|
|
37
|
+
|
|
38
|
+
// src/Config.ts
|
|
39
|
+
var AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`;
|
|
2
40
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config'\nexport * from './Diviner'\nexport * from './Params'\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config'\nexport * from './Diviner'\nexport * from './Params'\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;ACGO,IAAMA,uBAA6C;AAGnD,IAAMC,4BAAuD;AAG7D,IAAMC,0BAA0B,wBAACC,MAAmDA,GAAGC,WAAWJ,sBAAlE;AAGhC,IAAMK,+BAA+B,wBAACF,MAAwDA,GAAGC,WAAWH,2BAAvE;;;ACNrC,IAAMK,oCAAuE,GAAGC,oBAAAA;","names":["AddressHistorySchema","AddressHistoryQuerySchema","isAddressHistoryPayload","x","schema","isAddressHistoryQueryPayload","AddressHistoryDivinerConfigSchema","AddressHistorySchema"]}
|
package/dist/browser/index.js
CHANGED
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Diviner.ts
|
|
5
|
+
var AddressHistorySchema = "network.xyo.diviner.address.history";
|
|
6
|
+
var AddressHistoryQuerySchema = "network.xyo.diviner.address.history.query";
|
|
7
|
+
var isAddressHistoryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressHistorySchema, "isAddressHistoryPayload");
|
|
8
|
+
var isAddressHistoryQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressHistoryQuerySchema, "isAddressHistoryQueryPayload");
|
|
9
|
+
|
|
10
|
+
// src/Config.ts
|
|
11
|
+
var AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`;
|
|
12
|
+
export {
|
|
13
|
+
AddressHistoryDivinerConfigSchema,
|
|
14
|
+
AddressHistoryQuerySchema,
|
|
15
|
+
AddressHistorySchema,
|
|
16
|
+
isAddressHistoryPayload,
|
|
17
|
+
isAddressHistoryQueryPayload
|
|
18
|
+
};
|
|
2
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":";;;;AAGO,IAAMA,uBAA6C;AAGnD,IAAMC,4BAAuD;AAG7D,IAAMC,0BAA0B,wBAACC,MAAmDA,GAAGC,WAAWJ,sBAAlE;AAGhC,IAAMK,+BAA+B,wBAACF,MAAwDA,GAAGC,WAAWH,2BAAvE;;;ACNrC,IAAMK,oCAAuE,GAAGC,oBAAAA;","names":["AddressHistorySchema","AddressHistoryQuerySchema","isAddressHistoryPayload","x","schema","isAddressHistoryQueryPayload","AddressHistoryDivinerConfigSchema","AddressHistorySchema"]}
|
package/dist/neutral/index.cjs
CHANGED
|
@@ -1,2 +1,40 @@
|
|
|
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
|
+
AddressHistoryDivinerConfigSchema: () => AddressHistoryDivinerConfigSchema,
|
|
25
|
+
AddressHistoryQuerySchema: () => AddressHistoryQuerySchema,
|
|
26
|
+
AddressHistorySchema: () => AddressHistorySchema,
|
|
27
|
+
isAddressHistoryPayload: () => isAddressHistoryPayload,
|
|
28
|
+
isAddressHistoryQueryPayload: () => isAddressHistoryQueryPayload
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(src_exports);
|
|
31
|
+
|
|
32
|
+
// src/Diviner.ts
|
|
33
|
+
var AddressHistorySchema = "network.xyo.diviner.address.history";
|
|
34
|
+
var AddressHistoryQuerySchema = "network.xyo.diviner.address.history.query";
|
|
35
|
+
var isAddressHistoryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressHistorySchema, "isAddressHistoryPayload");
|
|
36
|
+
var isAddressHistoryQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressHistoryQuerySchema, "isAddressHistoryQueryPayload");
|
|
37
|
+
|
|
38
|
+
// src/Config.ts
|
|
39
|
+
var AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`;
|
|
2
40
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config'\nexport * from './Diviner'\nexport * from './Params'\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config'\nexport * from './Diviner'\nexport * from './Params'\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;ACGO,IAAMA,uBAA6C;AAGnD,IAAMC,4BAAuD;AAG7D,IAAMC,0BAA0B,wBAACC,MAAmDA,GAAGC,WAAWJ,sBAAlE;AAGhC,IAAMK,+BAA+B,wBAACF,MAAwDA,GAAGC,WAAWH,2BAAvE;;;ACNrC,IAAMK,oCAAuE,GAAGC,oBAAAA;","names":["AddressHistorySchema","AddressHistoryQuerySchema","isAddressHistoryPayload","x","schema","isAddressHistoryQueryPayload","AddressHistoryDivinerConfigSchema","AddressHistorySchema"]}
|
package/dist/neutral/index.js
CHANGED
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Diviner.ts
|
|
5
|
+
var AddressHistorySchema = "network.xyo.diviner.address.history";
|
|
6
|
+
var AddressHistoryQuerySchema = "network.xyo.diviner.address.history.query";
|
|
7
|
+
var isAddressHistoryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressHistorySchema, "isAddressHistoryPayload");
|
|
8
|
+
var isAddressHistoryQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressHistoryQuerySchema, "isAddressHistoryQueryPayload");
|
|
9
|
+
|
|
10
|
+
// src/Config.ts
|
|
11
|
+
var AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`;
|
|
12
|
+
export {
|
|
13
|
+
AddressHistoryDivinerConfigSchema,
|
|
14
|
+
AddressHistoryQuerySchema,
|
|
15
|
+
AddressHistorySchema,
|
|
16
|
+
isAddressHistoryPayload,
|
|
17
|
+
isAddressHistoryQueryPayload
|
|
18
|
+
};
|
|
2
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":";;;;AAGO,IAAMA,uBAA6C;AAGnD,IAAMC,4BAAuD;AAG7D,IAAMC,0BAA0B,wBAACC,MAAmDA,GAAGC,WAAWJ,sBAAlE;AAGhC,IAAMK,+BAA+B,wBAACF,MAAwDA,GAAGC,WAAWH,2BAAvE;;;ACNrC,IAAMK,oCAAuE,GAAGC,oBAAAA;","names":["AddressHistorySchema","AddressHistoryQuerySchema","isAddressHistoryPayload","x","schema","isAddressHistoryQueryPayload","AddressHistoryDivinerConfigSchema","AddressHistorySchema"]}
|
package/dist/node/index.cjs
CHANGED
|
@@ -1,2 +1,48 @@
|
|
|
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
|
+
AddressHistoryDivinerConfigSchema: () => AddressHistoryDivinerConfigSchema,
|
|
25
|
+
AddressHistoryQuerySchema: () => AddressHistoryQuerySchema,
|
|
26
|
+
AddressHistorySchema: () => AddressHistorySchema,
|
|
27
|
+
isAddressHistoryPayload: () => isAddressHistoryPayload,
|
|
28
|
+
isAddressHistoryQueryPayload: () => isAddressHistoryQueryPayload
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(src_exports);
|
|
31
|
+
|
|
32
|
+
// src/Diviner.ts
|
|
33
|
+
var AddressHistorySchema = "network.xyo.diviner.address.history";
|
|
34
|
+
var AddressHistoryQuerySchema = "network.xyo.diviner.address.history.query";
|
|
35
|
+
var isAddressHistoryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressHistorySchema, "isAddressHistoryPayload");
|
|
36
|
+
var isAddressHistoryQueryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressHistoryQuerySchema, "isAddressHistoryQueryPayload");
|
|
37
|
+
|
|
38
|
+
// src/Config.ts
|
|
39
|
+
var AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`;
|
|
40
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
41
|
+
0 && (module.exports = {
|
|
42
|
+
AddressHistoryDivinerConfigSchema,
|
|
43
|
+
AddressHistoryQuerySchema,
|
|
44
|
+
AddressHistorySchema,
|
|
45
|
+
isAddressHistoryPayload,
|
|
46
|
+
isAddressHistoryQueryPayload
|
|
47
|
+
});
|
|
2
48
|
//# sourceMappingURL=index.cjs.map
|
package/dist/node/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config'\nexport * from './Diviner'\nexport * from './Params'\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["export * from './Config'\nexport * from './Diviner'\nexport * from './Params'\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;ACGO,IAAMA,uBAA6C;AAGnD,IAAMC,4BAAuD;AAG7D,IAAMC,0BAA0B,wBAACC,OAAmDA,uBAAGC,YAAWJ,sBAAlE;AAGhC,IAAMK,+BAA+B,wBAACF,OAAwDA,uBAAGC,YAAWH,2BAAvE;;;ACNrC,IAAMK,oCAAuE,GAAGC,oBAAAA;","names":["AddressHistorySchema","AddressHistoryQuerySchema","isAddressHistoryPayload","x","schema","isAddressHistoryQueryPayload","AddressHistoryDivinerConfigSchema","AddressHistorySchema"]}
|
package/dist/node/index.js
CHANGED
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Diviner.ts
|
|
5
|
+
var AddressHistorySchema = "network.xyo.diviner.address.history";
|
|
6
|
+
var AddressHistoryQuerySchema = "network.xyo.diviner.address.history.query";
|
|
7
|
+
var isAddressHistoryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressHistorySchema, "isAddressHistoryPayload");
|
|
8
|
+
var isAddressHistoryQueryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressHistoryQuerySchema, "isAddressHistoryQueryPayload");
|
|
9
|
+
|
|
10
|
+
// src/Config.ts
|
|
11
|
+
var AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`;
|
|
12
|
+
export {
|
|
13
|
+
AddressHistoryDivinerConfigSchema,
|
|
14
|
+
AddressHistoryQuerySchema,
|
|
15
|
+
AddressHistorySchema,
|
|
16
|
+
isAddressHistoryPayload,
|
|
17
|
+
isAddressHistoryQueryPayload
|
|
18
|
+
};
|
|
2
19
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Diviner.ts","../../src/Config.ts"],"sourcesContent":["import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nexport type AddressHistorySchema = 'network.xyo.diviner.address.history'\nexport const AddressHistorySchema: AddressHistorySchema = 'network.xyo.diviner.address.history'\n\nexport type AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\nexport const AddressHistoryQuerySchema: AddressHistoryQuerySchema = 'network.xyo.diviner.address.history.query'\n\nexport type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>\nexport const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema\n\nexport type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & PayloadFindFilter>\nexport const isAddressHistoryQueryPayload = (x?: Payload | null): x is AddressHistoryQueryPayload => x?.schema === AddressHistoryQuerySchema\n","import { Address } from '@xylabs/hex'\nimport { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { AddressHistorySchema } from './Diviner'\n\nexport type AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\nexport const AddressHistoryDivinerConfigSchema: AddressHistoryDivinerConfigSchema = `${AddressHistorySchema}.config`\n\nexport type AddressHistoryDivinerConfig = DivinerConfig<{\n address?: Address\n schema: AddressHistoryDivinerConfigSchema\n}>\n"],"mappings":";;;;AAGO,IAAMA,uBAA6C;AAGnD,IAAMC,4BAAuD;AAG7D,IAAMC,0BAA0B,wBAACC,OAAmDA,uBAAGC,YAAWJ,sBAAlE;AAGhC,IAAMK,+BAA+B,wBAACF,OAAwDA,uBAAGC,YAAWH,2BAAvE;;;ACNrC,IAAMK,oCAAuE,GAAGC,oBAAAA;","names":["AddressHistorySchema","AddressHistoryQuerySchema","isAddressHistoryPayload","x","schema","isAddressHistoryQueryPayload","AddressHistoryDivinerConfigSchema","AddressHistorySchema"]}
|
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.4",
|
|
15
|
+
"@xyo-network/module-model": "~2.107.4",
|
|
16
|
+
"@xyo-network/payload-model": "~2.107.4"
|
|
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.4",
|
|
63
63
|
"type": "module"
|
|
64
64
|
}
|