hcloud-sdk 22.0.0 → 22.0.1

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,21 +1,5 @@
1
- ## [22.0.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v21.7.2...v22.0.0) (2026-07-14)
2
-
3
- ### ⚠ BREAKING CHANGES
4
-
5
- * trigger new version build
6
-
7
- ### Features
8
-
9
- * add change storage avatar endpoint ([b393aac](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b393aace86072b7a374b8fa5c98ae5b92bb1d1b7))
10
- * expose remaining seconds of email cooldown ([f63492c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f63492cc036865e9e369c533f89c7eb9dc3221d7))
11
- * extend list space endpoint response object by hasMediaAssets property ([530d44d](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/530d44db3fc5746ad089677bf9afc5c4cb0f1384))
12
- * implement dali storage endpoints ([bf7983a](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/bf7983ae1c4cbdf9e40a293b54a9d03a011a862f))
13
- * implements upload url variable in Upload object ([8997a44](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/8997a44e31ba3af0a69a8e4ef66f937ed878eb4b))
14
- * make text optional in EditComment interface ([7c36e39](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/7c36e393e4165952f991b4d799bcca06264e7077))
15
- * trigger new version build ([6ec8a52](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/6ec8a52aa2b1a914b6d2e527a25f03c2efb045ea))
1
+ ## [22.0.1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.0.0...v22.0.1) (2026-07-15)
16
2
 
17
3
  ### Bug Fixes
18
4
 
19
- * add/remove assets to/from stack; ci: update node version reset pnpm version ([fcdf270](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/fcdf27052471889004c259b487038331de35e67d))
20
- * set explicit pnpm version for build ([f373bf7](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/f373bf713683739325e8578a1e918efa1f4e54ee))
21
- * update the disbanded case for detach assets from stack case ([dd87fc3](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/dd87fc3c0402468b8e89e6a3c14ec680b2c60ed5))
5
+ * mac installer determination ([fb60512](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/fb60512e22a649c94ed9b56477c5ecbf3802e985))
@@ -39,13 +39,17 @@ class AgentInstaller extends Base_1.default {
39
39
  .filter(r => r.dev === dev);
40
40
  releases.sort((r1, r2) => r2.published_date - r1.published_date);
41
41
  const windowsInstaller = releases.find(r => r.os === "windows");
42
- const macInstaller = releases.find(r => r.os === "darwin");
42
+ const macInstallerIntel = releases.find(r => r.arch === "x64" && r.os === "darwin");
43
+ const macInstallerArm = releases.find(r => r.arch === "arm64" && r.os === "darwin");
43
44
  const installers = [];
44
45
  if (windowsInstaller) {
45
46
  installers.push(windowsInstaller);
46
47
  }
47
- if (macInstaller) {
48
- installers.push(macInstaller);
48
+ if (macInstallerIntel) {
49
+ installers.push(macInstallerIntel);
50
+ }
51
+ if (macInstallerArm) {
52
+ installers.push(macInstallerArm);
49
53
  }
50
54
  return installers;
51
55
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.0.0",
3
+ "version": "22.0.1",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",