@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.
Files changed (85) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts.map +1 -1
  4. package/client.js +1 -1
  5. package/client.js.map +1 -1
  6. package/client.mjs +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +4 -5
  9. package/resources/api-keys.d.mts +2 -2
  10. package/resources/api-keys.d.ts +2 -2
  11. package/resources/api-keys.js +2 -2
  12. package/resources/api-keys.mjs +2 -2
  13. package/resources/connect/flux.d.mts +1 -1
  14. package/resources/connect/flux.d.ts +1 -1
  15. package/resources/connect/flux.js +1 -1
  16. package/resources/connect/flux.mjs +1 -1
  17. package/resources/networking/firewall-rules.d.mts +11 -7
  18. package/resources/networking/firewall-rules.d.mts.map +1 -1
  19. package/resources/networking/firewall-rules.d.ts +11 -7
  20. package/resources/networking/firewall-rules.d.ts.map +1 -1
  21. package/resources/networking/firewall-rules.js +1 -1
  22. package/resources/networking/firewall-rules.mjs +1 -1
  23. package/resources/rpc-nodes/dedicated/dedicated.d.mts +31 -2
  24. package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
  25. package/resources/rpc-nodes/dedicated/dedicated.d.ts +31 -2
  26. package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
  27. package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
  28. package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
  29. package/resources/rpc-nodes/flex/flex.d.mts +31 -2
  30. package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
  31. package/resources/rpc-nodes/flex/flex.d.ts +31 -2
  32. package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
  33. package/resources/rpc-nodes/flex/flex.js.map +1 -1
  34. package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
  35. package/resources/shared.d.mts +1 -1
  36. package/resources/shared.d.mts.map +1 -1
  37. package/resources/shared.d.ts +1 -1
  38. package/resources/shared.d.ts.map +1 -1
  39. package/resources/vektor/executions/steps.d.mts +348 -72
  40. package/resources/vektor/executions/steps.d.mts.map +1 -1
  41. package/resources/vektor/executions/steps.d.ts +348 -72
  42. package/resources/vektor/executions/steps.d.ts.map +1 -1
  43. package/resources/vektor/registry/errors.d.mts +4 -9
  44. package/resources/vektor/registry/errors.d.mts.map +1 -1
  45. package/resources/vektor/registry/errors.d.ts +4 -9
  46. package/resources/vektor/registry/errors.d.ts.map +1 -1
  47. package/resources/vektor/registry/errors.js +2 -1
  48. package/resources/vektor/registry/errors.js.map +1 -1
  49. package/resources/vektor/registry/errors.mjs +2 -1
  50. package/resources/vektor/registry/errors.mjs.map +1 -1
  51. package/resources/vektor/registry/index.d.mts +1 -1
  52. package/resources/vektor/registry/index.d.mts.map +1 -1
  53. package/resources/vektor/registry/index.d.ts +1 -1
  54. package/resources/vektor/registry/index.d.ts.map +1 -1
  55. package/resources/vektor/registry/index.js.map +1 -1
  56. package/resources/vektor/registry/index.mjs.map +1 -1
  57. package/resources/vektor/registry/registry.d.mts +2 -2
  58. package/resources/vektor/registry/registry.d.mts.map +1 -1
  59. package/resources/vektor/registry/registry.d.ts +2 -2
  60. package/resources/vektor/registry/registry.d.ts.map +1 -1
  61. package/resources/vektor/registry/registry.js.map +1 -1
  62. package/resources/vektor/registry/registry.mjs.map +1 -1
  63. package/resources/vektor/vektor.d.mts +397 -84
  64. package/resources/vektor/vektor.d.mts.map +1 -1
  65. package/resources/vektor/vektor.d.ts +397 -84
  66. package/resources/vektor/vektor.d.ts.map +1 -1
  67. package/resources/vektor/vektor.js.map +1 -1
  68. package/resources/vektor/vektor.mjs.map +1 -1
  69. package/src/client.ts +3 -1
  70. package/src/resources/api-keys.ts +2 -2
  71. package/src/resources/connect/flux.ts +1 -1
  72. package/src/resources/networking/firewall-rules.ts +11 -7
  73. package/src/resources/rpc-nodes/dedicated/dedicated.ts +31 -3
  74. package/src/resources/rpc-nodes/flex/flex.ts +31 -3
  75. package/src/resources/shared.ts +0 -2
  76. package/src/resources/vektor/executions/steps.ts +372 -48
  77. package/src/resources/vektor/registry/errors.ts +4 -10
  78. package/src/resources/vektor/registry/index.ts +1 -1
  79. package/src/resources/vektor/registry/registry.ts +2 -6
  80. package/src/resources/vektor/vektor.ts +428 -58
  81. package/src/version.ts +1 -1
  82. package/version.d.mts +1 -1
  83. package/version.d.ts +1 -1
  84. package/version.js +1 -1
  85. package/version.mjs +1 -1
@@ -11,28 +11,22 @@ export class Errors extends APIResource {
11
11
  *
12
12
  * @example
13
13
  * ```ts
14
- * const errors = await client.vektor.registry.errors.list();
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<ErrorListResponse> {
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 ErrorListResponse as ErrorListResponse, type ErrorListParams as ErrorListParams };
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 ErrorListResponse, type ErrorListParams } from './errors';
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, ErrorListResponse, Errors } from './errors';
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,