@kapeta/local-cluster-service 0.77.5 → 0.77.7

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.77.7](https://github.com/kapetacom/local-cluster-service/compare/v0.77.6...v0.77.7) (2025-07-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump config-mapper to v1.2.3 to fix scaling issues ([#276](https://github.com/kapetacom/local-cluster-service/issues/276)) ([d9bfa66](https://github.com/kapetacom/local-cluster-service/commit/d9bfa66ca891c5982ea583e4f54fffe2119ef400))
7
+
8
+ ## [0.77.6](https://github.com/kapetacom/local-cluster-service/compare/v0.77.5...v0.77.6) (2025-02-14)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * force no encoding for proxy requests to allow image/png ([d2c6352](https://github.com/kapetacom/local-cluster-service/commit/d2c6352360a9c9558b5a71e426ac3b31afc09b79))
14
+
1
15
  ## [0.77.5](https://github.com/kapetacom/local-cluster-service/compare/v0.77.4...v0.77.5) (2024-10-08)
2
16
 
3
17
 
@@ -135,6 +135,7 @@ const proxyRestRequest = (req, res, opts) => {
135
135
  url: opts.address + providerPath,
136
136
  body: req.stringBody,
137
137
  headers: requestHeaders,
138
+ encoding: null,
138
139
  };
139
140
  const traffic = networkManager_1.networkManager.addRequest(req.params.systemId, opts.connection, maskSimpleRequest(reqOpts, consumerMethod, consumerEntitiesSource), consumerMethod.id, providerMethod.id);
140
141
  socketManager_1.socketManager.emit(traffic.connectionId, 'traffic_start', traffic);
@@ -97,5 +97,6 @@ export interface SimpleRequest {
97
97
  url: string;
98
98
  headers: StringMap;
99
99
  body: any;
100
+ encoding?: string | null;
100
101
  }
101
102
  export type KapetaBodyRequest = KapetaRequest & StringBodyRequest;
@@ -135,6 +135,7 @@ const proxyRestRequest = (req, res, opts) => {
135
135
  url: opts.address + providerPath,
136
136
  body: req.stringBody,
137
137
  headers: requestHeaders,
138
+ encoding: null,
138
139
  };
139
140
  const traffic = networkManager_1.networkManager.addRequest(req.params.systemId, opts.connection, maskSimpleRequest(reqOpts, consumerMethod, consumerEntitiesSource), consumerMethod.id, providerMethod.id);
140
141
  socketManager_1.socketManager.emit(traffic.connectionId, 'traffic_start', traffic);
@@ -97,5 +97,6 @@ export interface SimpleRequest {
97
97
  url: string;
98
98
  headers: StringMap;
99
99
  body: any;
100
+ encoding?: string | null;
100
101
  }
101
102
  export type KapetaBodyRequest = KapetaRequest & StringBodyRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kapeta/local-cluster-service",
3
- "version": "0.77.5",
3
+ "version": "0.77.7",
4
4
  "description": "Manages configuration, ports and service discovery for locally running Kapeta systems",
5
5
  "type": "commonjs",
6
6
  "exports": {
@@ -51,7 +51,7 @@
51
51
  "homepage": "https://github.com/kapetacom/local-cluster-service#readme",
52
52
  "dependencies": {
53
53
  "@kapeta/codegen": "^1.6.1",
54
- "@kapeta/config-mapper": "^1.2.2",
54
+ "@kapeta/config-mapper": "^1.2.3",
55
55
  "@kapeta/kaplang-core": "^1.17.2",
56
56
  "@kapeta/local-cluster-config": "^0.4.2",
57
57
  "@kapeta/nodejs-api-client": ">=0.2.0 <2",
@@ -189,6 +189,7 @@ export const proxyRestRequest: ProxyRequestHandler = (req, res, opts) => {
189
189
  url: opts.address + providerPath,
190
190
  body: req.stringBody,
191
191
  headers: requestHeaders as StringMap,
192
+ encoding: null,
192
193
  };
193
194
 
194
195
  const traffic = networkManager.addRequest(
package/src/types.ts CHANGED
@@ -109,6 +109,7 @@ export interface SimpleRequest {
109
109
  url: string;
110
110
  headers: StringMap;
111
111
  body: any;
112
+ encoding?: string | null;
112
113
  }
113
114
 
114
115
  export type KapetaBodyRequest = KapetaRequest & StringBodyRequest;