@xyo-network/api 2.24.4 → 2.24.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/package.json
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@xylabs/sdk-js": "^2.6.3",
|
|
13
|
-
"@xyo-network/account": "^2.24.
|
|
14
|
-
"@xyo-network/archivist": "^2.24.
|
|
15
|
-
"@xyo-network/boundwitness": "^2.24.
|
|
16
|
-
"@xyo-network/core": "^2.24.
|
|
17
|
-
"@xyo-network/payload": "^2.24.
|
|
18
|
-
"@xyo-network/schema-payload-plugin": "^2.24.
|
|
19
|
-
"@xyo-network/typeof": "^2.24.
|
|
13
|
+
"@xyo-network/account": "^2.24.5",
|
|
14
|
+
"@xyo-network/archivist": "^2.24.5",
|
|
15
|
+
"@xyo-network/boundwitness": "^2.24.5",
|
|
16
|
+
"@xyo-network/core": "^2.24.5",
|
|
17
|
+
"@xyo-network/payload": "^2.24.5",
|
|
18
|
+
"@xyo-network/schema-payload-plugin": "^2.24.5",
|
|
19
|
+
"@xyo-network/typeof": "^2.24.5",
|
|
20
20
|
"axios": "^0.27.2",
|
|
21
21
|
"pako": "^2.0.4",
|
|
22
22
|
"uuid": "^8.3.2"
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
},
|
|
63
63
|
"sideEffects": false,
|
|
64
64
|
"types": "dist/esm/index.d.ts",
|
|
65
|
-
"version": "2.24.
|
|
65
|
+
"version": "2.24.5",
|
|
66
66
|
"packageManager": "yarn@3.1.1"
|
|
67
67
|
}
|
|
@@ -4,7 +4,7 @@ import { AxiosError } from 'axios'
|
|
|
4
4
|
import { XyoApiConfig } from '../../models'
|
|
5
5
|
import { XyoLocationDivinerApi } from './LocationDivinerApi'
|
|
6
6
|
import { LocationHeatmapQueryCreationRequest, locationHeatmapQuerySchema, LocationTimeRangeQueryCreationRequest, locationTimeRangeQuerySchema } from './Queries'
|
|
7
|
-
import {
|
|
7
|
+
import { LocationWitnessPayloadSchema } from './Witnesses'
|
|
8
8
|
|
|
9
9
|
const config: ApiConfig = {
|
|
10
10
|
apiDomain: process.env.LOCATION_API_DOMAIN || 'http://localhost:8082',
|
|
@@ -22,7 +22,7 @@ const getDefaultStartStopTime = () => {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
const getLocationTimeRangeQueryCreationRequest = (): LocationTimeRangeQueryCreationRequest => {
|
|
25
|
-
const query = { schema:
|
|
25
|
+
const query = { schema: LocationWitnessPayloadSchema, ...getDefaultStartStopTime() }
|
|
26
26
|
const sourceArchivist = { ...getArchiveConfig() }
|
|
27
27
|
const resultArchivist = { ...getArchiveConfig() }
|
|
28
28
|
return {
|
|
@@ -36,7 +36,7 @@ const getLocationTimeRangeQueryCreationRequest = (): LocationTimeRangeQueryCreat
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
const getLocationHeatmapQueryCreationRequest = (): LocationHeatmapQueryCreationRequest => {
|
|
39
|
-
const query = { schema:
|
|
39
|
+
const query = { schema: LocationWitnessPayloadSchema, ...getDefaultStartStopTime() }
|
|
40
40
|
const sourceArchivist = { ...getArchiveConfig() }
|
|
41
41
|
const resultArchivist = { ...getArchiveConfig() }
|
|
42
42
|
return {
|