@xyo-network/api 2.72.8 → 2.73.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.
Files changed (213) hide show
  1. package/dist/index.d.mts +192 -0
  2. package/dist/index.d.ts +192 -0
  3. package/dist/index.js +297 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +254 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +36 -23
  8. package/tsup.config.ts +16 -0
  9. package/dist/cjs/Api/Api.js +0 -13
  10. package/dist/cjs/Api/Api.js.map +0 -1
  11. package/dist/cjs/Api/index.js +0 -5
  12. package/dist/cjs/Api/index.js.map +0 -1
  13. package/dist/cjs/Base.js +0 -119
  14. package/dist/cjs/Base.js.map +0 -1
  15. package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApi.js +0 -28
  16. package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApi.js.map +0 -1
  17. package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +0 -23
  18. package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js.map +0 -1
  19. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js +0 -3
  20. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js.map +0 -1
  21. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +0 -10
  22. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js.map +0 -1
  23. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +0 -6
  24. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js.map +0 -1
  25. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +0 -10
  26. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js.map +0 -1
  27. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +0 -5
  28. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js.map +0 -1
  29. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js +0 -3
  30. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js.map +0 -1
  31. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js +0 -3
  32. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js.map +0 -1
  33. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +0 -13
  34. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuerySchema.js.map +0 -1
  35. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js +0 -3
  36. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js.map +0 -1
  37. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +0 -10
  38. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js.map +0 -1
  39. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +0 -6
  40. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js.map +0 -1
  41. package/dist/cjs/Diviner/LocationDiviner/Queries/index.js +0 -10
  42. package/dist/cjs/Diviner/LocationDiviner/Queries/index.js.map +0 -1
  43. package/dist/cjs/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +0 -5
  44. package/dist/cjs/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js.map +0 -1
  45. package/dist/cjs/Diviner/LocationDiviner/Witnesses/LocationWitness.js +0 -5
  46. package/dist/cjs/Diviner/LocationDiviner/Witnesses/LocationWitness.js.map +0 -1
  47. package/dist/cjs/Diviner/LocationDiviner/Witnesses/index.js +0 -6
  48. package/dist/cjs/Diviner/LocationDiviner/Witnesses/index.js.map +0 -1
  49. package/dist/cjs/Diviner/LocationDiviner/index.js +0 -8
  50. package/dist/cjs/Diviner/LocationDiviner/index.js.map +0 -1
  51. package/dist/cjs/Diviner/LocationDiviner/models.js +0 -3
  52. package/dist/cjs/Diviner/LocationDiviner/models.js.map +0 -1
  53. package/dist/cjs/Diviner/RemoteDivinerConfig.js +0 -5
  54. package/dist/cjs/Diviner/RemoteDivinerConfig.js.map +0 -1
  55. package/dist/cjs/Diviner/RemoteDivinerError.js +0 -14
  56. package/dist/cjs/Diviner/RemoteDivinerError.js.map +0 -1
  57. package/dist/cjs/Diviner/index.js +0 -6
  58. package/dist/cjs/Diviner/index.js.map +0 -1
  59. package/dist/cjs/Simple.js +0 -60
  60. package/dist/cjs/Simple.js.map +0 -1
  61. package/dist/cjs/Test/index.js +0 -6
  62. package/dist/cjs/Test/index.js.map +0 -1
  63. package/dist/cjs/Test/testBoundWitness.js +0 -17
  64. package/dist/cjs/Test/testBoundWitness.js.map +0 -1
  65. package/dist/cjs/Test/testPayload.js +0 -18
  66. package/dist/cjs/Test/testPayload.js.map +0 -1
  67. package/dist/cjs/WithArchive.js +0 -3
  68. package/dist/cjs/WithArchive.js.map +0 -1
  69. package/dist/cjs/index.js +0 -10
  70. package/dist/cjs/index.js.map +0 -1
  71. package/dist/cjs/models/ArchivePath.js +0 -3
  72. package/dist/cjs/models/ArchivePath.js.map +0 -1
  73. package/dist/cjs/models/index.js +0 -5
  74. package/dist/cjs/models/index.js.map +0 -1
  75. package/dist/cjs/objToQuery.js +0 -13
  76. package/dist/cjs/objToQuery.js.map +0 -1
  77. package/dist/docs.json +0 -16342
  78. package/dist/esm/Api/Api.js +0 -12
  79. package/dist/esm/Api/Api.js.map +0 -1
  80. package/dist/esm/Api/index.js +0 -2
  81. package/dist/esm/Api/index.js.map +0 -1
  82. package/dist/esm/Base.js +0 -100
  83. package/dist/esm/Base.js.map +0 -1
  84. package/dist/esm/Diviner/LocationDiviner/LocationDivinerApi.js +0 -21
  85. package/dist/esm/Diviner/LocationDiviner/LocationDivinerApi.js.map +0 -1
  86. package/dist/esm/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +0 -18
  87. package/dist/esm/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js.map +0 -1
  88. package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js +0 -2
  89. package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js.map +0 -1
  90. package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +0 -6
  91. package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js.map +0 -1
  92. package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +0 -3
  93. package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js.map +0 -1
  94. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +0 -6
  95. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js.map +0 -1
  96. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +0 -2
  97. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js.map +0 -1
  98. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js +0 -2
  99. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js.map +0 -1
  100. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js +0 -2
  101. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js.map +0 -1
  102. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +0 -9
  103. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuerySchema.js.map +0 -1
  104. package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js +0 -2
  105. package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js.map +0 -1
  106. package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +0 -6
  107. package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js.map +0 -1
  108. package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +0 -3
  109. package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js.map +0 -1
  110. package/dist/esm/Diviner/LocationDiviner/Queries/index.js +0 -7
  111. package/dist/esm/Diviner/LocationDiviner/Queries/index.js.map +0 -1
  112. package/dist/esm/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +0 -2
  113. package/dist/esm/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js.map +0 -1
  114. package/dist/esm/Diviner/LocationDiviner/Witnesses/LocationWitness.js +0 -2
  115. package/dist/esm/Diviner/LocationDiviner/Witnesses/LocationWitness.js.map +0 -1
  116. package/dist/esm/Diviner/LocationDiviner/Witnesses/index.js +0 -3
  117. package/dist/esm/Diviner/LocationDiviner/Witnesses/index.js.map +0 -1
  118. package/dist/esm/Diviner/LocationDiviner/index.js +0 -5
  119. package/dist/esm/Diviner/LocationDiviner/index.js.map +0 -1
  120. package/dist/esm/Diviner/LocationDiviner/models.js +0 -2
  121. package/dist/esm/Diviner/LocationDiviner/models.js.map +0 -1
  122. package/dist/esm/Diviner/RemoteDivinerConfig.js +0 -2
  123. package/dist/esm/Diviner/RemoteDivinerConfig.js.map +0 -1
  124. package/dist/esm/Diviner/RemoteDivinerError.js +0 -10
  125. package/dist/esm/Diviner/RemoteDivinerError.js.map +0 -1
  126. package/dist/esm/Diviner/index.js +0 -3
  127. package/dist/esm/Diviner/index.js.map +0 -1
  128. package/dist/esm/Simple.js +0 -45
  129. package/dist/esm/Simple.js.map +0 -1
  130. package/dist/esm/Test/index.js +0 -3
  131. package/dist/esm/Test/index.js.map +0 -1
  132. package/dist/esm/Test/testBoundWitness.js +0 -14
  133. package/dist/esm/Test/testBoundWitness.js.map +0 -1
  134. package/dist/esm/Test/testPayload.js +0 -14
  135. package/dist/esm/Test/testPayload.js.map +0 -1
  136. package/dist/esm/WithArchive.js +0 -2
  137. package/dist/esm/WithArchive.js.map +0 -1
  138. package/dist/esm/index.js +0 -7
  139. package/dist/esm/index.js.map +0 -1
  140. package/dist/esm/models/ArchivePath.js +0 -2
  141. package/dist/esm/models/ArchivePath.js.map +0 -1
  142. package/dist/esm/models/index.js +0 -2
  143. package/dist/esm/models/index.js.map +0 -1
  144. package/dist/esm/objToQuery.js +0 -9
  145. package/dist/esm/objToQuery.js.map +0 -1
  146. package/dist/types/Api/Api.d.ts +0 -12
  147. package/dist/types/Api/Api.d.ts.map +0 -1
  148. package/dist/types/Api/index.d.ts +0 -2
  149. package/dist/types/Api/index.d.ts.map +0 -1
  150. package/dist/types/Base.d.ts +0 -32
  151. package/dist/types/Base.d.ts.map +0 -1
  152. package/dist/types/Diviner/LocationDiviner/LocationDivinerApi.d.ts +0 -12
  153. package/dist/types/Diviner/LocationDiviner/LocationDivinerApi.d.ts.map +0 -1
  154. package/dist/types/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +0 -10
  155. package/dist/types/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts.map +0 -1
  156. package/dist/types/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +0 -5
  157. package/dist/types/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts.map +0 -1
  158. package/dist/types/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +0 -12
  159. package/dist/types/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +0 -1
  160. package/dist/types/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +0 -3
  161. package/dist/types/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts.map +0 -1
  162. package/dist/types/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +0 -12
  163. package/dist/types/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +0 -1
  164. package/dist/types/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +0 -2
  165. package/dist/types/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts.map +0 -1
  166. package/dist/types/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +0 -18
  167. package/dist/types/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +0 -1
  168. package/dist/types/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +0 -5
  169. package/dist/types/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts.map +0 -1
  170. package/dist/types/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +0 -6
  171. package/dist/types/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts.map +0 -1
  172. package/dist/types/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +0 -8
  173. package/dist/types/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +0 -1
  174. package/dist/types/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +0 -12
  175. package/dist/types/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +0 -1
  176. package/dist/types/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +0 -3
  177. package/dist/types/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts.map +0 -1
  178. package/dist/types/Diviner/LocationDiviner/Queries/index.d.ts +0 -7
  179. package/dist/types/Diviner/LocationDiviner/Queries/index.d.ts.map +0 -1
  180. package/dist/types/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +0 -13
  181. package/dist/types/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts.map +0 -1
  182. package/dist/types/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +0 -21
  183. package/dist/types/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts.map +0 -1
  184. package/dist/types/Diviner/LocationDiviner/Witnesses/index.d.ts +0 -3
  185. package/dist/types/Diviner/LocationDiviner/Witnesses/index.d.ts.map +0 -1
  186. package/dist/types/Diviner/LocationDiviner/index.d.ts +0 -5
  187. package/dist/types/Diviner/LocationDiviner/index.d.ts.map +0 -1
  188. package/dist/types/Diviner/LocationDiviner/models.d.ts +0 -5
  189. package/dist/types/Diviner/LocationDiviner/models.d.ts.map +0 -1
  190. package/dist/types/Diviner/RemoteDivinerConfig.d.ts +0 -11
  191. package/dist/types/Diviner/RemoteDivinerConfig.d.ts.map +0 -1
  192. package/dist/types/Diviner/RemoteDivinerError.d.ts +0 -6
  193. package/dist/types/Diviner/RemoteDivinerError.d.ts.map +0 -1
  194. package/dist/types/Diviner/index.d.ts +0 -3
  195. package/dist/types/Diviner/index.d.ts.map +0 -1
  196. package/dist/types/Simple.d.ts +0 -22
  197. package/dist/types/Simple.d.ts.map +0 -1
  198. package/dist/types/Test/index.d.ts +0 -3
  199. package/dist/types/Test/index.d.ts.map +0 -1
  200. package/dist/types/Test/testBoundWitness.d.ts +0 -4
  201. package/dist/types/Test/testBoundWitness.d.ts.map +0 -1
  202. package/dist/types/Test/testPayload.d.ts +0 -6
  203. package/dist/types/Test/testPayload.d.ts.map +0 -1
  204. package/dist/types/WithArchive.d.ts +0 -4
  205. package/dist/types/WithArchive.d.ts.map +0 -1
  206. package/dist/types/index.d.ts +0 -7
  207. package/dist/types/index.d.ts.map +0 -1
  208. package/dist/types/models/ArchivePath.d.ts +0 -4
  209. package/dist/types/models/ArchivePath.d.ts.map +0 -1
  210. package/dist/types/models/index.d.ts +0 -2
  211. package/dist/types/models/index.d.ts.map +0 -1
  212. package/dist/types/objToQuery.d.ts +0 -2
  213. package/dist/types/objToQuery.d.ts.map +0 -1
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LocationDivinerApi = void 0;
4
- const tslib_1 = require("tslib");
5
- const axios_1 = require("@xyo-network/axios");
6
- const LocationDivinerApiResponseTransformer_1 = require("./LocationDivinerApiResponseTransformer");
7
- class LocationDivinerApi {
8
- constructor(config) {
9
- this.config = config;
10
- }
11
- get axiosRequestConfig() {
12
- return {
13
- transformResponse: (0, LocationDivinerApiResponseTransformer_1.getLocationDivinerApiResponseTransformer)(),
14
- };
15
- }
16
- getLocationQuery(hash) {
17
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
18
- return (yield axios_1.axios.get(`${this.config.apiDomain}/location/query/${hash}`, this.axiosRequestConfig)).data;
19
- });
20
- }
21
- postLocationQuery(request) {
22
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
23
- return (yield axios_1.axios.post(`${this.config.apiDomain}/location/query`, Object.assign({}, request), this.axiosRequestConfig)).data;
24
- });
25
- }
26
- }
27
- exports.LocationDivinerApi = LocationDivinerApi;
28
- //# sourceMappingURL=LocationDivinerApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocationDivinerApi.js","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApi.ts"],"names":[],"mappings":";;;;AACA,8CAAiE;AAEjE,mGAAkG;AAIlG,MAAM,kBAAkB;IAEtB,YAAY,MAAiB;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED,IAAY,kBAAkB;QAC5B,OAAO;YACL,iBAAiB,EAAE,IAAA,gFAAwC,GAAE;SAC9D,CAAA;IACH,CAAC;IAEK,gBAAgB,CAAC,IAAY;;YACjC,OAAO,CAAC,MAAM,aAAK,CAAC,GAAG,CAA2B,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,mBAAmB,IAAI,EAAE,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI,CAAA;QACrI,CAAC;KAAA;IAEK,iBAAiB,CAAC,OAA8C;;YACpE,OAAO,CAAC,MAAM,aAAK,CAAC,IAAI,CAAgC,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,iBAAiB,oBAAO,OAAO,GAAI,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI,CAAA;QACnJ,CAAC;KAAA;CACF;AAEQ,gDAAkB"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getLocationDivinerApiResponseTransformer = exports.locationDivinerApiResponseTransformer = void 0;
4
- const axios_1 = require("@xyo-network/axios");
5
- const locationDivinerApiResponseTransformer = (data, _headers) => {
6
- return data.data;
7
- };
8
- exports.locationDivinerApiResponseTransformer = locationDivinerApiResponseTransformer;
9
- /**
10
- * Gets the response transformers for the LocationDiviner API. Done as a method instead of a property
11
- * to allow detection of dynamically added response transformers.
12
- * @param axiosInstance The axios instance (defaults to the global instance if none provided)
13
- * @returns the response transformers for the LocationDiviner API
14
- */
15
- const getLocationDivinerApiResponseTransformer = (axiosInstance = axios_1.axios) => {
16
- // If there's any existing response transforms preserve them and
17
- // append our response transform, otherwise just return ours
18
- return axiosInstance.defaults.transformResponse
19
- ? [].concat(axiosInstance.defaults.transformResponse, exports.locationDivinerApiResponseTransformer)
20
- : [exports.locationDivinerApiResponseTransformer];
21
- };
22
- exports.getLocationDivinerApiResponseTransformer = getLocationDivinerApiResponseTransformer;
23
- //# sourceMappingURL=LocationDivinerApiResponseTransformer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocationDivinerApiResponseTransformer.js","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts"],"names":[],"mappings":";;;AAAA,8CAAoE;AAE7D,MAAM,qCAAqC,GAA6B,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE;IAChG,OAAO,IAAI,CAAC,IAAI,CAAA;AAClB,CAAC,CAAA;AAFY,QAAA,qCAAqC,yCAEjD;AAED;;;;;GAKG;AACI,MAAM,wCAAwC,GAAG,CAAC,aAAa,GAAG,aAAK,EAA8B,EAAE;IAC5G,gEAAgE;IAChE,4DAA4D;IAC5D,OAAO,aAAa,CAAC,QAAQ,CAAC,iBAAiB;QAC7C,CAAC,CAAE,EAAiC,CAAC,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,iBAAiB,EAAE,6CAAqC,CAAC;QAC5H,CAAC,CAAC,CAAC,6CAAqC,CAAC,CAAA;AAC7C,CAAC,CAAA;AANY,QAAA,wCAAwC,4CAMpD"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=LocationHeatmapPointProperties.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocationHeatmapPointProperties.js","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isLocationHeatmapQuery = exports.locationHeatmapAnswerSchema = exports.locationHeatmapQuerySchema = void 0;
4
- exports.locationHeatmapQuerySchema = 'network.xyo.location.heatmap.query';
5
- exports.locationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer';
6
- const isLocationHeatmapQuery = (query) => {
7
- return query && (query === null || query === void 0 ? void 0 : query.schema) === exports.locationHeatmapQuerySchema;
8
- };
9
- exports.isLocationHeatmapQuery = isLocationHeatmapQuery;
10
- //# sourceMappingURL=LocationHeatmapQuery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocationHeatmapQuery.js","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts"],"names":[],"mappings":";;;AAGa,QAAA,0BAA0B,GAA+B,oCAAoC,CAAA;AAG7F,QAAA,2BAA2B,GAAgC,qCAAqC,CAAA;AAQtG,MAAM,sBAAsB,GAAG,CAAC,KAA8B,EAAiC,EAAE;IACtG,OAAO,KAAK,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,MAAK,kCAA0B,CAAA;AAC9D,CAAC,CAAA;AAFY,QAAA,sBAAsB,0BAElC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./LocationHeatmapPointProperties"), exports);
5
- tslib_1.__exportStar(require("./LocationHeatmapQuery"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.ts"],"names":[],"mappings":";;;AAAA,2EAAgD;AAChD,iEAAsC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isLocationQuadkeyHeatmapQuery = exports.locationQuadkeyHeatmapAnswerSchema = exports.locationQuadkeyHeatmapQuerySchema = void 0;
4
- exports.locationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query';
5
- exports.locationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer';
6
- const isLocationQuadkeyHeatmapQuery = (query) => {
7
- return query && (query === null || query === void 0 ? void 0 : query.schema) === exports.locationQuadkeyHeatmapQuerySchema;
8
- };
9
- exports.isLocationQuadkeyHeatmapQuery = isLocationQuadkeyHeatmapQuery;
10
- //# sourceMappingURL=LocationQuadkeyHeatmapQuery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocationQuadkeyHeatmapQuery.js","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts"],"names":[],"mappings":";;;AAGa,QAAA,iCAAiC,GAAsC,4CAA4C,CAAA;AAEnH,QAAA,kCAAkC,GAAuC,6CAA6C,CAAA;AAO5H,MAAM,6BAA6B,GAAG,CAAC,KAA8B,EAAwC,EAAE;IACpH,OAAO,KAAK,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,MAAK,yCAAiC,CAAA;AACrE,CAAC,CAAA;AAFY,QAAA,6BAA6B,iCAEzC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./LocationQuadkeyHeatmapQuery"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.ts"],"names":[],"mappings":";;;AAAA,wEAA6C"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=LocationQueryCreationRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocationQueryCreationRequest.js","sourceRoot":"","sources":["../../../../../src/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=LocationQueryCreationResponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocationQueryCreationResponse.js","sourceRoot":"","sources":["../../../../../src/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isSupportedLocationQuerySchema = void 0;
4
- const locationQuerySchemas = {
5
- 'network.xyo.location.heatmap.quadkey.query': true,
6
- 'network.xyo.location.heatmap.query': true,
7
- 'network.xyo.location.range.query': true,
8
- };
9
- const isSupportedLocationQuerySchema = (schema) => {
10
- return locationQuerySchemas[schema] || false;
11
- };
12
- exports.isSupportedLocationQuerySchema = isSupportedLocationQuerySchema;
13
- //# sourceMappingURL=LocationQuerySchema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocationQuerySchema.js","sourceRoot":"","sources":["../../../../../src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts"],"names":[],"mappings":";;;AAMA,MAAM,oBAAoB,GAAsC;IAC9D,4CAA4C,EAAE,IAAI;IAClD,oCAAoC,EAAE,IAAI;IAC1C,kCAAkC,EAAE,IAAI;CACzC,CAAA;AAEM,MAAM,8BAA8B,GAAG,CAAC,MAAc,EAAiC,EAAE;IAC9F,OAAO,oBAAoB,CAAC,MAA6B,CAAC,IAAI,KAAK,CAAA;AACrE,CAAC,CAAA;AAFY,QAAA,8BAA8B,kCAE1C"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=LocationTimeRangePointProperties.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocationTimeRangePointProperties.js","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isLocationTimeRangeQuery = exports.LocationTimeRangeAnswerSchema = exports.LocationTimeRangeQuerySchema = void 0;
4
- exports.LocationTimeRangeQuerySchema = 'network.xyo.location.range.query';
5
- exports.LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer';
6
- const isLocationTimeRangeQuery = (query) => {
7
- return query && (query === null || query === void 0 ? void 0 : query.schema) === exports.LocationTimeRangeAnswerSchema;
8
- };
9
- exports.isLocationTimeRangeQuery = isLocationTimeRangeQuery;
10
- //# sourceMappingURL=LocationTimeRangeQuery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocationTimeRangeQuery.js","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts"],"names":[],"mappings":";;;AAGa,QAAA,4BAA4B,GAAiC,kCAAkC,CAAA;AAG/F,QAAA,6BAA6B,GAAkC,mCAAmC,CAAA;AAUxG,MAAM,wBAAwB,GAAG,CAAC,KAA8B,EAAmC,EAAE;IAC1G,OAAO,KAAK,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,MAAK,qCAA6B,CAAA;AACjE,CAAC,CAAA;AAFY,QAAA,wBAAwB,4BAEpC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./LocationTimeRangePointProperties"), exports);
5
- tslib_1.__exportStar(require("./LocationTimeRangeQuery"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.ts"],"names":[],"mappings":";;;AAAA,6EAAkD;AAClD,mEAAwC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./LocationHeatmapQuery"), exports);
5
- tslib_1.__exportStar(require("./LocationQuadkeyHeatmapQuery"), exports);
6
- tslib_1.__exportStar(require("./LocationQueryCreationRequest"), exports);
7
- tslib_1.__exportStar(require("./LocationQueryCreationResponse"), exports);
8
- tslib_1.__exportStar(require("./LocationQuerySchema"), exports);
9
- tslib_1.__exportStar(require("./LocationTimeRangeQuery"), exports);
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Diviner/LocationDiviner/Queries/index.ts"],"names":[],"mappings":";;;AAAA,iEAAsC;AACtC,wEAA6C;AAC7C,yEAA8C;AAC9C,0EAA+C;AAC/C,gEAAqC;AACrC,mEAAwC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CurrentLocationWitnessSchema = void 0;
4
- exports.CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness';
5
- //# sourceMappingURL=CurrentLocationWitness.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrentLocationWitness.js","sourceRoot":"","sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts"],"names":[],"mappings":";;;AAGa,QAAA,4BAA4B,GAAiC,mCAAmC,CAAA"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LocationWitnessSchema = void 0;
4
- exports.LocationWitnessSchema = 'network.xyo.location';
5
- //# sourceMappingURL=LocationWitness.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocationWitness.js","sourceRoot":"","sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts"],"names":[],"mappings":";;;AAGa,QAAA,qBAAqB,GAA0B,sBAAsB,CAAA"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./CurrentLocationWitness"), exports);
5
- tslib_1.__exportStar(require("./LocationWitness"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Diviner/LocationDiviner/Witnesses/index.ts"],"names":[],"mappings":";;;AAAA,mEAAwC;AACxC,4DAAiC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./LocationDivinerApi"), exports);
5
- tslib_1.__exportStar(require("./models"), exports);
6
- tslib_1.__exportStar(require("./Queries"), exports);
7
- tslib_1.__exportStar(require("./Witnesses"), exports);
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/index.ts"],"names":[],"mappings":";;;AAAA,+DAAoC;AACpC,mDAAwB;AACxB,oDAAyB;AACzB,sDAA2B"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=models.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/models.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RemoteDivinerConfigSchema = void 0;
4
- exports.RemoteDivinerConfigSchema = 'network.xyo.diviner.remote.config';
5
- //# sourceMappingURL=RemoteDivinerConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RemoteDivinerConfig.js","sourceRoot":"","sources":["../../../src/Diviner/RemoteDivinerConfig.ts"],"names":[],"mappings":";;;AAKa,QAAA,yBAAyB,GAA8B,mCAAmC,CAAA"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RemoteDivinerError = void 0;
4
- class RemoteDivinerError extends Error {
5
- constructor(action, error, message) {
6
- super(`Remote Diviner [${action}] failed${message ? ` (${message})` : ''}`, { cause: error });
7
- this.isRemoteDivinerError = true;
8
- }
9
- static isRemoteDivinerError(error) {
10
- return error.isRemoteDivinerError ? error : undefined;
11
- }
12
- }
13
- exports.RemoteDivinerError = RemoteDivinerError;
14
- //# sourceMappingURL=RemoteDivinerError.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RemoteDivinerError.js","sourceRoot":"","sources":["../../../src/Diviner/RemoteDivinerError.ts"],"names":[],"mappings":";;;AAAA,MAAa,kBAAmB,SAAQ,KAAK;IAE3C,YAAY,MAAc,EAAE,KAAqB,EAAE,OAAgB;QACjE,KAAK,CAAC,mBAAmB,MAAM,WAAW,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAA;QAF/F,yBAAoB,GAAG,IAAI,CAAA;IAG3B,CAAC;IACD,MAAM,CAAC,oBAAoB,CAAC,KAAc;QACxC,OAAQ,KAA4B,CAAC,oBAAoB,CAAC,CAAC,CAAE,KAA4B,CAAC,CAAC,CAAC,SAAS,CAAA;IACvG,CAAC;CACF;AARD,gDAQC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./LocationDiviner"), exports);
5
- tslib_1.__exportStar(require("./RemoteDivinerConfig"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Diviner/index.ts"],"names":[],"mappings":";;;AAAA,4DAAiC;AACjC,gEAAqC"}
@@ -1,60 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApiSimple = void 0;
4
- const tslib_1 = require("tslib");
5
- const Base_1 = require("./Base");
6
- const objToQuery_1 = require("./objToQuery");
7
- class ApiSimple extends Base_1.ApiBase {
8
- delete(responseType) {
9
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
10
- switch (responseType) {
11
- case 'tuple':
12
- return yield this.deleteEndpoint(undefined, 'tuple');
13
- default:
14
- return yield this.deleteEndpoint(undefined);
15
- }
16
- });
17
- }
18
- find(query = {}, responseType) {
19
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
20
- switch (responseType) {
21
- case 'tuple':
22
- return yield this.getEndpoint((0, objToQuery_1.objToQuery)(query), 'tuple');
23
- default:
24
- return yield this.getEndpoint((0, objToQuery_1.objToQuery)(query));
25
- }
26
- });
27
- }
28
- get(responseType) {
29
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
30
- switch (responseType) {
31
- case 'tuple':
32
- return yield this.getEndpoint(undefined, 'tuple');
33
- default:
34
- return yield this.getEndpoint(undefined);
35
- }
36
- });
37
- }
38
- post(data, responseType) {
39
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
40
- switch (responseType) {
41
- case 'tuple':
42
- return yield this.postEndpoint(undefined, data, 'tuple');
43
- default:
44
- return yield this.postEndpoint(undefined, data);
45
- }
46
- });
47
- }
48
- put(data, responseType) {
49
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
50
- switch (responseType) {
51
- case 'tuple':
52
- return yield this.putEndpoint(undefined, data, 'tuple');
53
- default:
54
- return yield this.putEndpoint(undefined, data);
55
- }
56
- });
57
- }
58
- }
59
- exports.ApiSimple = ApiSimple;
60
- //# sourceMappingURL=Simple.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Simple.js","sourceRoot":"","sources":["../../src/Simple.ts"],"names":[],"mappings":";;;;AAGA,iCAAgC;AAChC,6CAAyC;AAIzC,MAAa,SAA0G,SAAQ,cAAU;IAIjI,MAAM,CAAC,YAA8B;;YACzC,QAAQ,YAAY,EAAE;gBACpB,KAAK,OAAO;oBACV,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;gBACtD;oBACE,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,CAAA;aAC9C;QACH,CAAC;KAAA;IAKK,IAAI,CAAC,KAAK,GAAG,EAAE,EAAE,YAA8B;;YACnD,QAAQ,YAAY,EAAE;gBACpB,KAAK,OAAO;oBACV,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,IAAA,uBAAU,EAAC,KAAK,CAAC,EAAE,OAAO,CAAC,CAAA;gBAC3D;oBACE,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,IAAA,uBAAU,EAAC,KAAK,CAAC,CAAC,CAAA;aACnD;QACH,CAAC;KAAA;IAKK,GAAG,CAAC,YAA8B;;YACtC,QAAQ,YAAY,EAAE;gBACpB,KAAK,OAAO;oBACV,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;gBACnD;oBACE,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAA;aAC3C;QACH,CAAC;KAAA;IAKK,IAAI,CAAC,IAAQ,EAAE,YAA8B;;YACjD,QAAQ,YAAY,EAAE;gBACpB,KAAK,OAAO;oBACV,OAAO,MAAM,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;gBAC1D;oBACE,OAAO,MAAM,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,CAAA;aAClD;QACH,CAAC;KAAA;IAKK,GAAG,CAAC,IAAQ,EAAE,YAA8B;;YAChD,QAAQ,YAAY,EAAE;gBACpB,KAAK,OAAO;oBACV,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;gBACzD;oBACE,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,IAAI,CAAC,CAAA;aACjD;QACH,CAAC;KAAA;CACF;AA5DD,8BA4DC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./testBoundWitness"), exports);
5
- tslib_1.__exportStar(require("./testPayload"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Test/index.ts"],"names":[],"mappings":";;;AAAA,6DAAkC;AAClC,wDAA6B"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.testBoundWitness = void 0;
4
- const boundwitness_model_1 = require("@xyo-network/boundwitness-model");
5
- const testBoundWitness = {
6
- _client: 'js',
7
- _hash: 'b0ffb9ebf872dc316b7be48327256c5316f7cb84d7c706861b18b86af1942dea',
8
- _signatures: ['95100e5fd2012b958e96895870cfac5353c3a33a19314cfd1304ef7d01d052ec2a3ef80d6449cf88d463027fe0d868ed8cfb8b7323d37e93a08570233eea0b17'],
9
- _timestamp: 1650067385598,
10
- addresses: ['5346a2ce56ec4177b67092bda710e150ba6fa046'],
11
- payload_hashes: ['20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c'],
12
- payload_schemas: ['network.xyo.test'],
13
- previous_hashes: [null],
14
- schema: boundwitness_model_1.BoundWitnessSchema,
15
- };
16
- exports.testBoundWitness = testBoundWitness;
17
- //# sourceMappingURL=testBoundWitness.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"testBoundWitness.js","sourceRoot":"","sources":["../../../src/Test/testBoundWitness.ts"],"names":[],"mappings":";;;AAAA,wEAAkF;AAElF,MAAM,gBAAgB,GAAiB;IACrC,OAAO,EAAE,IAAI;IACb,KAAK,EAAE,kEAAkE;IACzE,WAAW,EAAE,CAAC,kIAAkI,CAAC;IACjJ,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,CAAC,0CAA0C,CAAC;IACvD,cAAc,EAAE,CAAC,kEAAkE,CAAC;IACpF,eAAe,EAAE,CAAC,kBAAkB,CAAC;IACrC,eAAe,EAAE,CAAC,IAAI,CAAC;IACvB,MAAM,EAAE,uCAAkB;CACX,CAAA;AAER,4CAAgB"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.testSchema = exports.testPayload = void 0;
4
- const testSchema = 'network.xyo.test';
5
- exports.testSchema = testSchema;
6
- const testPayload = {
7
- _hash: '20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c',
8
- _timestamp: 1609459255555,
9
- numberField: 1,
10
- objectField: {
11
- numberField: 1,
12
- stringField: 'stringValue',
13
- },
14
- schema: testSchema,
15
- stringField: 'stringValue',
16
- };
17
- exports.testPayload = testPayload;
18
- //# sourceMappingURL=testPayload.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"testPayload.js","sourceRoot":"","sources":["../../../src/Test/testPayload.ts"],"names":[],"mappings":";;;AAGA,MAAM,UAAU,GAAG,kBAAkB,CAAA;AAaf,gCAAU;AAZhC,MAAM,WAAW,GAA6B;IAC5C,KAAK,EAAE,kEAAkE;IACzE,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE,CAAC;IACd,WAAW,EAAE;QACX,WAAW,EAAE,CAAC;QACd,WAAW,EAAE,aAAa;KAC3B;IACD,MAAM,EAAE,UAAU;IAClB,WAAW,EAAE,aAAa;CAC3B,CAAA;AAEQ,kCAAW"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=WithArchive.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithArchive.js","sourceRoot":"","sources":["../../src/WithArchive.ts"],"names":[],"mappings":""}
package/dist/cjs/index.js DELETED
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Api"), exports);
5
- tslib_1.__exportStar(require("./Base"), exports);
6
- tslib_1.__exportStar(require("./Diviner"), exports);
7
- tslib_1.__exportStar(require("./models"), exports);
8
- tslib_1.__exportStar(require("./Simple"), exports);
9
- tslib_1.__exportStar(require("./WithArchive"), exports);
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,gDAAqB;AACrB,iDAAsB;AACtB,oDAAyB;AACzB,mDAAwB;AACxB,mDAAwB;AACxB,wDAA6B"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ArchivePath.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArchivePath.js","sourceRoot":"","sources":["../../../src/models/ArchivePath.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./ArchivePath"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";;;AAAA,wDAA6B"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.objToQuery = void 0;
4
- const objToQuery = (obj) => {
5
- return `?${Object.entries(obj)
6
- .map(([key, value]) => {
7
- return `${key}=${value}`;
8
- })
9
- .filter((value) => value !== undefined)
10
- .join('&')}`;
11
- };
12
- exports.objToQuery = objToQuery;
13
- //# sourceMappingURL=objToQuery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"objToQuery.js","sourceRoot":"","sources":["../../src/objToQuery.ts"],"names":[],"mappings":";;;AAAO,MAAM,UAAU,GAAG,CAAC,GAAgD,EAAE,EAAE;IAC7E,OAAO,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC;SAC3B,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACpB,OAAO,GAAG,GAAG,IAAI,KAAK,EAAE,CAAA;IAC1B,CAAC,CAAC;SACD,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC;SACtC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAA;AAChB,CAAC,CAAA;AAPY,QAAA,UAAU,cAOtB"}