hcloud-sdk 22.20.1 → 22.21.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 CHANGED
@@ -1,5 +1,5 @@
1
- ## [22.20.1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.20.0...v22.20.1) (2026-08-11)
1
+ ## [22.21.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.20.1...v22.21.0) (2026-08-25)
2
2
 
3
- ### Bug Fixes
3
+ ### Features
4
4
 
5
- * make done response not omit the steamresponse ([58d3a16](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/58d3a16fbdd8053a62d009a7849626c2a9f9a4f0))
5
+ * add name connection param to NATS ([fef427a](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/fef427a6da3691c14eb7bd9229a1bfe0ff49b5d5))
@@ -10,6 +10,7 @@ import { NatsCallback, NatsMessageType, NatsObject, NatsObjectType, RawMsg } fro
10
10
  * Object.assign(global, { WebSocket: WebSocket });
11
11
  */
12
12
  type ConnectParamsJwt = {
13
+ name?: string;
13
14
  email: string;
14
15
  jwt: string;
15
16
  servers?: string[];
@@ -26,6 +27,7 @@ type ConnectParamsJwt = {
26
27
  * Object.assign(global, { WebSocket: WebSocket });
27
28
  */
28
29
  type ConnectParamsPassword = {
30
+ name?: string;
29
31
  username: string;
30
32
  password: string;
31
33
  servers?: string[];
@@ -48,6 +48,7 @@ class Nats extends Base_1.default {
48
48
  }
49
49
  }
50
50
  this.natsConnection = yield this.connection({
51
+ name: params.name,
51
52
  debug: params.debug,
52
53
  maxReconnectAttempts: -1,
53
54
  servers: params.servers,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.20.1",
3
+ "version": "22.21.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",