@xyo-network/api 2.21.17 → 2.21.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@xylabs/sdk-js": "^2.
|
|
13
|
-
"@xyo-network/account": "^2.21.
|
|
14
|
-
"@xyo-network/boundwitness": "^2.21.
|
|
15
|
-
"@xyo-network/core": "^2.21.
|
|
16
|
-
"@xyo-network/payload": "^2.21.
|
|
17
|
-
"@xyo-network/typeof": "^2.21.
|
|
12
|
+
"@xylabs/sdk-js": "^2.6.2",
|
|
13
|
+
"@xyo-network/account": "^2.21.20",
|
|
14
|
+
"@xyo-network/boundwitness": "^2.21.20",
|
|
15
|
+
"@xyo-network/core": "^2.21.20",
|
|
16
|
+
"@xyo-network/payload": "^2.21.20",
|
|
17
|
+
"@xyo-network/typeof": "^2.21.20",
|
|
18
18
|
"axios": "^0.27.2",
|
|
19
19
|
"pako": "^2.0.4",
|
|
20
20
|
"uuid": "^8.3.2"
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"@types/pako": "^2.0.0",
|
|
26
26
|
"@types/uuid": "^8.3.4",
|
|
27
27
|
"@xylabs/tsconfig": "^1.0.14",
|
|
28
|
-
"dotenv": "^16.0.1",
|
|
29
28
|
"tslib": "^2.4.0"
|
|
30
29
|
},
|
|
31
30
|
"browser": "dist/esm/index.js",
|
|
@@ -61,6 +60,6 @@
|
|
|
61
60
|
},
|
|
62
61
|
"sideEffects": true,
|
|
63
62
|
"types": "dist/esm/index.d.ts",
|
|
64
|
-
"version": "2.21.
|
|
63
|
+
"version": "2.21.20",
|
|
65
64
|
"packageManager": "yarn@3.1.1"
|
|
66
65
|
}
|
|
@@ -32,7 +32,7 @@ describe('XyoAuthApi', () => {
|
|
|
32
32
|
} catch (ex) {
|
|
33
33
|
const error = ex as XyoApiError
|
|
34
34
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
35
|
-
|
|
35
|
+
expect(error === undefined)
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
timeout
|
|
@@ -60,7 +60,7 @@ describe('XyoAuthApi', () => {
|
|
|
60
60
|
} catch (ex) {
|
|
61
61
|
const error = ex as AxiosError
|
|
62
62
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
63
|
-
|
|
63
|
+
expect(error === undefined)
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
timeout
|
|
@@ -25,7 +25,7 @@ describe('postBoundWitness', () => {
|
|
|
25
25
|
} catch (ex) {
|
|
26
26
|
const error = ex as XyoApiError
|
|
27
27
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
28
|
-
|
|
28
|
+
expect(error === undefined)
|
|
29
29
|
}
|
|
30
30
|
})
|
|
31
31
|
})
|
|
@@ -45,7 +45,7 @@ describe('postBoundWitnesses', () => {
|
|
|
45
45
|
} catch (ex) {
|
|
46
46
|
const error = ex as XyoApiError
|
|
47
47
|
console.log(JSON.stringify(error, null, 2))
|
|
48
|
-
|
|
48
|
+
expect(error === undefined)
|
|
49
49
|
}
|
|
50
50
|
})
|
|
51
51
|
})
|
|
@@ -74,7 +74,7 @@ describe.skip('XyoArchivistApi', () => {
|
|
|
74
74
|
} catch (ex) {
|
|
75
75
|
const error = ex as XyoApiError
|
|
76
76
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
77
|
-
|
|
77
|
+
expect(error === undefined)
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
})
|
|
@@ -93,7 +93,7 @@ describe.skip('XyoArchivistApi', () => {
|
|
|
93
93
|
} catch (ex) {
|
|
94
94
|
const error = ex as XyoApiError
|
|
95
95
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
96
|
-
|
|
96
|
+
expect(error === undefined)
|
|
97
97
|
}
|
|
98
98
|
})
|
|
99
99
|
})
|
|
@@ -111,7 +111,7 @@ describe.skip('XyoArchivistApi', () => {
|
|
|
111
111
|
} catch (ex) {
|
|
112
112
|
const error = ex as XyoApiError
|
|
113
113
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
114
|
-
|
|
114
|
+
expect(error === undefined)
|
|
115
115
|
}
|
|
116
116
|
})
|
|
117
117
|
})
|
|
@@ -130,7 +130,7 @@ describe.skip('XyoArchivistApi', () => {
|
|
|
130
130
|
} catch (ex) {
|
|
131
131
|
const error = ex as XyoApiError
|
|
132
132
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
133
|
-
|
|
133
|
+
expect(error === undefined)
|
|
134
134
|
}
|
|
135
135
|
})
|
|
136
136
|
})
|
|
@@ -147,7 +147,7 @@ describe.skip('XyoArchivistApi', () => {
|
|
|
147
147
|
} catch (ex) {
|
|
148
148
|
const error = ex as XyoApiError
|
|
149
149
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
150
|
-
|
|
150
|
+
expect(error === undefined)
|
|
151
151
|
}
|
|
152
152
|
})
|
|
153
153
|
})
|
|
@@ -162,7 +162,7 @@ describe.skip('XyoArchivistApi', () => {
|
|
|
162
162
|
} catch (ex) {
|
|
163
163
|
const error = ex as XyoApiError
|
|
164
164
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
165
|
-
|
|
165
|
+
expect(error === undefined)
|
|
166
166
|
}
|
|
167
167
|
})
|
|
168
168
|
})
|
|
@@ -184,7 +184,7 @@ describe.skip('XyoArchivistApi', () => {
|
|
|
184
184
|
} catch (ex) {
|
|
185
185
|
const error = ex as XyoApiError
|
|
186
186
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
187
|
-
|
|
187
|
+
expect(error === undefined)
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
})
|
|
@@ -206,7 +206,7 @@ describe.skip('XyoArchivistApi', () => {
|
|
|
206
206
|
} catch (ex) {
|
|
207
207
|
const error = ex as XyoApiError
|
|
208
208
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
209
|
-
|
|
209
|
+
expect(error === undefined)
|
|
210
210
|
}
|
|
211
211
|
})
|
|
212
212
|
})
|
|
@@ -35,7 +35,7 @@ describe('XyoArchivistPayloadApi', () => {
|
|
|
35
35
|
} catch (ex) {
|
|
36
36
|
const error = ex as XyoApiError
|
|
37
37
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
38
|
-
|
|
38
|
+
expect(error === undefined)
|
|
39
39
|
}
|
|
40
40
|
})
|
|
41
41
|
})
|
|
@@ -54,7 +54,7 @@ describe('XyoArchivistPayloadApi', () => {
|
|
|
54
54
|
} catch (ex) {
|
|
55
55
|
const error = ex as XyoApiError
|
|
56
56
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
57
|
-
|
|
57
|
+
expect(error === undefined)
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
})
|
|
@@ -68,7 +68,7 @@ describeSkipIfNoDiviner('XyoLocationDivinerApi', () => {
|
|
|
68
68
|
} catch (ex) {
|
|
69
69
|
const error = ex as AxiosError
|
|
70
70
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
71
|
-
|
|
71
|
+
expect(error === undefined)
|
|
72
72
|
}
|
|
73
73
|
})
|
|
74
74
|
it('posts a location time range query', async () => {
|
|
@@ -80,7 +80,7 @@ describeSkipIfNoDiviner('XyoLocationDivinerApi', () => {
|
|
|
80
80
|
} catch (ex) {
|
|
81
81
|
const error = ex as AxiosError
|
|
82
82
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
83
|
-
|
|
83
|
+
expect(error === undefined)
|
|
84
84
|
}
|
|
85
85
|
})
|
|
86
86
|
})
|
|
@@ -94,7 +94,7 @@ describeSkipIfNoDiviner('XyoLocationDivinerApi', () => {
|
|
|
94
94
|
} catch (ex) {
|
|
95
95
|
const error = ex as AxiosError
|
|
96
96
|
console.log(JSON.stringify(error.response?.data, null, 2))
|
|
97
|
-
|
|
97
|
+
expect(error === undefined)
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
})
|