@xchainjs/xchain-thornode 0.1.2 → 0.1.4

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/CHANGELOG.md ADDED
@@ -0,0 +1,53 @@
1
+ # v0.1.4 (2022-12-08)
2
+
3
+ ## Update
4
+
5
+ - Update to latest THORNode 1.101.0
6
+
7
+ # v0.1.3 (2022-12-07)
8
+
9
+ ## Update
10
+
11
+ - Update to latest THORNode 1.100.0
12
+ - support custom headers
13
+ - set default 'x-client-id' in all calls
14
+
15
+ # v0.1.2 (2022-11-11)
16
+
17
+ ## Update
18
+
19
+ - Update to latest THORNode 1.99.0
20
+
21
+ # v0.1.1 (2022-10-24)
22
+
23
+ ## Update
24
+
25
+ - Update to latest THORNode 1.98.0
26
+
27
+ # v0.0.1.0 (2022-10-04)
28
+
29
+ ## Update
30
+
31
+ - Update to latest THORNode 1.97.2
32
+
33
+ # v0.0.1.0-alpha4 (2022-08-20)
34
+
35
+ ## Update
36
+
37
+ - Update to latest THORNode 1.95.0
38
+ - Generate files from `*.yaml` (to avoid extra step of convertion to `*.json`)
39
+ - Remove `yamljs`
40
+
41
+ # v0.0.1.0-alpha3 (2022-07-21)
42
+
43
+ ???
44
+
45
+ # v0.0.1.0-alpha2 (2022-07-7)
46
+
47
+ ## Fix
48
+
49
+ - Fix `OutboundProcess and ScheduledOutbound` exported interfaces, by preprocessing yaml->json (https://github.com/OpenAPITools/openapi-generator/issues/1593)
50
+
51
+ # v0.0.1.0-alpha (2022-07-4)
52
+
53
+ ## Module Created
package/README.md CHANGED
@@ -27,6 +27,23 @@ Request data from MimirApi
27
27
  const mimirResponse = await mimirApi.mimir()
28
28
  console.log(mimirResponse.data)
29
29
 
30
+ ```
31
+ ## Example - set custom header
32
+
33
+ Request data from MimirApi
34
+
35
+ ```
36
+ // THORNODE_API_9R_URL - default exported URL
37
+ // import { MimirApi, THORNODE_API_9R_URL, Configuration } from '@xchainjs/xchain-thornode'
38
+
39
+ const baseUrl = THORNODE_API_9R_URL
40
+ const headers = {"x-client-id": "my-custom-val"}
41
+ const baseOptions = { headers }
42
+ const apiconfig = new Configuration({ basePath: baseUrl , baseOptions })
43
+ const mimirApi = new MimirApi(apiconfig)
44
+ const mimirResponse = await mimirApi.mimir()
45
+ console.log(mimirResponse.data)
46
+
30
47
  ```
31
48
 
32
49
  ## Documentation
@@ -2,7 +2,7 @@
2
2
  * Thornode API
3
3
  * Thornode REST API.
4
4
  *
5
- * The version of the OpenAPI document: 1.99.0
5
+ * The version of the OpenAPI document: 1.101.0
6
6
  * Contact: devs@thorchain.org
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -92,7 +92,7 @@ export interface ConstantsResponse {
92
92
  * @type {{ [key: string]: string; }}
93
93
  * @memberof ConstantsResponse
94
94
  */
95
- 'int64_values'?: {
95
+ 'int_64_values'?: {
96
96
  [key: string]: string;
97
97
  };
98
98
  /**
@@ -384,7 +384,7 @@ export interface LiquidityProvider {
384
384
  * @type {string}
385
385
  * @memberof LiquidityProvider
386
386
  */
387
- 'pending_tx_Id'?: string;
387
+ 'pending_tx_id'?: string;
388
388
  /**
389
389
  *
390
390
  * @type {string}
@@ -397,13 +397,116 @@ export interface LiquidityProvider {
397
397
  * @memberof LiquidityProvider
398
398
  */
399
399
  'asset_deposit_value': string;
400
+ /**
401
+ *
402
+ * @type {string}
403
+ * @memberof LiquidityProvider
404
+ */
405
+ 'rune_redeem_value': string;
406
+ /**
407
+ *
408
+ * @type {string}
409
+ * @memberof LiquidityProvider
410
+ */
411
+ 'asset_redeem_value': string;
412
+ /**
413
+ *
414
+ * @type {string}
415
+ * @memberof LiquidityProvider
416
+ */
417
+ 'luvi_deposit_value': string;
418
+ /**
419
+ *
420
+ * @type {string}
421
+ * @memberof LiquidityProvider
422
+ */
423
+ 'luvi_redeem_value': string;
424
+ /**
425
+ *
426
+ * @type {string}
427
+ * @memberof LiquidityProvider
428
+ */
429
+ 'luvi_growth_pct': string;
400
430
  }
401
431
  /**
402
432
  *
403
433
  * @export
404
- * @interface LiquidityProviderResponse
434
+ * @interface LiquidityProviderSummary
405
435
  */
406
- export interface LiquidityProviderResponse extends Array<LiquidityProvider> {
436
+ export interface LiquidityProviderSummary {
437
+ /**
438
+ *
439
+ * @type {string}
440
+ * @memberof LiquidityProviderSummary
441
+ */
442
+ 'asset': string;
443
+ /**
444
+ *
445
+ * @type {string}
446
+ * @memberof LiquidityProviderSummary
447
+ */
448
+ 'rune_address'?: string;
449
+ /**
450
+ *
451
+ * @type {string}
452
+ * @memberof LiquidityProviderSummary
453
+ */
454
+ 'asset_address'?: string;
455
+ /**
456
+ *
457
+ * @type {number}
458
+ * @memberof LiquidityProviderSummary
459
+ */
460
+ 'last_add_height'?: number;
461
+ /**
462
+ *
463
+ * @type {number}
464
+ * @memberof LiquidityProviderSummary
465
+ */
466
+ 'last_withdraw_height'?: number;
467
+ /**
468
+ *
469
+ * @type {string}
470
+ * @memberof LiquidityProviderSummary
471
+ */
472
+ 'units': string;
473
+ /**
474
+ *
475
+ * @type {string}
476
+ * @memberof LiquidityProviderSummary
477
+ */
478
+ 'pending_rune': string;
479
+ /**
480
+ *
481
+ * @type {string}
482
+ * @memberof LiquidityProviderSummary
483
+ */
484
+ 'pending_asset': string;
485
+ /**
486
+ *
487
+ * @type {string}
488
+ * @memberof LiquidityProviderSummary
489
+ */
490
+ 'pending_tx_id'?: string;
491
+ /**
492
+ *
493
+ * @type {string}
494
+ * @memberof LiquidityProviderSummary
495
+ */
496
+ 'rune_deposit_value': string;
497
+ /**
498
+ *
499
+ * @type {string}
500
+ * @memberof LiquidityProviderSummary
501
+ */
502
+ 'asset_deposit_value': string;
503
+ }
504
+ /**
505
+ *
506
+ * @export
507
+ * @interface LiquidityProvidersResponse
508
+ */
509
+ export interface LiquidityProvidersResponse extends Array<LiquidityProviderSummary> {
407
510
  }
408
511
  /**
409
512
  *
@@ -483,29 +586,35 @@ export interface NetworkResponse {
483
586
  */
484
587
  'bond_reward_rune': string;
485
588
  /**
486
- * total bonded RUNE
589
+ * total of burned BEP2 RUNE
487
590
  * @type {string}
488
591
  * @memberof NetworkResponse
489
592
  */
490
- 'total_bond_units': string;
593
+ 'burned_bep_2_rune': string;
491
594
  /**
492
- * total reserve RUNE
595
+ * total of burned ERC20 RUNE
493
596
  * @type {string}
494
597
  * @memberof NetworkResponse
495
598
  */
496
- 'total_reserve': string;
599
+ 'burned_erc_20_rune': string;
497
600
  /**
498
- * total of burned BEP2 RUNE
601
+ * total bonded RUNE
499
602
  * @type {string}
500
603
  * @memberof NetworkResponse
501
604
  */
502
- 'burned_bep_2_rune': string;
605
+ 'total_bond_units': string;
503
606
  /**
504
- * total of burned ERC20 RUNE
607
+ * total reserve RUNE
505
608
  * @type {string}
506
609
  * @memberof NetworkResponse
507
610
  */
508
- 'burned_erc_20_rune': string;
611
+ 'total_reserve': string;
612
+ /**
613
+ * Returns true if there exist RetiringVaults which have not finished migrating funds to new ActiveVaults
614
+ * @type {boolean}
615
+ * @memberof NetworkResponse
616
+ */
617
+ 'vaults_migrating': boolean;
509
618
  }
510
619
  /**
511
620
  *
@@ -538,29 +647,35 @@ export interface Node {
538
647
  */
539
648
  'validator_cons_pub_key': string;
540
649
  /**
541
- * current node bond
542
- * @type {string}
650
+ * the block height at which the node became active
651
+ * @type {number}
543
652
  * @memberof Node
544
653
  */
545
- 'bond': string;
654
+ 'active_block_height': number;
546
655
  /**
547
- * the block height at which the node became active
656
+ * the block height of the current provided information for the node
548
657
  * @type {number}
549
658
  * @memberof Node
550
659
  */
551
- 'active_block_height': number;
660
+ 'status_since': number;
552
661
  /**
553
662
  *
554
663
  * @type {string}
555
664
  * @memberof Node
556
665
  */
557
- 'bond_address': string;
666
+ 'node_operator_address': string;
558
667
  /**
559
- * the block height of the current provided information for the node
560
- * @type {number}
668
+ * current node bond
669
+ * @type {string}
561
670
  * @memberof Node
562
671
  */
563
- 'status_since': number;
672
+ 'total_bond': string;
673
+ /**
674
+ *
675
+ * @type {NodeBondProviders}
676
+ * @memberof Node
677
+ */
678
+ 'bond_providers': NodeBondProviders;
564
679
  /**
565
680
  * the set of vault public keys of which the node is a member
566
681
  * @type {Array<string>}
@@ -627,12 +742,6 @@ export interface Node {
627
742
  * @memberof Node
628
743
  */
629
744
  'preflight_status': NodePreflightStatus;
630
- /**
631
- *
632
- * @type {NodeBondProviders}
633
- * @memberof Node
634
- */
635
- 'bond_providers': NodeBondProviders;
636
745
  }
637
746
  export declare const NodeStatusEnum: {
638
747
  readonly Active: "Active";
@@ -667,13 +776,7 @@ export interface NodeBondProvider {
667
776
  */
668
777
  export interface NodeBondProviders {
669
778
  /**
670
- *
671
- * @type {string}
672
- * @memberof NodeBondProviders
673
- */
674
- 'node_address'?: string;
675
- /**
676
- *
779
+ * node operator fee in basis points
677
780
  * @type {string}
678
781
  * @memberof NodeBondProviders
679
782
  */
@@ -691,12 +794,6 @@ export interface NodeBondProviders {
691
794
  * @interface NodeJail
692
795
  */
693
796
  export interface NodeJail {
694
- /**
695
- *
696
- * @type {string}
697
- * @memberof NodeJail
698
- */
699
- 'node_address'?: string;
700
797
  /**
701
798
  *
702
799
  * @type {number}
@@ -1234,6 +1331,68 @@ export interface QuoteSwapResponse {
1234
1331
  */
1235
1332
  'slippage_bps': number;
1236
1333
  }
1334
+ /**
1335
+ *
1336
+ * @export
1337
+ * @interface Saver
1338
+ */
1339
+ export interface Saver {
1340
+ /**
1341
+ *
1342
+ * @type {string}
1343
+ * @memberof Saver
1344
+ */
1345
+ 'asset': string;
1346
+ /**
1347
+ *
1348
+ * @type {string}
1349
+ * @memberof Saver
1350
+ */
1351
+ 'asset_address': string;
1352
+ /**
1353
+ *
1354
+ * @type {number}
1355
+ * @memberof Saver
1356
+ */
1357
+ 'last_add_height'?: number;
1358
+ /**
1359
+ *
1360
+ * @type {number}
1361
+ * @memberof Saver
1362
+ */
1363
+ 'last_withdraw_height'?: number;
1364
+ /**
1365
+ *
1366
+ * @type {string}
1367
+ * @memberof Saver
1368
+ */
1369
+ 'units': string;
1370
+ /**
1371
+ *
1372
+ * @type {string}
1373
+ * @memberof Saver
1374
+ */
1375
+ 'asset_deposit_value': string;
1376
+ /**
1377
+ *
1378
+ * @type {string}
1379
+ * @memberof Saver
1380
+ */
1381
+ 'asset_redeem_value': string;
1382
+ /**
1383
+ *
1384
+ * @type {string}
1385
+ * @memberof Saver
1386
+ */
1387
+ 'growth_pct': string;
1388
+ }
1389
+ /**
1390
+ *
1391
+ * @export
1392
+ * @interface SaverResponse
1393
+ */
1394
+ export interface SaverResponse extends Array<LiquidityProvider> {
1395
+ }
1237
1396
  /**
1238
1397
  *
1239
1398
  * @export
@@ -1509,16 +1668,16 @@ export interface TxSignersResponse {
1509
1668
  'txs': Array<ObservedTx>;
1510
1669
  /**
1511
1670
  *
1512
- * @type {Array<ObservedTx>}
1671
+ * @type {Array<TxOutItem>}
1513
1672
  * @memberof TxSignersResponse
1514
1673
  */
1515
- 'actions': Array<ObservedTx>;
1674
+ 'actions': Array<TxOutItem>;
1516
1675
  /**
1517
1676
  *
1518
- * @type {Array<string>}
1677
+ * @type {Array<Tx>}
1519
1678
  * @memberof TxSignersResponse
1520
1679
  */
1521
- 'out_txs': Array<string>;
1680
+ 'out_txs': Array<Tx>;
1522
1681
  /**
1523
1682
  * the thorchain height at which the outbound was finalised
1524
1683
  * @type {number}
@@ -1829,7 +1988,7 @@ export declare const LiquidityProvidersApiFp: (configuration?: Configuration | u
1829
1988
  * @param {*} [options] Override http request option.
1830
1989
  * @throws {RequiredError}
1831
1990
  */
1832
- liquidityProvider(asset: string, address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LiquidityProviderResponse>>;
1991
+ liquidityProvider(asset: string, address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LiquidityProvider>>;
1833
1992
  /**
1834
1993
  * Returns all liquidity provider information for an asset.
1835
1994
  * @param {string} asset
@@ -1837,7 +1996,7 @@ export declare const LiquidityProvidersApiFp: (configuration?: Configuration | u
1837
1996
  * @param {*} [options] Override http request option.
1838
1997
  * @throws {RequiredError}
1839
1998
  */
1840
- liquidityProviders(asset: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LiquidityProviderResponse>>;
1999
+ liquidityProviders(asset: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LiquidityProvidersResponse>>;
1841
2000
  };
1842
2001
  /**
1843
2002
  * LiquidityProvidersApi - factory interface
@@ -1852,7 +2011,7 @@ export declare const LiquidityProvidersApiFactory: (configuration?: Configuratio
1852
2011
  * @param {*} [options] Override http request option.
1853
2012
  * @throws {RequiredError}
1854
2013
  */
1855
- liquidityProvider(asset: string, address: string, height?: number | undefined, options?: any): AxiosPromise<LiquidityProviderResponse>;
2014
+ liquidityProvider(asset: string, address: string, height?: number | undefined, options?: any): AxiosPromise<LiquidityProvider>;
1856
2015
  /**
1857
2016
  * Returns all liquidity provider information for an asset.
1858
2017
  * @param {string} asset
@@ -1860,7 +2019,7 @@ export declare const LiquidityProvidersApiFactory: (configuration?: Configuratio
1860
2019
  * @param {*} [options] Override http request option.
1861
2020
  * @throws {RequiredError}
1862
2021
  */
1863
- liquidityProviders(asset: string, height?: number | undefined, options?: any): AxiosPromise<LiquidityProviderResponse>;
2022
+ liquidityProviders(asset: string, height?: number | undefined, options?: any): AxiosPromise<LiquidityProvidersResponse>;
1864
2023
  };
1865
2024
  /**
1866
2025
  * LiquidityProvidersApi - object-oriented interface
@@ -1878,7 +2037,7 @@ export declare class LiquidityProvidersApi extends BaseAPI {
1878
2037
  * @throws {RequiredError}
1879
2038
  * @memberof LiquidityProvidersApi
1880
2039
  */
1881
- liquidityProvider(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProviderResponse, any>>;
2040
+ liquidityProvider(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProvider, any>>;
1882
2041
  /**
1883
2042
  * Returns all liquidity provider information for an asset.
1884
2043
  * @param {string} asset
@@ -1887,7 +2046,7 @@ export declare class LiquidityProvidersApi extends BaseAPI {
1887
2046
  * @throws {RequiredError}
1888
2047
  * @memberof LiquidityProvidersApi
1889
2048
  */
1890
- liquidityProviders(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProviderResponse, any>>;
2049
+ liquidityProviders(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProvidersResponse, any>>;
1891
2050
  }
1892
2051
  /**
1893
2052
  * MimirApi - axios parameter creator
@@ -2875,7 +3034,7 @@ export declare const SaversApiFp: (configuration?: Configuration | undefined) =>
2875
3034
  * @param {*} [options] Override http request option.
2876
3035
  * @throws {RequiredError}
2877
3036
  */
2878
- saver(asset: string, address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LiquidityProviderResponse>>;
3037
+ saver(asset: string, address: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SaverResponse>>;
2879
3038
  /**
2880
3039
  * Returns all savers for the savers pool.
2881
3040
  * @param {string} asset
@@ -2883,7 +3042,7 @@ export declare const SaversApiFp: (configuration?: Configuration | undefined) =>
2883
3042
  * @param {*} [options] Override http request option.
2884
3043
  * @throws {RequiredError}
2885
3044
  */
2886
- savers(asset: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LiquidityProviderResponse>>;
3045
+ savers(asset: string, height?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SaverResponse>>;
2887
3046
  };
2888
3047
  /**
2889
3048
  * SaversApi - factory interface
@@ -2898,7 +3057,7 @@ export declare const SaversApiFactory: (configuration?: Configuration | undefine
2898
3057
  * @param {*} [options] Override http request option.
2899
3058
  * @throws {RequiredError}
2900
3059
  */
2901
- saver(asset: string, address: string, height?: number | undefined, options?: any): AxiosPromise<LiquidityProviderResponse>;
3060
+ saver(asset: string, address: string, height?: number | undefined, options?: any): AxiosPromise<SaverResponse>;
2902
3061
  /**
2903
3062
  * Returns all savers for the savers pool.
2904
3063
  * @param {string} asset
@@ -2906,7 +3065,7 @@ export declare const SaversApiFactory: (configuration?: Configuration | undefine
2906
3065
  * @param {*} [options] Override http request option.
2907
3066
  * @throws {RequiredError}
2908
3067
  */
2909
- savers(asset: string, height?: number | undefined, options?: any): AxiosPromise<LiquidityProviderResponse>;
3068
+ savers(asset: string, height?: number | undefined, options?: any): AxiosPromise<SaverResponse>;
2910
3069
  };
2911
3070
  /**
2912
3071
  * SaversApi - object-oriented interface
@@ -2924,7 +3083,7 @@ export declare class SaversApi extends BaseAPI {
2924
3083
  * @throws {RequiredError}
2925
3084
  * @memberof SaversApi
2926
3085
  */
2927
- saver(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProviderResponse, any>>;
3086
+ saver(asset: string, address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SaverResponse, any>>;
2928
3087
  /**
2929
3088
  * Returns all savers for the savers pool.
2930
3089
  * @param {string} asset
@@ -2933,7 +3092,7 @@ export declare class SaversApi extends BaseAPI {
2933
3092
  * @throws {RequiredError}
2934
3093
  * @memberof SaversApi
2935
3094
  */
2936
- savers(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LiquidityProviderResponse, any>>;
3095
+ savers(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SaverResponse, any>>;
2937
3096
  }
2938
3097
  /**
2939
3098
  * TSSApi - axios parameter creator
@@ -2,7 +2,7 @@
2
2
  * Thornode API
3
3
  * Thornode REST API.
4
4
  *
5
- * The version of the OpenAPI document: 1.99.0
5
+ * The version of the OpenAPI document: 1.101.0
6
6
  * Contact: devs@thorchain.org
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Thornode API
3
3
  * Thornode REST API.
4
4
  *
5
- * The version of the OpenAPI document: 1.99.0
5
+ * The version of the OpenAPI document: 1.101.0
6
6
  * Contact: devs@thorchain.org
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Thornode API
3
3
  * Thornode REST API.
4
4
  *
5
- * The version of the OpenAPI document: 1.99.0
5
+ * The version of the OpenAPI document: 1.101.0
6
6
  * Contact: devs@thorchain.org
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Thornode API
3
3
  * Thornode REST API.
4
4
  *
5
- * The version of the OpenAPI document: 1.99.0
5
+ * The version of the OpenAPI document: 1.101.0
6
6
  * Contact: devs@thorchain.org
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/lib/index.esm.js CHANGED
@@ -3178,7 +3178,7 @@ class VaultsApi extends BaseAPI {
3178
3178
  * Thornode API
3179
3179
  * Thornode REST API.
3180
3180
  *
3181
- * The version of the OpenAPI document: 1.99.0
3181
+ * The version of the OpenAPI document: 1.101.0
3182
3182
  * Contact: devs@thorchain.org
3183
3183
  *
3184
3184
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/lib/index.js CHANGED
@@ -3186,7 +3186,7 @@ class VaultsApi extends BaseAPI {
3186
3186
  * Thornode API
3187
3187
  * Thornode REST API.
3188
3188
  *
3189
- * The version of the OpenAPI document: 1.99.0
3189
+ * The version of the OpenAPI document: 1.101.0
3190
3190
  * Contact: devs@thorchain.org
3191
3191
  *
3192
3192
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xchainjs/xchain-thornode",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "license": "MIT",
5
5
  "description": "Thornode module that exposes all thornode functions using openapi-generator-cli",
6
6
  "keywords": [
@@ -29,8 +29,8 @@
29
29
  "lint": "eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0",
30
30
  "prepublishOnly": "yarn run build",
31
31
  "test": "jest --passWithNoTests",
32
- "generate:types": "yarn clean:types:thornode && yarn generate:types:thornode",
33
- "generate:types:thornode": "TS_POST_PROCESS_FILE=./node_modules/.bin/prettier openapi-generator-cli generate -i https://gitlab.com/thorchain/thornode/-/raw/release-1.99.0/openapi/openapi.yaml -g typescript-axios -o ./src/generated/thornodeApi --skip-validate-spec --generate-alias-as-model",
32
+ "generate:types": "yarn clean:types:thornode && yarn generate:types:thornode && scripts/modifyBaseAPI.sh",
33
+ "generate:types:thornode": "TS_POST_PROCESS_FILE=./node_modules/.bin/prettier openapi-generator-cli generate -i https://gitlab.com/thorchain/thornode/-/raw/release-1.101.0/openapi/openapi.yaml -g typescript-axios -o ./src/generated/thornodeApi --skip-validate-spec --generate-alias-as-model",
34
34
  "clean:types:thornode": "rimraf ./src/generated/thornodeApi"
35
35
  },
36
36
  "devDependencies": {