@nirvana-labs/nirvana 1.12.0 → 1.13.0
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 +24 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +4 -5
- package/resources/api-keys.d.mts +2 -2
- package/resources/api-keys.d.ts +2 -2
- package/resources/api-keys.js +2 -2
- package/resources/api-keys.mjs +2 -2
- package/resources/connect/flux.d.mts +1 -1
- package/resources/connect/flux.d.ts +1 -1
- package/resources/connect/flux.js +1 -1
- package/resources/connect/flux.mjs +1 -1
- package/resources/networking/firewall-rules.d.mts +11 -7
- package/resources/networking/firewall-rules.d.mts.map +1 -1
- package/resources/networking/firewall-rules.d.ts +11 -7
- package/resources/networking/firewall-rules.d.ts.map +1 -1
- package/resources/networking/firewall-rules.js +1 -1
- package/resources/networking/firewall-rules.mjs +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.mts +31 -2
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +31 -2
- package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.mts +31 -2
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +31 -2
- package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.js.map +1 -1
- package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
- package/resources/shared.d.mts +1 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +1 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/vektor/executions/steps.d.mts +348 -72
- package/resources/vektor/executions/steps.d.mts.map +1 -1
- package/resources/vektor/executions/steps.d.ts +348 -72
- package/resources/vektor/executions/steps.d.ts.map +1 -1
- package/resources/vektor/registry/errors.d.mts +4 -9
- package/resources/vektor/registry/errors.d.mts.map +1 -1
- package/resources/vektor/registry/errors.d.ts +4 -9
- package/resources/vektor/registry/errors.d.ts.map +1 -1
- package/resources/vektor/registry/errors.js +2 -1
- package/resources/vektor/registry/errors.js.map +1 -1
- package/resources/vektor/registry/errors.mjs +2 -1
- package/resources/vektor/registry/errors.mjs.map +1 -1
- package/resources/vektor/registry/index.d.mts +1 -1
- package/resources/vektor/registry/index.d.mts.map +1 -1
- package/resources/vektor/registry/index.d.ts +1 -1
- package/resources/vektor/registry/index.d.ts.map +1 -1
- package/resources/vektor/registry/index.js.map +1 -1
- package/resources/vektor/registry/index.mjs.map +1 -1
- package/resources/vektor/registry/registry.d.mts +2 -2
- package/resources/vektor/registry/registry.d.mts.map +1 -1
- package/resources/vektor/registry/registry.d.ts +2 -2
- package/resources/vektor/registry/registry.d.ts.map +1 -1
- package/resources/vektor/registry/registry.js.map +1 -1
- package/resources/vektor/registry/registry.mjs.map +1 -1
- package/resources/vektor/vektor.d.mts +397 -84
- package/resources/vektor/vektor.d.mts.map +1 -1
- package/resources/vektor/vektor.d.ts +397 -84
- package/resources/vektor/vektor.d.ts.map +1 -1
- package/resources/vektor/vektor.js.map +1 -1
- package/resources/vektor/vektor.mjs.map +1 -1
- package/src/client.ts +3 -1
- package/src/resources/api-keys.ts +2 -2
- package/src/resources/connect/flux.ts +1 -1
- package/src/resources/networking/firewall-rules.ts +11 -7
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +31 -3
- package/src/resources/rpc-nodes/flex/flex.ts +31 -3
- package/src/resources/shared.ts +0 -2
- package/src/resources/vektor/executions/steps.ts +372 -48
- package/src/resources/vektor/registry/errors.ts +4 -10
- package/src/resources/vektor/registry/index.ts +1 -1
- package/src/resources/vektor/registry/registry.ts +2 -6
- package/src/resources/vektor/vektor.ts +428 -58
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -11,28 +11,22 @@ export class Errors extends APIResource {
|
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
14
|
-
* const
|
|
14
|
+
* const errorListOutput =
|
|
15
|
+
* await client.vektor.registry.errors.list();
|
|
15
16
|
* ```
|
|
16
17
|
*/
|
|
17
18
|
list(
|
|
18
19
|
body: ErrorListParams | null | undefined = {},
|
|
19
20
|
options?: RequestOptions,
|
|
20
|
-
): APIPromise<
|
|
21
|
+
): APIPromise<VektorAPI.ErrorListOutput> {
|
|
21
22
|
return this._client.post('/v1/vektor/registry/errors', { body, ...options });
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export interface ErrorListResponse {
|
|
26
|
-
/**
|
|
27
|
-
* A list of errors
|
|
28
|
-
*/
|
|
29
|
-
items: Array<VektorAPI.VektorError>;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
26
|
export interface ErrorListParams {
|
|
33
27
|
errors?: Array<string> | null;
|
|
34
28
|
}
|
|
35
29
|
|
|
36
30
|
export declare namespace Errors {
|
|
37
|
-
export { type
|
|
31
|
+
export { type ErrorListParams as ErrorListParams };
|
|
38
32
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export { Assets, type AssetListResponse, type AssetListParams } from './assets';
|
|
4
4
|
export { Blockchains, type BlockchainListResponse, type BlockchainListParams } from './blockchains';
|
|
5
5
|
export { BorrowMarkets, type BorrowMarketListResponse, type BorrowMarketListParams } from './borrow-markets';
|
|
6
|
-
export { Errors, type
|
|
6
|
+
export { Errors, type ErrorListParams } from './errors';
|
|
7
7
|
export { LPPools, type LPPoolListResponse, type LPPoolListParams } from './lp-pools';
|
|
8
8
|
export { LendMarkets, type LendMarketListResponse, type LendMarketListParams } from './lend-markets';
|
|
9
9
|
export { Registry } from './registry';
|
|
@@ -8,7 +8,7 @@ import { BlockchainListParams, BlockchainListResponse, Blockchains } from './blo
|
|
|
8
8
|
import * as BorrowMarketsAPI from './borrow-markets';
|
|
9
9
|
import { BorrowMarketListParams, BorrowMarketListResponse, BorrowMarkets } from './borrow-markets';
|
|
10
10
|
import * as ErrorsAPI from './errors';
|
|
11
|
-
import { ErrorListParams,
|
|
11
|
+
import { ErrorListParams, Errors } from './errors';
|
|
12
12
|
import * as LendMarketsAPI from './lend-markets';
|
|
13
13
|
import { LendMarketListParams, LendMarketListResponse, LendMarkets } from './lend-markets';
|
|
14
14
|
import * as LPPoolsAPI from './lp-pools';
|
|
@@ -53,11 +53,7 @@ export declare namespace Registry {
|
|
|
53
53
|
type VenueListParams as VenueListParams,
|
|
54
54
|
};
|
|
55
55
|
|
|
56
|
-
export {
|
|
57
|
-
Errors as Errors,
|
|
58
|
-
type ErrorListResponse as ErrorListResponse,
|
|
59
|
-
type ErrorListParams as ErrorListParams,
|
|
60
|
-
};
|
|
56
|
+
export { Errors as Errors, type ErrorListParams as ErrorListParams };
|
|
61
57
|
|
|
62
58
|
export {
|
|
63
59
|
LendMarkets as LendMarkets,
|