@xyo-network/location-certainty-plugin 2.43.8 → 2.43.10

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.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -2,7 +2,7 @@ import { ModuleParams } from '@xyo-network/module';
2
2
  import { PayloadSetDivinerPlugin } from '@xyo-network/payloadset-plugin';
3
3
  export declare const LocationCertaintyPlugin: () => PayloadSetDivinerPlugin<ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
4
4
  security?: {
5
- allowed?: Record<string, string[][]> | undefined;
5
+ allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
6
6
  disallowed?: Record<string, string[]> | undefined;
7
7
  } | undefined;
8
8
  } & {
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -10,20 +10,20 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/diviner": "^2.43.8",
14
- "@xyo-network/diviner-model": "^2.43.8",
15
- "@xyo-network/elevation-payload-plugin": "^2.43.8",
16
- "@xyo-network/elevation-plugin": "^2.43.8",
17
- "@xyo-network/location-certainty-payload-plugin": "^2.43.8",
18
- "@xyo-network/location-payload-plugin": "^2.43.8",
19
- "@xyo-network/module": "^2.43.8",
20
- "@xyo-network/payload-builder": "^2.43.8",
21
- "@xyo-network/payload-model": "^2.43.8",
22
- "@xyo-network/payloadset-plugin": "^2.43.8",
23
- "@xyo-network/shared": "^2.43.8"
13
+ "@xyo-network/diviner": "^2.43.10",
14
+ "@xyo-network/diviner-model": "^2.43.10",
15
+ "@xyo-network/elevation-payload-plugin": "^2.43.10",
16
+ "@xyo-network/elevation-plugin": "^2.43.10",
17
+ "@xyo-network/location-certainty-payload-plugin": "^2.43.10",
18
+ "@xyo-network/location-payload-plugin": "^2.43.10",
19
+ "@xyo-network/module": "^2.43.10",
20
+ "@xyo-network/payload-builder": "^2.43.10",
21
+ "@xyo-network/payload-model": "^2.43.10",
22
+ "@xyo-network/payloadset-plugin": "^2.43.10",
23
+ "@xyo-network/shared": "^2.43.10"
24
24
  },
25
25
  "devDependencies": {
26
- "@xylabs/ts-scripts-yarn3": "^2.12.3"
26
+ "@xylabs/ts-scripts-yarn3": "^2.12.23"
27
27
  },
28
28
  "description": "Primary SDK for using XYO Protocol 2.0",
29
29
  "browser": "dist/esm/index.js",
@@ -57,6 +57,6 @@
57
57
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
58
58
  },
59
59
  "sideEffects": false,
60
- "types": "dist/esm/index.d.ts",
61
- "version": "2.43.8"
60
+ "types": "dist/types/index.d.ts",
61
+ "version": "2.43.10"
62
62
  }
@@ -1,10 +0,0 @@
1
- import { DivinerConfig } from '@xyo-network/diviner-model';
2
- import { LocationCertaintyPayload, LocationCertaintySchema } from '@xyo-network/location-certainty-payload-plugin';
3
- import { XyoPayload } from '@xyo-network/payload-model';
4
- export type LocationCertaintyDivinerConfigSchema = 'network.xyo.location.elevation.diviner.config';
5
- export declare const LocationCertaintyDivinerConfigSchema: LocationCertaintyDivinerConfigSchema;
6
- export type LocationCertaintyDivinerConfig<TConfig extends XyoPayload = XyoPayload> = DivinerConfig<LocationCertaintyPayload, TConfig & {
7
- schema: LocationCertaintyDivinerConfigSchema;
8
- targetSchema: LocationCertaintySchema;
9
- }>;
10
- //# sourceMappingURL=Config.d.ts.map
@@ -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,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAA;AAClH,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAEvD,MAAM,MAAM,oCAAoC,GAAG,+CAA+C,CAAA;AAClG,eAAO,MAAM,oCAAoC,EAAE,oCAAsF,CAAA;AAEzI,MAAM,MAAM,8BAA8B,CAAC,OAAO,SAAS,UAAU,GAAG,UAAU,IAAI,aAAa,CACjG,wBAAwB,EACxB,OAAO,GAAG;IACR,MAAM,EAAE,oCAAoC,CAAA;IAC5C,YAAY,EAAE,uBAAuB,CAAA;CACtC,CACF,CAAA"}
@@ -1,18 +0,0 @@
1
- import { AbstractDiviner } from '@xyo-network/diviner';
2
- import { ModuleParams } from '@xyo-network/module';
3
- import { XyoPayloads } from '@xyo-network/payload-model';
4
- import { Job, JobProvider } from '@xyo-network/shared';
5
- import { LocationCertaintyDivinerConfig } from './Config';
6
- export declare class LocationCertaintyDiviner extends AbstractDiviner<LocationCertaintyDivinerConfig> implements LocationCertaintyDiviner, JobProvider {
7
- static configSchema: "network.xyo.location.elevation.diviner.config";
8
- static targetSchema: "network.xyo.location.certainty";
9
- get jobs(): Job[];
10
- static create(params?: ModuleParams<LocationCertaintyDivinerConfig>): Promise<LocationCertaintyDiviner>;
11
- private static calcHeuristic;
12
- private static locationsToHeuristics;
13
- /** @description Given a set of locations, get the expected elevations (witness if needed), and return score/variance */
14
- divine(payloads?: XyoPayloads): Promise<XyoPayloads>;
15
- /** @description Is the goal here to prime/index the diviner? */
16
- private divineElevationBatch;
17
- }
18
- //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/Diviner/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAKtD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEtD,OAAO,EAAE,8BAA8B,EAAwC,MAAM,UAAU,CAAA;AAE/F,qBAAa,wBAAyB,SAAQ,eAAe,CAAC,8BAA8B,CAAE,YAAW,wBAAwB,EAAE,WAAW;IAC5I,OAAgB,YAAY,kDAAuC;IACnE,OAAgB,YAAY,mCAA0B;IAEtD,IAAI,IAAI,IAAI,GAAG,EAAE,CAQhB;WAEqB,MAAM,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,8BAA8B,CAAC;IAKlF,OAAO,CAAC,MAAM,CAAC,aAAa;IAqB5B,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAkBpC,wHAAwH;IAC3G,MAAM,CAAC,QAAQ,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;IA4BjE,gEAAgE;IAChE,OAAO,CAAC,oBAAoB,CAK3B;CACF"}
@@ -1,3 +0,0 @@
1
- export * from './Config';
2
- export * from './Diviner';
3
- //# sourceMappingURL=index.d.ts.map
@@ -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,16 +0,0 @@
1
- import { ModuleParams } from '@xyo-network/module';
2
- import { PayloadSetDivinerPlugin } from '@xyo-network/payloadset-plugin';
3
- export declare const LocationCertaintyPlugin: () => PayloadSetDivinerPlugin<ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
4
- security?: {
5
- allowed?: Record<string, string[][]> | undefined;
6
- disallowed?: Record<string, string[]> | undefined;
7
- } | undefined;
8
- } & {
9
- targetSchema?: "network.xyo.location.certainty" | undefined;
10
- } & {
11
- schema: string;
12
- } & {
13
- schema: "network.xyo.location.elevation.diviner.config";
14
- targetSchema: "network.xyo.location.certainty";
15
- }>>;
16
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,OAAO,EAA0B,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAIhG,eAAO,MAAM,uBAAuB;;;;;;;;;;;;GAQjC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { LocationCertaintyPlugin } from './Plugin';
2
- export * from './Diviner';
3
- export { LocationCertaintyPlugin };
4
- export default LocationCertaintyPlugin;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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"}