@kapeta/local-cluster-service 0.8.0 → 0.8.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,3 +1,10 @@
1
+ ## [0.8.1](https://github.com/kapetacom/local-cluster-service/compare/v0.8.0...v0.8.1) (2023-07-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Removed debug ([e002caa](https://github.com/kapetacom/local-cluster-service/commit/e002caa3ae20c5a9a7f521e6e47bf46abfcb9e96))
7
+
1
8
  # [0.8.0](https://github.com/kapetacom/local-cluster-service/compare/v0.7.6...v0.8.0) (2023-07-22)
2
9
 
3
10
 
@@ -41,7 +41,6 @@ router.put('/:handle/:name', async (req, res) => {
41
41
  try {
42
42
  const { handle, name } = req.params;
43
43
  const url = `${endpoint}/${handle}/${name}/attachments`;
44
- console.log('Sending PUT', url);
45
44
  const result = await api.send({
46
45
  method: 'PUT',
47
46
  url,
@@ -53,7 +52,6 @@ router.put('/:handle/:name', async (req, res) => {
53
52
  },
54
53
  body: req
55
54
  });
56
- console.log('Got result from upload', result);
57
55
  res.send(result);
58
56
  }
59
57
  catch (e) {
@@ -36,7 +36,6 @@ router.put('/:handle/:name', async (req, res) => {
36
36
  try {
37
37
  const { handle, name } = req.params;
38
38
  const url = `${endpoint}/${handle}/${name}/attachments`;
39
- console.log('Sending PUT', url);
40
39
  const result = await api.send({
41
40
  method: 'PUT',
42
41
  url,
@@ -48,7 +47,6 @@ router.put('/:handle/:name', async (req, res) => {
48
47
  },
49
48
  body: req
50
49
  });
51
- console.log('Got result from upload', result);
52
50
  res.send(result);
53
51
  }
54
52
  catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kapeta/local-cluster-service",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Manages configuration, ports and service discovery for locally running Kapeta systems",
5
5
  "type": "commonjs",
6
6
  "exports": {
@@ -46,7 +46,6 @@ router.put('/:handle/:name', async (req: Request, res: Response) => {
46
46
  try {
47
47
  const {handle, name} = req.params;
48
48
  const url = `${endpoint}/${handle}/${name}/attachments`;
49
- console.log('Sending PUT', url);
50
49
  const result = await api.send<{url:string}>({
51
50
  method: 'PUT',
52
51
  url,
@@ -58,7 +57,6 @@ router.put('/:handle/:name', async (req: Request, res: Response) => {
58
57
  },
59
58
  body: req
60
59
  });
61
- console.log('Got result from upload', result);
62
60
  res.send(result);
63
61
  } catch (e:any) {
64
62
  res.status(e.status ?? 500).send(e);