@xyo-network/api 2.39.1 → 2.39.3
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 +954 -954
- package/package.json +14 -12
- package/src/Api/Account/Api.spec.ts +1 -1
- package/src/Api/Addresses/Address/Api.spec.ts +1 -1
- package/src/Api/Addresses/Api.spec.ts +2 -1
- package/src/Api/Api.spec.ts +1 -1
- package/src/Api/Archive/Schema/Api.spec.ts +2 -1
- package/src/Api/Archive/Schemas/Api.spec.ts +2 -1
- package/src/Api/Node/Api.spec.ts +1 -1
- package/src/Api/Payload/Api.spec.ts +1 -1
- package/src/Api/Payload/Schema/Api.spec.ts +1 -1
- package/src/Archivist/XyoRemoteArchivist.spec.ts +1 -1
- package/src/Diviner/AddressHistoryDiviner/XyoRemoteAddressHistoryDiviner.spec.ts +1 -1
- package/src/Diviner/ArchiveListApiDiviner/ArchiveListApiDiviner.spec.ts +2 -1
- package/src/Diviner/LocationDiviner/LocationDivinerApi.spec.ts +1 -1
- package/src/Diviner/SchemaListApiDiviner/SchemaListApiDiviner.spec.ts +2 -1
- package/src/Diviner/SchemaStatsApiDiviner/SchemaStatsApiDiviner.spec.ts +2 -1
- package/src/User/Api.spec.ts +1 -1
package/package.json
CHANGED
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"@xylabs/assert": "^2.6.9",
|
|
13
13
|
"@xylabs/delay": "^2.6.9",
|
|
14
14
|
"@xylabs/sdk-js": "^2.6.9",
|
|
15
|
-
"@xyo-network/account": "^2.39.
|
|
16
|
-
"@xyo-network/api-models": "^2.39.
|
|
17
|
-
"@xyo-network/archivist": "^2.39.
|
|
18
|
-
"@xyo-network/boundwitness": "^2.39.
|
|
19
|
-
"@xyo-network/core": "^2.39.
|
|
20
|
-
"@xyo-network/diviner": "^2.39.
|
|
21
|
-
"@xyo-network/module": "^2.39.
|
|
22
|
-
"@xyo-network/payload": "^2.39.
|
|
23
|
-
"@xyo-network/schema-payload-plugin": "^2.39.
|
|
15
|
+
"@xyo-network/account": "^2.39.3",
|
|
16
|
+
"@xyo-network/api-models": "^2.39.3",
|
|
17
|
+
"@xyo-network/archivist": "^2.39.3",
|
|
18
|
+
"@xyo-network/boundwitness": "^2.39.3",
|
|
19
|
+
"@xyo-network/core": "^2.39.3",
|
|
20
|
+
"@xyo-network/diviner": "^2.39.3",
|
|
21
|
+
"@xyo-network/module": "^2.39.3",
|
|
22
|
+
"@xyo-network/payload": "^2.39.3",
|
|
23
|
+
"@xyo-network/schema-payload-plugin": "^2.39.3",
|
|
24
24
|
"lodash": "^4.17.21",
|
|
25
25
|
"tslib": "^2.4.1"
|
|
26
26
|
},
|
|
@@ -30,8 +30,10 @@
|
|
|
30
30
|
},
|
|
31
31
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@types/lodash": "^4.14.
|
|
34
|
-
"@types/pako": "^2.0.0"
|
|
33
|
+
"@types/lodash": "^4.14.187",
|
|
34
|
+
"@types/pako": "^2.0.0",
|
|
35
|
+
"axios": "^1.1.3",
|
|
36
|
+
"pako": "^2.0.4"
|
|
35
37
|
},
|
|
36
38
|
"browser": "dist/esm/index.js",
|
|
37
39
|
"docs": "dist/docs.json",
|
|
@@ -66,5 +68,5 @@
|
|
|
66
68
|
},
|
|
67
69
|
"sideEffects": false,
|
|
68
70
|
"types": "dist/esm/index.d.ts",
|
|
69
|
-
"version": "2.39.
|
|
71
|
+
"version": "2.39.3"
|
|
70
72
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { XyoAccount } from '@xyo-network/account'
|
|
2
|
+
import { XyoApiConfig, XyoApiError } from '@xyo-network/api-models'
|
|
2
3
|
import { typeOf } from '@xyo-network/typeof'
|
|
3
4
|
|
|
4
|
-
import { XyoApiConfig, XyoApiError } from '../../models'
|
|
5
5
|
import { XyoArchivistApi } from '../Api'
|
|
6
6
|
import { XyoAccountApi } from './Api'
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { assertEx } from '@xylabs/assert'
|
|
2
2
|
import { XyoAccount } from '@xyo-network/account'
|
|
3
|
+
import { XyoApiConfig, XyoApiResponseBody } from '@xyo-network/api-models'
|
|
3
4
|
import { BoundWitnessWrapper, XyoBoundWitness } from '@xyo-network/boundwitness'
|
|
4
5
|
|
|
5
|
-
import { XyoApiConfig, XyoApiResponseBody } from '../../../models'
|
|
6
6
|
import { XyoApiSimple } from '../../../Simple'
|
|
7
7
|
import { XyoArchivistApi } from '../../Api'
|
|
8
8
|
import { XyoAddressesApi } from '../Api'
|
package/src/Api/Api.spec.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { XyoAccount } from '@xyo-network/account'
|
|
2
|
+
import { XyoApiConfig, XyoApiError } from '@xyo-network/api-models'
|
|
2
3
|
import { BoundWitnessBuilder, XyoBoundWitness } from '@xyo-network/boundwitness'
|
|
3
4
|
|
|
4
|
-
import { XyoApiConfig, XyoApiError } from '../models'
|
|
5
5
|
import { testPayload } from '../Test'
|
|
6
6
|
import { XyoArchivistApi } from './Api'
|
|
7
7
|
import { getNewArchive, getRandomArchiveName } from './ApiUtil.spec'
|
package/src/Api/Node/Api.spec.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { assertEx } from '@xylabs/assert'
|
|
2
2
|
import { delay } from '@xylabs/delay'
|
|
3
|
+
import { XyoApiConfig, XyoApiEnvelope } from '@xyo-network/api-models'
|
|
3
4
|
import { BoundWitnessBuilder, XyoBoundWitness } from '@xyo-network/boundwitness'
|
|
4
5
|
import { uuid } from '@xyo-network/core'
|
|
5
6
|
import { XyoPayload, XyoPayloadBuilder } from '@xyo-network/payload'
|
|
6
7
|
|
|
7
|
-
import { XyoApiConfig, XyoApiEnvelope } from '../../models'
|
|
8
8
|
import { XyoArchivistApi } from '../Api'
|
|
9
9
|
|
|
10
10
|
const config: XyoApiConfig = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { XyoAccount } from '@xyo-network/account'
|
|
2
|
+
import { XyoApiConfig, XyoApiError } from '@xyo-network/api-models'
|
|
2
3
|
import { BoundWitnessBuilder } from '@xyo-network/boundwitness'
|
|
3
4
|
|
|
4
|
-
import { XyoApiConfig, XyoApiError } from '../../models'
|
|
5
5
|
import { XyoArchivistApi } from '../Api'
|
|
6
6
|
import { getNewArchive, getTimestampMinutesFromNow } from '../ApiUtil.spec'
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { XyoAccount } from '@xyo-network/account'
|
|
2
|
+
import { XyoApiConfig } from '@xyo-network/api-models'
|
|
2
3
|
import { BoundWitnessBuilder } from '@xyo-network/boundwitness'
|
|
3
4
|
import { XyoSchemaPayload, XyoSchemaSchema } from '@xyo-network/schema-payload-plugin'
|
|
4
5
|
|
|
5
|
-
import { XyoApiConfig } from '../../../models'
|
|
6
6
|
import { XyoArchivistApi } from '../../Api'
|
|
7
7
|
import { getNewArchive, getSchemaName } from '../../ApiUtil.spec'
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { XyoApiConfig } from '@xyo-network/api-models'
|
|
1
2
|
import { XyoArchivistWrapper } from '@xyo-network/archivist'
|
|
2
3
|
import { PayloadWrapper } from '@xyo-network/payload'
|
|
3
4
|
|
|
4
5
|
import { XyoArchivistApi } from '../Api'
|
|
5
|
-
import { XyoApiConfig } from '../models'
|
|
6
6
|
import { XyoRemoteArchivist } from './XyoRemoteArchivist'
|
|
7
7
|
import { XyoRemoteArchivistConfigSchema } from './XyoRemoteArchivistConfig'
|
|
8
8
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { XyoAccount } from '@xyo-network/account'
|
|
2
|
+
import { XyoApiConfig } from '@xyo-network/api-models'
|
|
2
3
|
import { BoundWitnessWrapper, XyoBoundWitness, XyoBoundWitnessSchema } from '@xyo-network/boundwitness'
|
|
3
4
|
import { XyoDivinerWrapper } from '@xyo-network/diviner'
|
|
4
5
|
import { XyoPayloadBuilder } from '@xyo-network/payload'
|
|
5
6
|
|
|
6
7
|
import { XyoArchivistApi } from '../../Api'
|
|
7
|
-
import { XyoApiConfig } from '../../models'
|
|
8
8
|
import { XyoRemoteDivinerConfigSchema } from '../XyoRemoteDivinerConfig'
|
|
9
9
|
import { AddressHistoryQuerySchema } from './AddressHistoryDiviner'
|
|
10
10
|
import { XyoRemoteAddressHistoryDiviner } from './XyoRemoteAddressHistoryDiviner'
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { XyoApiConfig } from '@xyo-network/api-models'
|
|
2
|
+
|
|
1
3
|
import { XyoArchivistApi } from '../../Api'
|
|
2
|
-
import { XyoApiConfig } from '../../models'
|
|
3
4
|
import { ArchiveListApiDiviner } from './ArchiveListApiDiviner'
|
|
4
5
|
import { XyoArchiveListApiDivinerConfigSchema, XyoArchiveSchema } from './ArchiveListApiDivinerConfig'
|
|
5
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { XyoApiConfig } from '@xyo-network/api-models'
|
|
2
|
+
|
|
1
3
|
import { XyoArchivistApi } from '../../Api'
|
|
2
|
-
import { XyoApiConfig } from '../../models'
|
|
3
4
|
import { SchemaListApiDiviner } from './SchemaListApiDiviner'
|
|
4
5
|
import { XyoSchemaListApiDivinerConfigSchema } from './SchemaListApiDivinerConfig'
|
|
5
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { XyoApiConfig } from '@xyo-network/api-models'
|
|
2
|
+
|
|
1
3
|
import { XyoArchivistApi } from '../../Api'
|
|
2
|
-
import { XyoApiConfig } from '../../models'
|
|
3
4
|
import { SchemaStatsApiDiviner } from './SchemaStatsApiDiviner'
|
|
4
5
|
import { XyoSchemaStatsApiDivinerConfigSchema } from './SchemaStatsApiDivinerConfig'
|
|
5
6
|
|
package/src/User/Api.spec.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { XyoApiConfig, XyoApiError } from '@xyo-network/api-models'
|
|
1
2
|
import { typeOf } from '@xyo-network/typeof'
|
|
2
3
|
|
|
3
4
|
import { XyoArchivistApi } from '../Api'
|
|
4
|
-
import { XyoApiConfig, XyoApiError } from '../models'
|
|
5
5
|
import { XyoUserApi } from './Api'
|
|
6
6
|
|
|
7
7
|
const timeout = 20000
|