@xyo-network/api 2.75.14 → 2.75.16
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 +364 -364
- package/package.json +13 -13
- package/dist/browser/Api/Api.cjs +0 -188
- package/dist/browser/Api/Api.cjs.map +0 -1
- package/dist/browser/Api/Api.js +0 -167
- package/dist/browser/Api/Api.js.map +0 -1
- package/dist/browser/Api/index.cjs +0 -190
- package/dist/browser/Api/index.cjs.map +0 -1
- package/dist/browser/Api/index.js +0 -167
- package/dist/browser/Api/index.js.map +0 -1
- package/dist/browser/Base.cjs +0 -123
- package/dist/browser/Base.cjs.map +0 -1
- package/dist/browser/Base.js +0 -102
- package/dist/browser/Base.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.cjs +0 -55
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.js +0 -34
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.cjs +0 -34
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +0 -13
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.cjs +0 -19
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.cjs +0 -33
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.cjs +0 -35
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.cjs +0 -33
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.cjs +0 -35
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.cjs +0 -19
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.cjs +0 -19
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.cjs +0 -34
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +0 -13
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.cjs +0 -19
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.cjs +0 -33
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.cjs +0 -35
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/index.cjs +0 -66
- package/dist/browser/Diviner/LocationDiviner/Queries/index.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/index.js +0 -43
- package/dist/browser/Diviner/LocationDiviner/Queries/index.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.cjs +0 -27
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +0 -6
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.cjs +0 -27
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.js +0 -6
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.cjs +0 -33
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.js +0 -10
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/index.cjs +0 -106
- package/dist/browser/Diviner/LocationDiviner/index.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/index.js +0 -83
- package/dist/browser/Diviner/LocationDiviner/index.js.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/models.cjs +0 -19
- package/dist/browser/Diviner/LocationDiviner/models.cjs.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/models.js +0 -1
- package/dist/browser/Diviner/LocationDiviner/models.js.map +0 -1
- package/dist/browser/Diviner/RemoteDivinerConfig.cjs +0 -27
- package/dist/browser/Diviner/RemoteDivinerConfig.cjs.map +0 -1
- package/dist/browser/Diviner/RemoteDivinerConfig.js +0 -6
- package/dist/browser/Diviner/RemoteDivinerConfig.js.map +0 -1
- package/dist/browser/Diviner/RemoteDivinerError.cjs +0 -35
- package/dist/browser/Diviner/RemoteDivinerError.cjs.map +0 -1
- package/dist/browser/Diviner/RemoteDivinerError.js +0 -14
- package/dist/browser/Diviner/RemoteDivinerError.js.map +0 -1
- package/dist/browser/Diviner/index.cjs +0 -110
- package/dist/browser/Diviner/index.cjs.map +0 -1
- package/dist/browser/Diviner/index.js +0 -87
- package/dist/browser/Diviner/index.js.map +0 -1
- package/dist/browser/Simple.cjs +0 -176
- package/dist/browser/Simple.cjs.map +0 -1
- package/dist/browser/Simple.js +0 -153
- package/dist/browser/Simple.js.map +0 -1
- package/dist/browser/Test/index.cjs +0 -56
- package/dist/browser/Test/index.cjs.map +0 -1
- package/dist/browser/Test/index.js +0 -33
- package/dist/browser/Test/index.js.map +0 -1
- package/dist/browser/Test/testBoundWitness.cjs +0 -38
- package/dist/browser/Test/testBoundWitness.cjs.map +0 -1
- package/dist/browser/Test/testBoundWitness.js +0 -17
- package/dist/browser/Test/testBoundWitness.js.map +0 -1
- package/dist/browser/Test/testPayload.cjs +0 -39
- package/dist/browser/Test/testPayload.cjs.map +0 -1
- package/dist/browser/Test/testPayload.js +0 -18
- package/dist/browser/Test/testPayload.js.map +0 -1
- package/dist/browser/WithArchive.cjs +0 -19
- package/dist/browser/WithArchive.cjs.map +0 -1
- package/dist/browser/WithArchive.js +0 -1
- package/dist/browser/WithArchive.js.map +0 -1
- package/dist/browser/models/ArchivePath.cjs +0 -19
- package/dist/browser/models/ArchivePath.cjs.map +0 -1
- package/dist/browser/models/ArchivePath.js +0 -1
- package/dist/browser/models/ArchivePath.js.map +0 -1
- package/dist/browser/models/index.cjs +0 -19
- package/dist/browser/models/index.cjs.map +0 -1
- package/dist/browser/models/index.js +0 -1
- package/dist/browser/models/index.js.map +0 -1
- package/dist/browser/objToQuery.cjs +0 -31
- package/dist/browser/objToQuery.cjs.map +0 -1
- package/dist/browser/objToQuery.js +0 -10
- package/dist/browser/objToQuery.js.map +0 -1
- package/dist/node/Api/Api.js +0 -196
- package/dist/node/Api/Api.js.map +0 -1
- package/dist/node/Api/Api.mjs +0 -171
- package/dist/node/Api/Api.mjs.map +0 -1
- package/dist/node/Api/index.js +0 -198
- package/dist/node/Api/index.js.map +0 -1
- package/dist/node/Api/index.mjs +0 -171
- package/dist/node/Api/index.mjs.map +0 -1
- package/dist/node/Base.js +0 -131
- package/dist/node/Base.js.map +0 -1
- package/dist/node/Base.mjs +0 -106
- package/dist/node/Base.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.js +0 -59
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.mjs +0 -34
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +0 -39
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.mjs +0 -13
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js +0 -19
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.mjs +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +0 -39
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.mjs +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +0 -41
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.mjs +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +0 -39
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.mjs +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +0 -41
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.mjs +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js +0 -19
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.mjs +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js +0 -19
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.mjs +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +0 -38
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.mjs +0 -13
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js +0 -19
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.mjs +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +0 -39
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.mjs +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +0 -41
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.mjs +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/index.js +0 -79
- package/dist/node/Diviner/LocationDiviner/Queries/index.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/index.mjs +0 -43
- package/dist/node/Diviner/LocationDiviner/Queries/index.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +0 -31
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.mjs +0 -6
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.js +0 -31
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.mjs +0 -6
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.js +0 -38
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.mjs +0 -10
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/index.js +0 -122
- package/dist/node/Diviner/LocationDiviner/index.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/index.mjs +0 -83
- package/dist/node/Diviner/LocationDiviner/index.mjs.map +0 -1
- package/dist/node/Diviner/LocationDiviner/models.js +0 -19
- package/dist/node/Diviner/LocationDiviner/models.js.map +0 -1
- package/dist/node/Diviner/LocationDiviner/models.mjs +0 -1
- package/dist/node/Diviner/LocationDiviner/models.mjs.map +0 -1
- package/dist/node/Diviner/RemoteDivinerConfig.js +0 -31
- package/dist/node/Diviner/RemoteDivinerConfig.js.map +0 -1
- package/dist/node/Diviner/RemoteDivinerConfig.mjs +0 -6
- package/dist/node/Diviner/RemoteDivinerConfig.mjs.map +0 -1
- package/dist/node/Diviner/RemoteDivinerError.js +0 -39
- package/dist/node/Diviner/RemoteDivinerError.js.map +0 -1
- package/dist/node/Diviner/RemoteDivinerError.mjs +0 -14
- package/dist/node/Diviner/RemoteDivinerError.mjs.map +0 -1
- package/dist/node/Diviner/index.js +0 -127
- package/dist/node/Diviner/index.js.map +0 -1
- package/dist/node/Diviner/index.mjs +0 -87
- package/dist/node/Diviner/index.mjs.map +0 -1
- package/dist/node/Simple.js +0 -184
- package/dist/node/Simple.js.map +0 -1
- package/dist/node/Simple.mjs +0 -157
- package/dist/node/Simple.mjs.map +0 -1
- package/dist/node/Test/index.js +0 -62
- package/dist/node/Test/index.js.map +0 -1
- package/dist/node/Test/index.mjs +0 -33
- package/dist/node/Test/index.mjs.map +0 -1
- package/dist/node/Test/testBoundWitness.js +0 -42
- package/dist/node/Test/testBoundWitness.js.map +0 -1
- package/dist/node/Test/testBoundWitness.mjs +0 -17
- package/dist/node/Test/testBoundWitness.mjs.map +0 -1
- package/dist/node/Test/testPayload.js +0 -44
- package/dist/node/Test/testPayload.js.map +0 -1
- package/dist/node/Test/testPayload.mjs +0 -18
- package/dist/node/Test/testPayload.mjs.map +0 -1
- package/dist/node/WithArchive.js +0 -19
- package/dist/node/WithArchive.js.map +0 -1
- package/dist/node/WithArchive.mjs +0 -1
- package/dist/node/WithArchive.mjs.map +0 -1
- package/dist/node/models/ArchivePath.js +0 -19
- package/dist/node/models/ArchivePath.js.map +0 -1
- package/dist/node/models/ArchivePath.mjs +0 -1
- package/dist/node/models/ArchivePath.mjs.map +0 -1
- package/dist/node/models/index.js +0 -19
- package/dist/node/models/index.js.map +0 -1
- package/dist/node/models/index.mjs +0 -1
- package/dist/node/models/index.mjs.map +0 -1
- package/dist/node/objToQuery.js +0 -35
- package/dist/node/objToQuery.js.map +0 -1
- package/dist/node/objToQuery.mjs +0 -10
- package/dist/node/objToQuery.mjs.map +0 -1
package/dist/node/Simple.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Base.ts","../../src/objToQuery.ts","../../src/Simple.ts"],"sourcesContent":["import {\n ApiConfig,\n ApiEnvelope,\n ApiError,\n ApiReportable,\n ApiResponse,\n ApiResponseBody,\n ApiResponseTuple,\n ApiResponseTupleOrBody,\n ApiResponseType,\n} from '@xyo-network/api-models'\nimport { AxiosJson } from '@xyo-network/axios'\n\nexport class ApiBase<C extends ApiConfig = ApiConfig> implements ApiReportable {\n readonly config: C\n protected axios: AxiosJson\n\n constructor(config: C) {\n this.config = config\n this.axios = new AxiosJson({ ...this.config, headers: this.headers })\n }\n\n get authenticated() {\n return !!this.config.apiKey || !!this.config.jwtToken\n }\n\n protected get headers(): Record<string, string> {\n const headers: Record<string, string> = {}\n if (this.config.jwtToken) {\n headers.Authorization = `Bearer ${this.config.jwtToken}`\n }\n if (this.config.apiKey) {\n headers['x-api-key'] = this.config.apiKey\n }\n return headers\n }\n\n protected get query() {\n return this.config.query ?? ''\n }\n\n protected get root() {\n return this.config.root ?? '/'\n }\n\n private static resolveResponse<T>(result?: ApiResponse<ApiEnvelope<T>>) {\n return [result?.data?.data, result?.data, result] as ApiResponseTuple<T>\n }\n\n private static shapeResponse<T = unknown>(response: ApiResponse<ApiEnvelope<T>> | undefined, responseType?: ApiResponseType) {\n const resolvedResponse = ApiBase.resolveResponse(response)\n return responseType === 'tuple' ? resolvedResponse : resolvedResponse[0]\n }\n\n onError(error: ApiError, depth = 0) {\n this.config.reportableParent?.onError?.(error, depth + 1)\n this.config.onError?.(error, depth)\n }\n\n onFailure(response: ApiResponse, depth = 0) {\n this.config.reportableParent?.onFailure?.(response, depth + 1)\n this.config.onFailure?.(response, depth)\n }\n\n onSuccess(response: ApiResponse, depth = 0) {\n this.config.reportableParent?.onSuccess?.(response, depth + 1)\n this.config.onSuccess?.(response, depth)\n }\n\n protected async deleteEndpoint<T = unknown>(endPoint?: string): Promise<ApiResponseBody<T>>\n protected async deleteEndpoint<T = unknown>(endPoint?: string, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async deleteEndpoint<T = unknown>(endPoint?: string, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async deleteEndpoint<T = unknown>(endPoint = '', responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.delete<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>>>(`${this.resolveRoot()}${endPoint}${this.query}`)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n protected async getEndpoint<T = unknown>(endPoint?: string): Promise<ApiResponseBody<T>>\n protected async getEndpoint<T = unknown>(endPoint?: string, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async getEndpoint<T = unknown>(endPoint?: string, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async getEndpoint<T = unknown>(endPoint = '', responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.get<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>>>(`${this.resolveRoot()}${endPoint}${this.query}`)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n protected handleMonitorResponseError<T>(error: ApiError, trapAxiosException: boolean) {\n if (!error.isError) {\n throw error\n }\n\n if (trapAxiosException) {\n error.response ? this.onFailure(error.response) : this.onError(error)\n if (this.config.throwFailure) {\n throw error\n }\n return error.response as ApiResponse<ApiEnvelope<T>>\n }\n }\n\n protected async monitorResponse<T>(closure: () => Promise<ApiResponse<ApiEnvelope<T>>>) {\n //we use this to prevent accidental catching on exceptions in callbacks\n let trapAxiosException = true\n try {\n const response = await closure()\n trapAxiosException = false\n\n response.status < 300 ? this.onSuccess(response) : this.onFailure(response)\n\n return response\n } catch (ex) {\n this.handleMonitorResponseError(ex as ApiError, trapAxiosException)\n }\n }\n\n protected async postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D): Promise<ApiResponseBody<T>>\n protected async postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async postEndpoint<T = unknown, D = unknown>(\n endPoint = '',\n data?: D,\n responseType?: ApiResponseType,\n ): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.post<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>, D>, D>(`${this.resolveRoot()}${endPoint}${this.query}`, data)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n protected async putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D): Promise<ApiResponseBody<T>>\n protected async putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async putEndpoint<T = unknown, D = unknown>(endPoint = '', data?: D, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.put<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>, D>, D>(`${this.resolveRoot()}${endPoint}${this.query}`, data)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n private resolveRoot() {\n return `${this.config.apiDomain}${this.root}`\n }\n}\n","export const objToQuery = (obj: Record<string, string | number | undefined>) => {\n return `?${Object.entries(obj)\n .map(([key, value]) => {\n return `${key}=${value}`\n })\n .filter((value) => value !== undefined)\n .join('&')}`\n}\n","import { ApiConfig, ApiResponseBody, ApiResponseTuple, ApiResponseTupleOrBody, ApiResponseType } from '@xyo-network/api-models'\nimport { Payload, PayloadFindFilter } from '@xyo-network/payload-model'\n\nimport { ApiBase } from './Base'\nimport { objToQuery } from './objToQuery'\n\nexport type ApiSimpleQuery = PayloadFindFilter\n\nexport class ApiSimple<T = Payload, D = T, Q extends ApiSimpleQuery = ApiSimpleQuery, C extends ApiConfig = ApiConfig> extends ApiBase<C> {\n async delete(): Promise<ApiResponseBody<T>>\n async delete(responseType?: 'body'): Promise<ApiResponseBody<T>>\n async delete(responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async delete(responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple':\n return await this.deleteEndpoint(undefined, 'tuple')\n default:\n return await this.deleteEndpoint(undefined)\n }\n }\n\n async find(query?: Q): Promise<ApiResponseBody<T>>\n async find(query?: Q, responseType?: 'body'): Promise<ApiResponseBody<T>>\n async find(query?: Q, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async find(query = {}, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple':\n return await this.getEndpoint(objToQuery(query), 'tuple')\n default:\n return await this.getEndpoint(objToQuery(query))\n }\n }\n\n async get(): Promise<ApiResponseBody<T>>\n async get(responseType?: 'body'): Promise<ApiResponseBody<T>>\n async get(responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async get(responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple':\n return await this.getEndpoint(undefined, 'tuple')\n default:\n return await this.getEndpoint(undefined)\n }\n }\n\n async post(data?: D): Promise<ApiResponseBody<T>>\n async post(data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n async post(data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async post(data?: D, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple':\n return await this.postEndpoint(undefined, data, 'tuple')\n default:\n return await this.postEndpoint(undefined, data)\n }\n }\n\n async put(data?: D): Promise<ApiResponseBody<T>>\n async put(data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n async put(data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async put(data?: D, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple':\n return await this.putEndpoint(undefined, data, 'tuple')\n default:\n return await this.putEndpoint(undefined, data)\n }\n }\n}\n"],"mappings":"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","names":[]}
|
package/dist/node/Test/index.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
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
|
-
|
|
20
|
-
// src/Test/index.ts
|
|
21
|
-
var Test_exports = {};
|
|
22
|
-
__export(Test_exports, {
|
|
23
|
-
testBoundWitness: () => testBoundWitness,
|
|
24
|
-
testPayload: () => testPayload,
|
|
25
|
-
testSchema: () => testSchema
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(Test_exports);
|
|
28
|
-
|
|
29
|
-
// src/Test/testBoundWitness.ts
|
|
30
|
-
var import_boundwitness_model = require("@xyo-network/boundwitness-model");
|
|
31
|
-
var testBoundWitness = {
|
|
32
|
-
_client: "js",
|
|
33
|
-
_hash: "b0ffb9ebf872dc316b7be48327256c5316f7cb84d7c706861b18b86af1942dea",
|
|
34
|
-
_signatures: ["95100e5fd2012b958e96895870cfac5353c3a33a19314cfd1304ef7d01d052ec2a3ef80d6449cf88d463027fe0d868ed8cfb8b7323d37e93a08570233eea0b17"],
|
|
35
|
-
_timestamp: 1650067385598,
|
|
36
|
-
addresses: ["5346a2ce56ec4177b67092bda710e150ba6fa046"],
|
|
37
|
-
payload_hashes: ["20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c"],
|
|
38
|
-
payload_schemas: ["network.xyo.test"],
|
|
39
|
-
previous_hashes: [null],
|
|
40
|
-
schema: import_boundwitness_model.BoundWitnessSchema
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
// src/Test/testPayload.ts
|
|
44
|
-
var testSchema = "network.xyo.test";
|
|
45
|
-
var testPayload = {
|
|
46
|
-
_hash: "20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c",
|
|
47
|
-
_timestamp: 1609459255555,
|
|
48
|
-
numberField: 1,
|
|
49
|
-
objectField: {
|
|
50
|
-
numberField: 1,
|
|
51
|
-
stringField: "stringValue"
|
|
52
|
-
},
|
|
53
|
-
schema: testSchema,
|
|
54
|
-
stringField: "stringValue"
|
|
55
|
-
};
|
|
56
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
57
|
-
0 && (module.exports = {
|
|
58
|
-
testBoundWitness,
|
|
59
|
-
testPayload,
|
|
60
|
-
testSchema
|
|
61
|
-
});
|
|
62
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Test/index.ts","../../../src/Test/testBoundWitness.ts","../../../src/Test/testPayload.ts"],"sourcesContent":["export * from './testBoundWitness'\nexport * from './testPayload'\n","import { BoundWitness, BoundWitnessSchema } from '@xyo-network/boundwitness-model'\n\nconst testBoundWitness: BoundWitness = {\n _client: 'js',\n _hash: 'b0ffb9ebf872dc316b7be48327256c5316f7cb84d7c706861b18b86af1942dea',\n _signatures: ['95100e5fd2012b958e96895870cfac5353c3a33a19314cfd1304ef7d01d052ec2a3ef80d6449cf88d463027fe0d868ed8cfb8b7323d37e93a08570233eea0b17'],\n _timestamp: 1650067385598,\n addresses: ['5346a2ce56ec4177b67092bda710e150ba6fa046'],\n payload_hashes: ['20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c'],\n payload_schemas: ['network.xyo.test'],\n previous_hashes: [null],\n schema: BoundWitnessSchema,\n} as BoundWitness\n\nexport { testBoundWitness }\n","import { StringKeyObject } from '@xyo-network/core'\nimport { Payload } from '@xyo-network/payload-model'\n\nconst testSchema = 'network.xyo.test'\nconst testPayload: Payload<StringKeyObject> = {\n _hash: '20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c',\n _timestamp: 1609459255555,\n numberField: 1,\n objectField: {\n numberField: 1,\n stringField: 'stringValue',\n },\n schema: testSchema,\n stringField: 'stringValue',\n}\n\nexport { testPayload, testSchema }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,gCAAiD;AAEjD,IAAM,mBAAiC;AAAA,EACrC,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa,CAAC,kIAAkI;AAAA,EAChJ,YAAY;AAAA,EACZ,WAAW,CAAC,0CAA0C;AAAA,EACtD,gBAAgB,CAAC,kEAAkE;AAAA,EACnF,iBAAiB,CAAC,kBAAkB;AAAA,EACpC,iBAAiB,CAAC,IAAI;AAAA,EACtB,QAAQ;AACV;;;ACTA,IAAM,aAAa;AACnB,IAAM,cAAwC;AAAA,EAC5C,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,aAAa;AAAA,IACX,aAAa;AAAA,IACb,aAAa;AAAA,EACf;AAAA,EACA,QAAQ;AAAA,EACR,aAAa;AACf;","names":[]}
|
package/dist/node/Test/index.mjs
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// src/Test/testBoundWitness.ts
|
|
2
|
-
import { BoundWitnessSchema } from "@xyo-network/boundwitness-model";
|
|
3
|
-
var testBoundWitness = {
|
|
4
|
-
_client: "js",
|
|
5
|
-
_hash: "b0ffb9ebf872dc316b7be48327256c5316f7cb84d7c706861b18b86af1942dea",
|
|
6
|
-
_signatures: ["95100e5fd2012b958e96895870cfac5353c3a33a19314cfd1304ef7d01d052ec2a3ef80d6449cf88d463027fe0d868ed8cfb8b7323d37e93a08570233eea0b17"],
|
|
7
|
-
_timestamp: 1650067385598,
|
|
8
|
-
addresses: ["5346a2ce56ec4177b67092bda710e150ba6fa046"],
|
|
9
|
-
payload_hashes: ["20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c"],
|
|
10
|
-
payload_schemas: ["network.xyo.test"],
|
|
11
|
-
previous_hashes: [null],
|
|
12
|
-
schema: BoundWitnessSchema
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
// src/Test/testPayload.ts
|
|
16
|
-
var testSchema = "network.xyo.test";
|
|
17
|
-
var testPayload = {
|
|
18
|
-
_hash: "20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c",
|
|
19
|
-
_timestamp: 1609459255555,
|
|
20
|
-
numberField: 1,
|
|
21
|
-
objectField: {
|
|
22
|
-
numberField: 1,
|
|
23
|
-
stringField: "stringValue"
|
|
24
|
-
},
|
|
25
|
-
schema: testSchema,
|
|
26
|
-
stringField: "stringValue"
|
|
27
|
-
};
|
|
28
|
-
export {
|
|
29
|
-
testBoundWitness,
|
|
30
|
-
testPayload,
|
|
31
|
-
testSchema
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Test/testBoundWitness.ts","../../../src/Test/testPayload.ts"],"sourcesContent":["import { BoundWitness, BoundWitnessSchema } from '@xyo-network/boundwitness-model'\n\nconst testBoundWitness: BoundWitness = {\n _client: 'js',\n _hash: 'b0ffb9ebf872dc316b7be48327256c5316f7cb84d7c706861b18b86af1942dea',\n _signatures: ['95100e5fd2012b958e96895870cfac5353c3a33a19314cfd1304ef7d01d052ec2a3ef80d6449cf88d463027fe0d868ed8cfb8b7323d37e93a08570233eea0b17'],\n _timestamp: 1650067385598,\n addresses: ['5346a2ce56ec4177b67092bda710e150ba6fa046'],\n payload_hashes: ['20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c'],\n payload_schemas: ['network.xyo.test'],\n previous_hashes: [null],\n schema: BoundWitnessSchema,\n} as BoundWitness\n\nexport { testBoundWitness }\n","import { StringKeyObject } from '@xyo-network/core'\nimport { Payload } from '@xyo-network/payload-model'\n\nconst testSchema = 'network.xyo.test'\nconst testPayload: Payload<StringKeyObject> = {\n _hash: '20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c',\n _timestamp: 1609459255555,\n numberField: 1,\n objectField: {\n numberField: 1,\n stringField: 'stringValue',\n },\n schema: testSchema,\n stringField: 'stringValue',\n}\n\nexport { testPayload, testSchema }\n"],"mappings":";AAAA,SAAuB,0BAA0B;AAEjD,IAAM,mBAAiC;AAAA,EACrC,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa,CAAC,kIAAkI;AAAA,EAChJ,YAAY;AAAA,EACZ,WAAW,CAAC,0CAA0C;AAAA,EACtD,gBAAgB,CAAC,kEAAkE;AAAA,EACnF,iBAAiB,CAAC,kBAAkB;AAAA,EACpC,iBAAiB,CAAC,IAAI;AAAA,EACtB,QAAQ;AACV;;;ACTA,IAAM,aAAa;AACnB,IAAM,cAAwC;AAAA,EAC5C,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,aAAa;AAAA,IACX,aAAa;AAAA,IACb,aAAa;AAAA,EACf;AAAA,EACA,QAAQ;AAAA,EACR,aAAa;AACf;","names":[]}
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
|
|
20
|
-
// src/Test/testBoundWitness.ts
|
|
21
|
-
var testBoundWitness_exports = {};
|
|
22
|
-
__export(testBoundWitness_exports, {
|
|
23
|
-
testBoundWitness: () => testBoundWitness
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(testBoundWitness_exports);
|
|
26
|
-
var import_boundwitness_model = require("@xyo-network/boundwitness-model");
|
|
27
|
-
var testBoundWitness = {
|
|
28
|
-
_client: "js",
|
|
29
|
-
_hash: "b0ffb9ebf872dc316b7be48327256c5316f7cb84d7c706861b18b86af1942dea",
|
|
30
|
-
_signatures: ["95100e5fd2012b958e96895870cfac5353c3a33a19314cfd1304ef7d01d052ec2a3ef80d6449cf88d463027fe0d868ed8cfb8b7323d37e93a08570233eea0b17"],
|
|
31
|
-
_timestamp: 1650067385598,
|
|
32
|
-
addresses: ["5346a2ce56ec4177b67092bda710e150ba6fa046"],
|
|
33
|
-
payload_hashes: ["20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c"],
|
|
34
|
-
payload_schemas: ["network.xyo.test"],
|
|
35
|
-
previous_hashes: [null],
|
|
36
|
-
schema: import_boundwitness_model.BoundWitnessSchema
|
|
37
|
-
};
|
|
38
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
-
0 && (module.exports = {
|
|
40
|
-
testBoundWitness
|
|
41
|
-
});
|
|
42
|
-
//# sourceMappingURL=testBoundWitness.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Test/testBoundWitness.ts"],"sourcesContent":["import { BoundWitness, BoundWitnessSchema } from '@xyo-network/boundwitness-model'\n\nconst testBoundWitness: BoundWitness = {\n _client: 'js',\n _hash: 'b0ffb9ebf872dc316b7be48327256c5316f7cb84d7c706861b18b86af1942dea',\n _signatures: ['95100e5fd2012b958e96895870cfac5353c3a33a19314cfd1304ef7d01d052ec2a3ef80d6449cf88d463027fe0d868ed8cfb8b7323d37e93a08570233eea0b17'],\n _timestamp: 1650067385598,\n addresses: ['5346a2ce56ec4177b67092bda710e150ba6fa046'],\n payload_hashes: ['20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c'],\n payload_schemas: ['network.xyo.test'],\n previous_hashes: [null],\n schema: BoundWitnessSchema,\n} as BoundWitness\n\nexport { testBoundWitness }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gCAAiD;AAEjD,IAAM,mBAAiC;AAAA,EACrC,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa,CAAC,kIAAkI;AAAA,EAChJ,YAAY;AAAA,EACZ,WAAW,CAAC,0CAA0C;AAAA,EACtD,gBAAgB,CAAC,kEAAkE;AAAA,EACnF,iBAAiB,CAAC,kBAAkB;AAAA,EACpC,iBAAiB,CAAC,IAAI;AAAA,EACtB,QAAQ;AACV;","names":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// src/Test/testBoundWitness.ts
|
|
2
|
-
import { BoundWitnessSchema } from "@xyo-network/boundwitness-model";
|
|
3
|
-
var testBoundWitness = {
|
|
4
|
-
_client: "js",
|
|
5
|
-
_hash: "b0ffb9ebf872dc316b7be48327256c5316f7cb84d7c706861b18b86af1942dea",
|
|
6
|
-
_signatures: ["95100e5fd2012b958e96895870cfac5353c3a33a19314cfd1304ef7d01d052ec2a3ef80d6449cf88d463027fe0d868ed8cfb8b7323d37e93a08570233eea0b17"],
|
|
7
|
-
_timestamp: 1650067385598,
|
|
8
|
-
addresses: ["5346a2ce56ec4177b67092bda710e150ba6fa046"],
|
|
9
|
-
payload_hashes: ["20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c"],
|
|
10
|
-
payload_schemas: ["network.xyo.test"],
|
|
11
|
-
previous_hashes: [null],
|
|
12
|
-
schema: BoundWitnessSchema
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
testBoundWitness
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=testBoundWitness.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Test/testBoundWitness.ts"],"sourcesContent":["import { BoundWitness, BoundWitnessSchema } from '@xyo-network/boundwitness-model'\n\nconst testBoundWitness: BoundWitness = {\n _client: 'js',\n _hash: 'b0ffb9ebf872dc316b7be48327256c5316f7cb84d7c706861b18b86af1942dea',\n _signatures: ['95100e5fd2012b958e96895870cfac5353c3a33a19314cfd1304ef7d01d052ec2a3ef80d6449cf88d463027fe0d868ed8cfb8b7323d37e93a08570233eea0b17'],\n _timestamp: 1650067385598,\n addresses: ['5346a2ce56ec4177b67092bda710e150ba6fa046'],\n payload_hashes: ['20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c'],\n payload_schemas: ['network.xyo.test'],\n previous_hashes: [null],\n schema: BoundWitnessSchema,\n} as BoundWitness\n\nexport { testBoundWitness }\n"],"mappings":";AAAA,SAAuB,0BAA0B;AAEjD,IAAM,mBAAiC;AAAA,EACrC,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa,CAAC,kIAAkI;AAAA,EAChJ,YAAY;AAAA,EACZ,WAAW,CAAC,0CAA0C;AAAA,EACtD,gBAAgB,CAAC,kEAAkE;AAAA,EACnF,iBAAiB,CAAC,kBAAkB;AAAA,EACpC,iBAAiB,CAAC,IAAI;AAAA,EACtB,QAAQ;AACV;","names":[]}
|
|
@@ -1,44 +0,0 @@
|
|
|
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
|
-
|
|
20
|
-
// src/Test/testPayload.ts
|
|
21
|
-
var testPayload_exports = {};
|
|
22
|
-
__export(testPayload_exports, {
|
|
23
|
-
testPayload: () => testPayload,
|
|
24
|
-
testSchema: () => testSchema
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(testPayload_exports);
|
|
27
|
-
var testSchema = "network.xyo.test";
|
|
28
|
-
var testPayload = {
|
|
29
|
-
_hash: "20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c",
|
|
30
|
-
_timestamp: 1609459255555,
|
|
31
|
-
numberField: 1,
|
|
32
|
-
objectField: {
|
|
33
|
-
numberField: 1,
|
|
34
|
-
stringField: "stringValue"
|
|
35
|
-
},
|
|
36
|
-
schema: testSchema,
|
|
37
|
-
stringField: "stringValue"
|
|
38
|
-
};
|
|
39
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
40
|
-
0 && (module.exports = {
|
|
41
|
-
testPayload,
|
|
42
|
-
testSchema
|
|
43
|
-
});
|
|
44
|
-
//# sourceMappingURL=testPayload.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Test/testPayload.ts"],"sourcesContent":["import { StringKeyObject } from '@xyo-network/core'\nimport { Payload } from '@xyo-network/payload-model'\n\nconst testSchema = 'network.xyo.test'\nconst testPayload: Payload<StringKeyObject> = {\n _hash: '20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c',\n _timestamp: 1609459255555,\n numberField: 1,\n objectField: {\n numberField: 1,\n stringField: 'stringValue',\n },\n schema: testSchema,\n stringField: 'stringValue',\n}\n\nexport { testPayload, testSchema }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,IAAM,aAAa;AACnB,IAAM,cAAwC;AAAA,EAC5C,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,aAAa;AAAA,IACX,aAAa;AAAA,IACb,aAAa;AAAA,EACf;AAAA,EACA,QAAQ;AAAA,EACR,aAAa;AACf;","names":[]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// src/Test/testPayload.ts
|
|
2
|
-
var testSchema = "network.xyo.test";
|
|
3
|
-
var testPayload = {
|
|
4
|
-
_hash: "20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c",
|
|
5
|
-
_timestamp: 1609459255555,
|
|
6
|
-
numberField: 1,
|
|
7
|
-
objectField: {
|
|
8
|
-
numberField: 1,
|
|
9
|
-
stringField: "stringValue"
|
|
10
|
-
},
|
|
11
|
-
schema: testSchema,
|
|
12
|
-
stringField: "stringValue"
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
testPayload,
|
|
16
|
-
testSchema
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=testPayload.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Test/testPayload.ts"],"sourcesContent":["import { StringKeyObject } from '@xyo-network/core'\nimport { Payload } from '@xyo-network/payload-model'\n\nconst testSchema = 'network.xyo.test'\nconst testPayload: Payload<StringKeyObject> = {\n _hash: '20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c',\n _timestamp: 1609459255555,\n numberField: 1,\n objectField: {\n numberField: 1,\n stringField: 'stringValue',\n },\n schema: testSchema,\n stringField: 'stringValue',\n}\n\nexport { testPayload, testSchema }\n"],"mappings":";AAGA,IAAM,aAAa;AACnB,IAAM,cAAwC;AAAA,EAC5C,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,aAAa;AAAA,IACX,aAAa;AAAA,IACb,aAAa;AAAA,EACf;AAAA,EACA,QAAQ;AAAA,EACR,aAAa;AACf;","names":[]}
|
package/dist/node/WithArchive.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
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 __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/WithArchive.ts
|
|
17
|
-
var WithArchive_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(WithArchive_exports);
|
|
19
|
-
//# sourceMappingURL=WithArchive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/WithArchive.ts"],"sourcesContent":["export declare type WithArchive<ArchivistApiConfig> = ArchivistApiConfig & {\n _archive?: string\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=WithArchive.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,19 +0,0 @@
|
|
|
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 __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/models/ArchivePath.ts
|
|
17
|
-
var ArchivePath_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(ArchivePath_exports);
|
|
19
|
-
//# sourceMappingURL=ArchivePath.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/models/ArchivePath.ts"],"sourcesContent":["export interface ArchivePath {\n archive: string\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=ArchivePath.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,19 +0,0 @@
|
|
|
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 __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/models/index.ts
|
|
17
|
-
var models_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(models_exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/models/index.ts"],"sourcesContent":["export * from './ArchivePath'\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/node/objToQuery.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
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
|
-
|
|
20
|
-
// src/objToQuery.ts
|
|
21
|
-
var objToQuery_exports = {};
|
|
22
|
-
__export(objToQuery_exports, {
|
|
23
|
-
objToQuery: () => objToQuery
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(objToQuery_exports);
|
|
26
|
-
var objToQuery = (obj) => {
|
|
27
|
-
return `?${Object.entries(obj).map(([key, value]) => {
|
|
28
|
-
return `${key}=${value}`;
|
|
29
|
-
}).filter((value) => value !== void 0).join("&")}`;
|
|
30
|
-
};
|
|
31
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
-
0 && (module.exports = {
|
|
33
|
-
objToQuery
|
|
34
|
-
});
|
|
35
|
-
//# sourceMappingURL=objToQuery.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/objToQuery.ts"],"sourcesContent":["export const objToQuery = (obj: Record<string, string | number | undefined>) => {\n return `?${Object.entries(obj)\n .map(([key, value]) => {\n return `${key}=${value}`\n })\n .filter((value) => value !== undefined)\n .join('&')}`\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,aAAa,CAAC,QAAqD;AAC9E,SAAO,IAAI,OAAO,QAAQ,GAAG,EAC1B,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM;AACrB,WAAO,GAAG,GAAG,IAAI,KAAK;AAAA,EACxB,CAAC,EACA,OAAO,CAAC,UAAU,UAAU,MAAS,EACrC,KAAK,GAAG,CAAC;AACd;","names":[]}
|
package/dist/node/objToQuery.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// src/objToQuery.ts
|
|
2
|
-
var objToQuery = (obj) => {
|
|
3
|
-
return `?${Object.entries(obj).map(([key, value]) => {
|
|
4
|
-
return `${key}=${value}`;
|
|
5
|
-
}).filter((value) => value !== void 0).join("&")}`;
|
|
6
|
-
};
|
|
7
|
-
export {
|
|
8
|
-
objToQuery
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=objToQuery.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/objToQuery.ts"],"sourcesContent":["export const objToQuery = (obj: Record<string, string | number | undefined>) => {\n return `?${Object.entries(obj)\n .map(([key, value]) => {\n return `${key}=${value}`\n })\n .filter((value) => value !== undefined)\n .join('&')}`\n}\n"],"mappings":";AAAO,IAAM,aAAa,CAAC,QAAqD;AAC9E,SAAO,IAAI,OAAO,QAAQ,GAAG,EAC1B,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM;AACrB,WAAO,GAAG,GAAG,IAAI,KAAK;AAAA,EACxB,CAAC,EACA,OAAO,CAAC,UAAU,UAAU,MAAS,EACrC,KAAK,GAAG,CAAC;AACd;","names":[]}
|