@xchainjs/xchain-thornode 0.3.19 → 0.3.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/lib/index.esm.js +46 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +114 -75
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
package/lib/index.esm.js
CHANGED
|
@@ -14,6 +14,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
14
14
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
15
|
PERFORMANCE OF THIS SOFTWARE.
|
|
16
16
|
***************************************************************************** */
|
|
17
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
18
|
+
|
|
17
19
|
|
|
18
20
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
19
21
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -23,9 +25,28 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
23
25
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
24
26
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
25
27
|
});
|
|
26
|
-
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
31
|
+
var e = new Error(message);
|
|
32
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
33
|
+
};
|
|
27
34
|
|
|
28
35
|
/* tslint:disable */
|
|
36
|
+
/* eslint-disable */
|
|
37
|
+
/**
|
|
38
|
+
* Thornode API
|
|
39
|
+
* Thornode REST API.
|
|
40
|
+
*
|
|
41
|
+
* The version of the OpenAPI document: 1.134.0
|
|
42
|
+
* Contact: devs@thorchain.org
|
|
43
|
+
*
|
|
44
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
45
|
+
* https://openapi-generator.tech
|
|
46
|
+
* Do not edit the class manually.
|
|
47
|
+
*/
|
|
48
|
+
// Some imports not used depending on template conditions
|
|
49
|
+
// @ts-ignore
|
|
29
50
|
const BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
30
51
|
/**
|
|
31
52
|
*
|
|
@@ -57,6 +78,18 @@ class RequiredError extends Error {
|
|
|
57
78
|
}
|
|
58
79
|
|
|
59
80
|
/* tslint:disable */
|
|
81
|
+
/* eslint-disable */
|
|
82
|
+
/**
|
|
83
|
+
* Thornode API
|
|
84
|
+
* Thornode REST API.
|
|
85
|
+
*
|
|
86
|
+
* The version of the OpenAPI document: 1.134.0
|
|
87
|
+
* Contact: devs@thorchain.org
|
|
88
|
+
*
|
|
89
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
90
|
+
* https://openapi-generator.tech
|
|
91
|
+
* Do not edit the class manually.
|
|
92
|
+
*/
|
|
60
93
|
/**
|
|
61
94
|
*
|
|
62
95
|
* @export
|
|
@@ -118,6 +151,18 @@ const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, confi
|
|
|
118
151
|
};
|
|
119
152
|
|
|
120
153
|
/* tslint:disable */
|
|
154
|
+
/* eslint-disable */
|
|
155
|
+
/**
|
|
156
|
+
* Thornode API
|
|
157
|
+
* Thornode REST API.
|
|
158
|
+
*
|
|
159
|
+
* The version of the OpenAPI document: 1.134.0
|
|
160
|
+
* Contact: devs@thorchain.org
|
|
161
|
+
*
|
|
162
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
163
|
+
* https://openapi-generator.tech
|
|
164
|
+
* Do not edit the class manually.
|
|
165
|
+
*/
|
|
121
166
|
const NodeStatusEnum = {
|
|
122
167
|
Active: 'Active',
|
|
123
168
|
Whitelisted: 'Whitelisted',
|