From 06c77dbcc9b9d282b5cb30f2890f5ac59e2ab41e Mon Sep 17 00:00:00 2001 From: Golda Velez Date: Mon, 22 Apr 2024 14:06:30 -0700 Subject: [PATCH] fix typos --- package-lock.json | 14 +++++++------- src/app.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 50c9e877..5bd5ffdd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@ceramicnetwork/common": "^2.28.0-rc.0", "@ceramicnetwork/core": "^2.35.0-rc.0", "@ceramicnetwork/logger": "^2.5.0", - "@ceramicnetwork/observability": "^1.4.6", + "@ceramicnetwork/observability": "^1.5.0", "@ceramicnetwork/streamid": "^2.15.0-rc.0", "@ceramicnetwork/wasm-bloom-filter": "^0.1.0", "@overnightjs/core": "^1.7.6", @@ -3884,9 +3884,9 @@ } }, "node_modules/@ceramicnetwork/observability": { - "version": "1.4.7", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/observability/-/observability-1.4.7.tgz", - "integrity": "sha512-bNPP9zDPYetMZ/Qp6jFdAjqZTUtw0gqztvfxvfzt6cMaX5hcD8zakKyabGQx5HbIMgKlqxXGLOXMTDDKXjwFaw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/observability/-/observability-1.5.0.tgz", + "integrity": "sha512-fAcdw0OrAl0LBTan0d9ixER6p558cKPyJkyz7l3/JtBXLjIf3U6Rbf+V4Pf662VNH2Gn69bTnQkA1s0KUV4qhw==", "dependencies": { "@opentelemetry/api": "^1.8.0", "@opentelemetry/exporter-metrics-otlp-http": "^0.50.0", @@ -29744,9 +29744,9 @@ } }, "@ceramicnetwork/observability": { - "version": "1.4.7", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/observability/-/observability-1.4.7.tgz", - "integrity": "sha512-bNPP9zDPYetMZ/Qp6jFdAjqZTUtw0gqztvfxvfzt6cMaX5hcD8zakKyabGQx5HbIMgKlqxXGLOXMTDDKXjwFaw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/observability/-/observability-1.5.0.tgz", + "integrity": "sha512-fAcdw0OrAl0LBTan0d9ixER6p558cKPyJkyz7l3/JtBXLjIf3U6Rbf+V4Pf662VNH2Gn69bTnQkA1s0KUV4qhw==", "requires": { "@opentelemetry/api": "^1.8.0", "@opentelemetry/exporter-metrics-otlp-http": "^0.50.0", diff --git a/src/app.ts b/src/app.ts index 2e78ef42..b014670a 100644 --- a/src/app.ts +++ b/src/app.ts @@ -135,7 +135,7 @@ export class CeramicAnchorApp { // in this case, return only the task id following the last / const match = this.config.metrics.instanceIdentifier.match(/\/([^\/]*)$/); - if (match and match[1]) { + if (match && match[1]) { Metrics.setInstanceIdentifier(match[1]) } else { Metrics.setInstanceIdentifier(this.config.metrics.instanceIdentifier)