@xyo-network/location-certainty-plugin 2.74.5 → 2.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/Diviner/Config.cjs +27 -0
- package/dist/browser/Diviner/Config.cjs.map +1 -0
- package/dist/browser/Diviner/Config.d.mts.map +1 -0
- package/dist/browser/Diviner/Config.d.ts.map +1 -0
- package/dist/browser/Diviner/Config.js +6 -0
- package/dist/browser/Diviner/Config.js.map +1 -0
- package/dist/browser/Diviner/Diviner.cjs +101 -0
- package/dist/browser/Diviner/Diviner.cjs.map +1 -0
- package/dist/browser/Diviner/Diviner.d.mts.map +1 -0
- package/dist/browser/Diviner/Diviner.d.ts.map +1 -0
- package/dist/browser/Diviner/Diviner.js +80 -0
- package/dist/browser/Diviner/Diviner.js.map +1 -0
- package/dist/browser/Diviner/index.cjs +102 -0
- package/dist/browser/Diviner/index.cjs.map +1 -0
- package/dist/browser/Diviner/index.d.mts.map +1 -0
- package/dist/browser/Diviner/index.d.ts.map +1 -0
- package/dist/browser/Diviner/index.js +79 -0
- package/dist/browser/Diviner/index.js.map +1 -0
- package/dist/browser/Plugin.cjs +114 -0
- package/dist/browser/Plugin.cjs.map +1 -0
- package/dist/browser/Plugin.d.mts.map +1 -0
- package/dist/browser/Plugin.d.ts.map +1 -0
- package/dist/browser/Plugin.js +93 -0
- package/dist/browser/Plugin.js.map +1 -0
- package/dist/{index.js → browser/index.cjs} +1 -7
- package/dist/browser/index.cjs.map +1 -0
- package/dist/browser/index.d.mts.map +1 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/{index.mjs → browser/index.js} +1 -1
- package/dist/browser/index.js.map +1 -0
- package/dist/node/Diviner/Config.d.mts +10 -0
- package/dist/node/Diviner/Config.d.mts.map +1 -0
- package/dist/node/Diviner/Config.d.ts +10 -0
- package/dist/node/Diviner/Config.d.ts.map +1 -0
- package/dist/node/Diviner/Config.js +29 -0
- package/dist/node/Diviner/Config.js.map +1 -0
- package/dist/node/Diviner/Config.mjs +5 -0
- package/dist/node/Diviner/Config.mjs.map +1 -0
- package/dist/node/Diviner/Diviner.d.mts +15 -0
- package/dist/node/Diviner/Diviner.d.mts.map +1 -0
- package/dist/node/Diviner/Diviner.d.ts +15 -0
- package/dist/node/Diviner/Diviner.d.ts.map +1 -0
- package/dist/node/Diviner/Diviner.js +99 -0
- package/dist/node/Diviner/Diviner.js.map +1 -0
- package/dist/node/Diviner/Diviner.mjs +75 -0
- package/dist/node/Diviner/Diviner.mjs.map +1 -0
- package/dist/node/Diviner/index.d.mts +3 -0
- package/dist/node/Diviner/index.d.mts.map +1 -0
- package/dist/node/Diviner/index.d.ts +3 -0
- package/dist/node/Diviner/index.d.ts.map +1 -0
- package/dist/node/Diviner/index.js +25 -0
- package/dist/node/Diviner/index.js.map +1 -0
- package/dist/node/Diviner/index.mjs +3 -0
- package/dist/node/Diviner/index.mjs.map +1 -0
- package/dist/node/Plugin.d.mts +53 -0
- package/dist/node/Plugin.d.mts.map +1 -0
- package/dist/node/Plugin.d.ts +53 -0
- package/dist/node/Plugin.d.ts.map +1 -0
- package/dist/node/Plugin.js +40 -0
- package/dist/node/Plugin.js.map +1 -0
- package/dist/node/Plugin.mjs +16 -0
- package/dist/node/Plugin.mjs.map +1 -0
- package/dist/node/index.d.mts +5 -0
- package/dist/node/index.d.mts.map +1 -0
- package/dist/node/index.d.ts +5 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.js +34 -0
- package/dist/node/index.js.map +1 -0
- package/dist/node/index.mjs +8 -0
- package/dist/node/index.mjs.map +1 -0
- package/package.json +34 -31
- package/dist/Diviner/Config.d.mts.map +0 -1
- package/dist/Diviner/Config.d.ts.map +0 -1
- package/dist/Diviner/Diviner.d.mts.map +0 -1
- package/dist/Diviner/Diviner.d.ts.map +0 -1
- package/dist/Diviner/index.d.mts.map +0 -1
- package/dist/Diviner/index.d.ts.map +0 -1
- package/dist/Plugin.d.mts.map +0 -1
- package/dist/Plugin.d.ts.map +0 -1
- package/dist/docs.json +0 -22683
- package/dist/index.d.mts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
- /package/dist/{Diviner → browser/Diviner}/Config.d.mts +0 -0
- /package/dist/{Diviner → browser/Diviner}/Config.d.ts +0 -0
- /package/dist/{Diviner → browser/Diviner}/Diviner.d.mts +0 -0
- /package/dist/{Diviner → browser/Diviner}/Diviner.d.ts +0 -0
- /package/dist/{Diviner → browser/Diviner}/index.d.mts +0 -0
- /package/dist/{Diviner → browser/Diviner}/index.d.ts +0 -0
- /package/dist/{Plugin.d.mts → browser/Plugin.d.mts} +0 -0
- /package/dist/{Plugin.d.ts → browser/Plugin.d.ts} +0 -0
- /package/dist/{index.d.mts → browser/index.d.mts} +0 -0
- /package/dist/{index.d.ts → browser/index.d.ts} +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { LocationCertaintyDiviner } from './Diviner';
|
|
2
|
+
export declare const LocationCertaintyPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetDivinerPlugin<LocationCertaintyDiviner<import("@xyo-network/core").BaseParamsFields & {
|
|
3
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
4
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
5
|
+
accountDerivationPath?: string | undefined;
|
|
6
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
7
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
8
|
+
readonly name?: string | undefined;
|
|
9
|
+
readonly paging?: Record<string, {
|
|
10
|
+
size?: number | undefined;
|
|
11
|
+
}> | undefined;
|
|
12
|
+
readonly security?: {
|
|
13
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
14
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
15
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly sign?: boolean | undefined;
|
|
18
|
+
readonly storeQueries?: boolean | undefined;
|
|
19
|
+
readonly timestamp?: boolean | undefined;
|
|
20
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
21
|
+
accountDerivationPath?: string | undefined;
|
|
22
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
23
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
24
|
+
readonly name?: string | undefined;
|
|
25
|
+
readonly paging?: Record<string, {
|
|
26
|
+
size?: number | undefined;
|
|
27
|
+
}> | undefined;
|
|
28
|
+
readonly security?: {
|
|
29
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly sign?: boolean | undefined;
|
|
34
|
+
readonly storeQueries?: boolean | undefined;
|
|
35
|
+
readonly timestamp?: boolean | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
schema: "network.xyo.location.elevation.diviner.config";
|
|
38
|
+
} & Omit<{
|
|
39
|
+
schema: string;
|
|
40
|
+
} & import("@xyo-network/payload-model").PayloadFields & {
|
|
41
|
+
schema: "network.xyo.location.elevation.diviner.config";
|
|
42
|
+
targetSchema?: "network.xyo.location.certainty" | undefined;
|
|
43
|
+
}, "schema">, "schema"> & {
|
|
44
|
+
schema: "network.xyo.location.elevation.diviner.config";
|
|
45
|
+
}, "schema"> & {
|
|
46
|
+
schema: string;
|
|
47
|
+
}, "schema"> & {
|
|
48
|
+
schema: string;
|
|
49
|
+
};
|
|
50
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
51
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
52
|
+
}>>;
|
|
53
|
+
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AAEpD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQjC,CAAA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { LocationCertaintyDiviner } from './Diviner';
|
|
2
|
+
export declare const LocationCertaintyPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetDivinerPlugin<LocationCertaintyDiviner<import("@xyo-network/core").BaseParamsFields & {
|
|
3
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
4
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
5
|
+
accountDerivationPath?: string | undefined;
|
|
6
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
7
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
8
|
+
readonly name?: string | undefined;
|
|
9
|
+
readonly paging?: Record<string, {
|
|
10
|
+
size?: number | undefined;
|
|
11
|
+
}> | undefined;
|
|
12
|
+
readonly security?: {
|
|
13
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
14
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
15
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly sign?: boolean | undefined;
|
|
18
|
+
readonly storeQueries?: boolean | undefined;
|
|
19
|
+
readonly timestamp?: boolean | undefined;
|
|
20
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
21
|
+
accountDerivationPath?: string | undefined;
|
|
22
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
23
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
24
|
+
readonly name?: string | undefined;
|
|
25
|
+
readonly paging?: Record<string, {
|
|
26
|
+
size?: number | undefined;
|
|
27
|
+
}> | undefined;
|
|
28
|
+
readonly security?: {
|
|
29
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly sign?: boolean | undefined;
|
|
34
|
+
readonly storeQueries?: boolean | undefined;
|
|
35
|
+
readonly timestamp?: boolean | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
schema: "network.xyo.location.elevation.diviner.config";
|
|
38
|
+
} & Omit<{
|
|
39
|
+
schema: string;
|
|
40
|
+
} & import("@xyo-network/payload-model").PayloadFields & {
|
|
41
|
+
schema: "network.xyo.location.elevation.diviner.config";
|
|
42
|
+
targetSchema?: "network.xyo.location.certainty" | undefined;
|
|
43
|
+
}, "schema">, "schema"> & {
|
|
44
|
+
schema: "network.xyo.location.elevation.diviner.config";
|
|
45
|
+
}, "schema"> & {
|
|
46
|
+
schema: string;
|
|
47
|
+
}, "schema"> & {
|
|
48
|
+
schema: string;
|
|
49
|
+
};
|
|
50
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
51
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
52
|
+
}>>;
|
|
53
|
+
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AAEpD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQjC,CAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var Plugin_exports = {};
|
|
20
|
+
__export(Plugin_exports, {
|
|
21
|
+
LocationCertaintyPlugin: () => LocationCertaintyPlugin
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(Plugin_exports);
|
|
24
|
+
var import_location_certainty_payload_plugin = require("@xyo-network/location-certainty-payload-plugin");
|
|
25
|
+
var import_payload_model = require("@xyo-network/payload-model");
|
|
26
|
+
var import_payloadset_plugin = require("@xyo-network/payloadset-plugin");
|
|
27
|
+
var import_Diviner = require("./Diviner");
|
|
28
|
+
const LocationCertaintyPlugin = () => (0, import_payloadset_plugin.createPayloadSetDivinerPlugin)(
|
|
29
|
+
{ required: { [import_location_certainty_payload_plugin.LocationCertaintySchema]: 1 }, schema: import_payload_model.PayloadSetSchema },
|
|
30
|
+
{
|
|
31
|
+
diviner: async (params) => {
|
|
32
|
+
return await import_Diviner.LocationCertaintyDiviner.create(params);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
+
0 && (module.exports = {
|
|
38
|
+
LocationCertaintyPlugin
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=Plugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts"],"sourcesContent":["import { LocationCertaintySchema } from '@xyo-network/location-certainty-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetDivinerPlugin } from '@xyo-network/payloadset-plugin'\n\nimport { LocationCertaintyDiviner } from './Diviner'\n\nexport const LocationCertaintyPlugin = () =>\n createPayloadSetDivinerPlugin<LocationCertaintyDiviner>(\n { required: { [LocationCertaintySchema]: 1 }, schema: PayloadSetSchema },\n {\n diviner: async (params) => {\n return (await LocationCertaintyDiviner.create(params)) as LocationCertaintyDiviner\n },\n },\n )\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+CAAwC;AACxC,2BAAiC;AACjC,+BAA8C;AAE9C,qBAAyC;AAElC,MAAM,0BAA0B,UACrC;AAAA,EACE,EAAE,UAAU,EAAE,CAAC,gEAAuB,GAAG,EAAE,GAAG,QAAQ,sCAAiB;AAAA,EACvE;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAQ,MAAM,wCAAyB,OAAO,MAAM;AAAA,IACtD;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LocationCertaintySchema } from "@xyo-network/location-certainty-payload-plugin";
|
|
2
|
+
import { PayloadSetSchema } from "@xyo-network/payload-model";
|
|
3
|
+
import { createPayloadSetDivinerPlugin } from "@xyo-network/payloadset-plugin";
|
|
4
|
+
import { LocationCertaintyDiviner } from "./Diviner";
|
|
5
|
+
const LocationCertaintyPlugin = () => createPayloadSetDivinerPlugin(
|
|
6
|
+
{ required: { [LocationCertaintySchema]: 1 }, schema: PayloadSetSchema },
|
|
7
|
+
{
|
|
8
|
+
diviner: async (params) => {
|
|
9
|
+
return await LocationCertaintyDiviner.create(params);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
export {
|
|
14
|
+
LocationCertaintyPlugin
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=Plugin.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts"],"sourcesContent":["import { LocationCertaintySchema } from '@xyo-network/location-certainty-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetDivinerPlugin } from '@xyo-network/payloadset-plugin'\n\nimport { LocationCertaintyDiviner } from './Diviner'\n\nexport const LocationCertaintyPlugin = () =>\n createPayloadSetDivinerPlugin<LocationCertaintyDiviner>(\n { required: { [LocationCertaintySchema]: 1 }, schema: PayloadSetSchema },\n {\n diviner: async (params) => {\n return (await LocationCertaintyDiviner.create(params)) as LocationCertaintyDiviner\n },\n },\n )\n"],"mappings":"AAAA,SAAS,+BAA+B;AACxC,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;AAE9C,SAAS,gCAAgC;AAElC,MAAM,0BAA0B,MACrC;AAAA,EACE,EAAE,UAAU,EAAE,CAAC,uBAAuB,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EACvE;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAQ,MAAM,yBAAyB,OAAO,MAAM;AAAA,IACtD;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,uBAAuB,EAAE,CAAA;AAGlC,eAAe,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,uBAAuB,EAAE,CAAA;AAGlC,eAAe,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
var src_exports = {};
|
|
21
|
+
__export(src_exports, {
|
|
22
|
+
LocationCertaintyPlugin: () => import_Plugin.LocationCertaintyPlugin,
|
|
23
|
+
default: () => src_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(src_exports);
|
|
26
|
+
var import_Plugin = require("./Plugin");
|
|
27
|
+
__reExport(src_exports, require("./Diviner"), module.exports);
|
|
28
|
+
var src_default = import_Plugin.LocationCertaintyPlugin;
|
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
+
0 && (module.exports = {
|
|
31
|
+
LocationCertaintyPlugin,
|
|
32
|
+
...require("./Diviner")
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { LocationCertaintyPlugin } from './Plugin'\n\nexport * from './Diviner'\n\nexport { LocationCertaintyPlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default LocationCertaintyPlugin\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAwC;AAExC,wBAAc,sBAFd;AAOA,IAAO,cAAQ;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { LocationCertaintyPlugin } from './Plugin'\n\nexport * from './Diviner'\n\nexport { LocationCertaintyPlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default LocationCertaintyPlugin\n"],"mappings":"AAAA,SAAS,+BAA+B;AAExC,cAAc;AAKd,IAAO,cAAQ;","names":[]}
|
package/package.json
CHANGED
|
@@ -10,52 +10,55 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/abstract-diviner": "~2.
|
|
14
|
-
"@xyo-network/diviner-model": "~2.
|
|
15
|
-
"@xyo-network/elevation-payload-plugin": "~2.
|
|
16
|
-
"@xyo-network/elevation-plugin": "~2.
|
|
17
|
-
"@xyo-network/location-certainty-payload-plugin": "~2.
|
|
18
|
-
"@xyo-network/location-payload-plugin": "~2.
|
|
19
|
-
"@xyo-network/module": "~2.
|
|
20
|
-
"@xyo-network/payload-builder": "~2.
|
|
21
|
-
"@xyo-network/payload-model": "~2.
|
|
22
|
-
"@xyo-network/payloadset-plugin": "~2.
|
|
13
|
+
"@xyo-network/abstract-diviner": "~2.75.0",
|
|
14
|
+
"@xyo-network/diviner-model": "~2.75.0",
|
|
15
|
+
"@xyo-network/elevation-payload-plugin": "~2.75.0",
|
|
16
|
+
"@xyo-network/elevation-plugin": "~2.75.0",
|
|
17
|
+
"@xyo-network/location-certainty-payload-plugin": "~2.75.0",
|
|
18
|
+
"@xyo-network/location-payload-plugin": "~2.75.0",
|
|
19
|
+
"@xyo-network/module": "~2.75.0",
|
|
20
|
+
"@xyo-network/payload-builder": "~2.75.0",
|
|
21
|
+
"@xyo-network/payload-model": "~2.75.0",
|
|
22
|
+
"@xyo-network/payloadset-plugin": "~2.75.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@xylabs/ts-scripts-yarn3": "^3.0.
|
|
26
|
-
"@xylabs/tsconfig": "^3.0.
|
|
25
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.70",
|
|
26
|
+
"@xylabs/tsconfig": "^3.0.70",
|
|
27
27
|
"typescript": "^5.2.2"
|
|
28
28
|
},
|
|
29
29
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
30
30
|
"docs": "dist/docs.json",
|
|
31
|
-
"types": "dist/index.d.ts",
|
|
31
|
+
"types": "dist/node/index.d.ts",
|
|
32
32
|
"exports": {
|
|
33
33
|
".": {
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
34
|
+
"browser": {
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/browser/index.d.ts",
|
|
37
|
+
"default": "./dist/browser/index.cjs"
|
|
38
|
+
},
|
|
39
|
+
"import": {
|
|
40
|
+
"types": "./dist/browser/index.d.mts",
|
|
41
|
+
"default": "./dist/browser/index.js"
|
|
42
|
+
}
|
|
37
43
|
},
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
44
|
+
"node": {
|
|
45
|
+
"require": {
|
|
46
|
+
"types": "./dist/node/index.d.ts",
|
|
47
|
+
"default": "./dist/node/index.js"
|
|
48
|
+
},
|
|
49
|
+
"import": {
|
|
50
|
+
"types": "./dist/node/index.d.mts",
|
|
51
|
+
"default": "./dist/node/index.mjs"
|
|
52
|
+
}
|
|
41
53
|
}
|
|
42
54
|
},
|
|
43
|
-
"./dist/docs.json": {
|
|
44
|
-
"default": "./dist/docs.json"
|
|
45
|
-
},
|
|
46
|
-
"./cjs": {
|
|
47
|
-
"default": "./dist/index.js"
|
|
48
|
-
},
|
|
49
55
|
"./docs": {
|
|
50
56
|
"default": "./dist/docs.json"
|
|
51
57
|
},
|
|
52
|
-
"./esm": {
|
|
53
|
-
"default": "./dist/index.mjs"
|
|
54
|
-
},
|
|
55
58
|
"./package.json": "./package.json"
|
|
56
59
|
},
|
|
57
|
-
"main": "dist/index.js",
|
|
58
|
-
"module": "dist/index.mjs",
|
|
60
|
+
"main": "dist/node/index.js",
|
|
61
|
+
"module": "dist/node/index.mjs",
|
|
59
62
|
"homepage": "https://xyo.network",
|
|
60
63
|
"license": "LGPL-3.0",
|
|
61
64
|
"publishConfig": {
|
|
@@ -66,5 +69,5 @@
|
|
|
66
69
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
67
70
|
},
|
|
68
71
|
"sideEffects": false,
|
|
69
|
-
"version": "2.
|
|
72
|
+
"version": "2.75.0"
|
|
70
73
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Diviner/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAA;AACxF,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,MAAM,oCAAoC,GAAG,+CAA+C,CAAA;AAClG,eAAO,MAAM,oCAAoC,EAAE,oCAAsF,CAAA;AAEzI,MAAM,MAAM,8BAA8B,CAAC,OAAO,SAAS,OAAO,GAAG,OAAO,IAAI,aAAa,CAC3F,OAAO,GAAG;IACR,MAAM,EAAE,oCAAoC,CAAA;IAC5C,YAAY,CAAC,EAAE,uBAAuB,CAAA;CACvC,CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Diviner/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAA;AACxF,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,MAAM,oCAAoC,GAAG,+CAA+C,CAAA;AAClG,eAAO,MAAM,oCAAoC,EAAE,oCAAsF,CAAA;AAEzI,MAAM,MAAM,8BAA8B,CAAC,OAAO,SAAS,OAAO,GAAG,OAAO,IAAI,aAAa,CAC3F,OAAO,GAAG;IACR,MAAM,EAAE,oCAAoC,CAAA;IAC5C,YAAY,CAAC,EAAE,uBAAuB,CAAA;CACvC,CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAKzE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,8BAA8B,EAAwC,MAAM,UAAU,CAAA;AAE/F,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA;AAE3G,qBAAa,wBAAwB,CAAC,MAAM,SAAS,8BAA8B,GAAG,8BAA8B,CAClH,SAAQ,eAAe,CAAC,MAAM,CAC9B,YAAW,aAAa;IAExB,OAAgB,aAAa,oDAAyC;IACtE,OAAgB,YAAY,mCAA0B;IAGtD,OAAO,CAAC,MAAM,CAAC,aAAa;IAqB5B,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAkBpC,wHAAwH;cAC/F,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CA4BjF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAKzE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,8BAA8B,EAAwC,MAAM,UAAU,CAAA;AAE/F,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAC,CAAA;AAE3G,qBAAa,wBAAwB,CAAC,MAAM,SAAS,8BAA8B,GAAG,8BAA8B,CAClH,SAAQ,eAAe,CAAC,MAAM,CAC9B,YAAW,aAAa;IAExB,OAAgB,aAAa,oDAAyC;IACtE,OAAgB,YAAY,mCAA0B;IAGtD,OAAO,CAAC,MAAM,CAAC,aAAa;IAqB5B,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAkBpC,wHAAwH;cAC/F,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CA4BjF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Diviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Diviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA"}
|
package/dist/Plugin.d.mts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AAEpD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQjC,CAAA"}
|
package/dist/Plugin.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AAEpD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQjC,CAAA"}
|