@kapeta/local-cluster-service 0.4.0 → 0.5.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,3 +1,17 @@
1
+ # [0.5.0](https://github.com/kapetacom/local-cluster-service/compare/v0.4.1...v0.5.0) (2023-06-02)
2
+
3
+
4
+ ### Features
5
+
6
+ * Bump deps to fix features ([d272d50](https://github.com/kapetacom/local-cluster-service/commit/d272d50e99efe6f0fc416266587a35e81aa474d1))
7
+
8
+ ## [0.4.1](https://github.com/kapetacom/local-cluster-service/compare/v0.4.0...v0.4.1) (2023-06-02)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Variable reference was invalid ([#26](https://github.com/kapetacom/local-cluster-service/issues/26)) ([28ebb9b](https://github.com/kapetacom/local-cluster-service/commit/28ebb9b3c4d4099978fc1b5b4ca9cebfd148a941))
14
+
1
15
  # [0.4.0](https://github.com/kapetacom/local-cluster-service/compare/v0.3.0...v0.4.0) (2023-06-01)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kapeta/local-cluster-service",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Manages configuration, ports and service discovery for locally running Kapeta systems",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -180,8 +180,9 @@ class RepositoryManager {
180
180
  return;
181
181
  }
182
182
 
183
+ let assetVersion;
183
184
  try {
184
- const assetVersion = await this._registryService.getVersion(fullName, version);
185
+ assetVersion = await this._registryService.getVersion(fullName, version);
185
186
  if (!assetVersion) {
186
187
  this._cache[ref] = false;
187
188
  return;
@@ -211,7 +211,7 @@ class BlockInstanceRunner {
211
211
 
212
212
  const startCmd = localContainer.handlers?.onCreate ? localContainer.handlers.onCreate : '';
213
213
  const dockerOpts = localContainer.options ?? {};
214
- const homeDir = localContainer.homeDir ? localContainer.homeDir : '/root';
214
+ const homeDir = localContainer.userHome ? localContainer.userHome : '/root';
215
215
  const workingDir = localContainer.workingDir ? localContainer.workingDir : '/workspace';
216
216
 
217
217
  const ExposedPorts = {};