hcloud-sdk 22.28.0 → 22.29.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,9 @@
1
- ## [22.28.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.27.0...v22.28.0) (2026-09-01)
1
+ ## [22.29.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.28.0...v22.29.0) (2026-09-09)
2
2
 
3
3
  ### Features
4
4
 
5
- * add executor to execution status ([df22fd7](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/df22fd7a6e9ab337969fab9c0d87066c9cacf5a6))
5
+ * introduce nats message object ([0cfff40](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/0cfff40042da3875cd737c1eb3953ef22e569dc4))
6
+
7
+ ### Reverts
8
+
9
+ * introduce a new nats subject for standard user information ([8c61176](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/8c6117617ff972db702646307a677eb6c0f756d6))
@@ -5,7 +5,6 @@ import { High5ExecuteOnAgentRequest, High5ExecutionCancelRequest } from "../high
5
5
  import { CapturedRequest } from "../high5/space/request";
6
6
  import { LicenseTier } from "../idp";
7
7
  declare enum NatsSubject {
8
- IDP_USER = "hcloud.idp.user.${userId}",
9
8
  IDP_USER_GENERAL = "hcloud.idp.user.${userId}.general",
10
9
  IDP_USER_PROFILE = "hcloud.idp.user.${userId}.profile",
11
10
  IDP_USER_NOTIFICATIONS = "hcloud.idp.user.${userId}.notifications",
@@ -133,9 +132,8 @@ interface NatsMessage {
133
132
  object: NatsObject;
134
133
  objectType: NatsObjectType;
135
134
  }
136
- interface NatsObject extends NatsNameObject, NatsIdObject, NatsUserInformObject, NatsMemberObject, NatsSecretObject, NatsExecTargetObject, High5ExecuteOnAgentRequest, High5ExecutionCancelRequest, CapturedRequest, NatsLicenseObject, NatsCustomNodeObject, NatsAssetObject, NatsIdNoUnderscoreObject, NatsTargetObject, NatsAgentConnectionObject, NatsCosmoStatusObject {
137
- [NatsSubject.IDP_USER_GENERAL]: NatsIdObject;
138
- [NatsSubject.IDP_USER]: NatsUserInformObject;
135
+ interface NatsObject extends NatsNameObject, NatsIdObject, NatsMemberObject, NatsSecretObject, NatsExecTargetObject, High5ExecuteOnAgentRequest, High5ExecutionCancelRequest, CapturedRequest, NatsLicenseObject, NatsCustomNodeObject, NatsAssetObject, NatsIdNoUnderscoreObject, NatsTargetObject, NatsAgentConnectionObject, NatsCosmoStatusObject, NatsMessageObject {
136
+ [NatsSubject.IDP_USER_GENERAL]: NatsMessageObject;
139
137
  [NatsSubject.IDP_USER_PROFILE]: NatsIdObject;
140
138
  [NatsSubject.IDP_USER_SECURITY_PATS]: NatsIdObject;
141
139
  [NatsSubject.IDP_USER_SECURITY_GENERAL]: unknown;
@@ -192,12 +190,12 @@ interface NatsNameObject {
192
190
  interface NatsIdObject {
193
191
  _id: string;
194
192
  }
193
+ interface NatsMessageObject extends NatsIdObject {
194
+ msg?: string;
195
+ }
195
196
  interface NatsIdNoUnderscoreObject {
196
197
  id: string;
197
198
  }
198
- interface NatsUserInformObject extends NatsIdObject {
199
- msg: string;
200
- }
201
199
  interface NatsAssetObject {
202
200
  _id: string;
203
201
  parent?: {
@@ -255,7 +253,6 @@ type NatsCallback = (err: Error | null, msg?: NatsMessage, rawMsg?: Msg) => void
255
253
  declare class NatsSubjects {
256
254
  static IDP: {
257
255
  new (): {};
258
- USER: (userId: string, msg: string) => string;
259
256
  User: {
260
257
  new (): {};
261
258
  GENERAL: (userId: string) => string;
@@ -8,7 +8,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.NatsSubjects = exports.NatsSubject = exports.NatsObjectType = exports.NatsMessageType = void 0;
9
9
  var NatsSubject;
10
10
  (function (NatsSubject) {
11
- NatsSubject["IDP_USER"] = "hcloud.idp.user.${userId}";
12
11
  NatsSubject["IDP_USER_GENERAL"] = "hcloud.idp.user.${userId}.general";
13
12
  NatsSubject["IDP_USER_PROFILE"] = "hcloud.idp.user.${userId}.profile";
14
13
  NatsSubject["IDP_USER_NOTIFICATIONS"] = "hcloud.idp.user.${userId}.notifications";
@@ -142,9 +141,6 @@ exports.NatsSubjects = NatsSubjects;
142
141
  NatsSubjects.IDP = (_a = class {
143
142
  },
144
143
  __setFunctionName(_a, "IDP"),
145
- _a.USER = (userId, msg) => {
146
- return NatsSubjects.replace(NatsSubject.IDP_USER, { userId, msg });
147
- },
148
144
  _a.User = (_b = class {
149
145
  },
150
146
  __setFunctionName(_b, "User"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.28.0",
3
+ "version": "22.29.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",