@xyo-network/location-plugin 2.43.9 → 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.
- package/dist/docs.json +203 -203
- package/dist/{cjs → types}/Config.d.ts +0 -0
- package/dist/{cjs → types}/Config.d.ts.map +0 -0
- package/dist/{cjs → types}/CurrentLocationPayloadSet.d.ts +0 -0
- package/dist/{cjs → types}/CurrentLocationPayloadSet.d.ts.map +0 -0
- package/dist/{cjs → types}/CurrentLocationWitness.d.ts +0 -0
- package/dist/{cjs → types}/CurrentLocationWitness.d.ts.map +0 -0
- package/dist/{cjs → types}/Plugin.d.ts +0 -0
- package/dist/{cjs → types}/Plugin.d.ts.map +0 -0
- package/dist/{cjs → types}/index.d.ts +0 -0
- package/dist/{cjs → types}/index.d.ts.map +0 -0
- package/package.json +9 -9
- package/dist/esm/Config.d.ts +0 -11
- package/dist/esm/Config.d.ts.map +0 -1
- package/dist/esm/CurrentLocationPayloadSet.d.ts +0 -3
- package/dist/esm/CurrentLocationPayloadSet.d.ts.map +0 -1
- package/dist/esm/CurrentLocationWitness.d.ts +0 -14
- package/dist/esm/CurrentLocationWitness.d.ts.map +0 -1
- package/dist/esm/Plugin.d.ts +0 -15
- package/dist/esm/Plugin.d.ts.map +0 -1
- package/dist/esm/index.d.ts +0 -7
- package/dist/esm/index.d.ts.map +0 -1
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/assert": "^2.6.
|
|
14
|
-
"@xyo-network/location-payload-plugin": "^2.43.
|
|
15
|
-
"@xyo-network/module": "^2.43.
|
|
16
|
-
"@xyo-network/payload-model": "^2.43.
|
|
17
|
-
"@xyo-network/payloadset-plugin": "^2.43.
|
|
18
|
-
"@xyo-network/witness": "^2.43.
|
|
13
|
+
"@xylabs/assert": "^2.6.16",
|
|
14
|
+
"@xyo-network/location-payload-plugin": "^2.43.10",
|
|
15
|
+
"@xyo-network/module": "^2.43.10",
|
|
16
|
+
"@xyo-network/payload-model": "^2.43.10",
|
|
17
|
+
"@xyo-network/payloadset-plugin": "^2.43.10",
|
|
18
|
+
"@xyo-network/witness": "^2.43.10"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@xylabs/ts-scripts-yarn3": "^2.12.
|
|
21
|
+
"@xylabs/ts-scripts-yarn3": "^2.12.23"
|
|
22
22
|
},
|
|
23
23
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
24
24
|
"browser": "dist/esm/index.js",
|
|
@@ -52,6 +52,6 @@
|
|
|
52
52
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
|
-
"types": "dist/
|
|
56
|
-
"version": "2.43.
|
|
55
|
+
"types": "dist/types/index.d.ts",
|
|
56
|
+
"version": "2.43.10"
|
|
57
57
|
}
|
package/dist/esm/Config.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ModuleParams } from '@xyo-network/module';
|
|
2
|
-
import { XyoWitnessConfig } from '@xyo-network/witness';
|
|
3
|
-
export type CurrentLocationWitnessConfigSchema = 'network.xyo.location.current.config';
|
|
4
|
-
export declare const CurrentLocationWitnessConfigSchema: CurrentLocationWitnessConfigSchema;
|
|
5
|
-
export type CurrentLocationWitnessConfig = XyoWitnessConfig<{
|
|
6
|
-
schema: CurrentLocationWitnessConfigSchema;
|
|
7
|
-
}>;
|
|
8
|
-
export type CurrentLocationWitnessParams = ModuleParams<CurrentLocationWitnessConfig> & {
|
|
9
|
-
geolocation: Geolocation;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=Config.d.ts.map
|
package/dist/esm/Config.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEvD,MAAM,MAAM,kCAAkC,GAAG,qCAAqC,CAAA;AACtF,eAAO,MAAM,kCAAkC,EAAE,kCAA0E,CAAA;AAE3H,MAAM,MAAM,4BAA4B,GAAG,gBAAgB,CAAC;IAC1D,MAAM,EAAE,kCAAkC,CAAA;CAC3C,CAAC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,YAAY,CAAC,4BAA4B,CAAC,GAAG;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CurrentLocationPayloadSet.d.ts","sourceRoot":"","sources":["../../src/CurrentLocationPayloadSet.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAoB,MAAM,4BAA4B,CAAA;AAEhF,eAAO,MAAM,yBAAyB,EAAE,iBAQvC,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ModuleParams } from '@xyo-network/module';
|
|
2
|
-
import { XyoPayload } from '@xyo-network/payload-model';
|
|
3
|
-
import { AbstractWitness } from '@xyo-network/witness';
|
|
4
|
-
import { CurrentLocationWitnessConfig, CurrentLocationWitnessParams } from './Config';
|
|
5
|
-
export declare class CurrentLocationWitness extends AbstractWitness<CurrentLocationWitnessConfig> {
|
|
6
|
-
static configSchema: "network.xyo.location.current.config";
|
|
7
|
-
private _geolocation;
|
|
8
|
-
constructor(params: CurrentLocationWitnessParams);
|
|
9
|
-
get geolocation(): Geolocation;
|
|
10
|
-
static create(params?: ModuleParams<CurrentLocationWitnessConfig>): Promise<CurrentLocationWitness>;
|
|
11
|
-
getCurrentPosition(): Promise<GeolocationPosition>;
|
|
12
|
-
observe(): Promise<XyoPayload[]>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=CurrentLocationWitness.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CurrentLocationWitness.d.ts","sourceRoot":"","sources":["../../src/CurrentLocationWitness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAEtD,OAAO,EAAE,4BAA4B,EAAsC,4BAA4B,EAAE,MAAM,UAAU,CAAA;AAEzH,qBAAa,sBAAuB,SAAQ,eAAe,CAAC,4BAA4B,CAAC;IACvF,OAAgB,YAAY,wCAAqC;IAEjE,OAAO,CAAC,YAAY,CAAa;gBAErB,MAAM,EAAE,4BAA4B;IAKhD,IAAW,WAAW,IAAI,WAAW,CAEpC;WAEqB,MAAM,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,4BAA4B,CAAC,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAI3G,kBAAkB;IAaV,OAAO,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;CAoBhD"}
|
package/dist/esm/Plugin.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ModuleParams } from '@xyo-network/module';
|
|
2
|
-
import { PayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin';
|
|
3
|
-
export declare const LocationPlugin: () => PayloadSetWitnessPlugin<ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
4
|
-
security?: {
|
|
5
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
6
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
7
|
-
} | undefined;
|
|
8
|
-
} & {
|
|
9
|
-
schema: "network.xyo.location.current.config";
|
|
10
|
-
} & {
|
|
11
|
-
targetSet?: (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/payload-model").PayloadSet & {
|
|
12
|
-
schema: "network.xyo.payload.set";
|
|
13
|
-
}) | undefined;
|
|
14
|
-
}>>;
|
|
15
|
-
//# sourceMappingURL=Plugin.d.ts.map
|
package/dist/esm/Plugin.d.ts.map
DELETED
|
@@ -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;AAKhG,eAAO,MAAM,cAAc;;;;;;;;;;;GASxB,CAAA"}
|
package/dist/esm/index.d.ts
DELETED
package/dist/esm/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEzC,cAAc,UAAU,CAAA;AACxB,cAAc,6BAA6B,CAAA;AAC3C,cAAc,0BAA0B,CAAA;AAExC,OAAO,EAAE,cAAc,EAAE,CAAA;AAGzB,eAAe,cAAc,CAAA"}
|