@twin.org/api-service 0.0.1-next.12 → 0.0.1-next.13

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.
@@ -339,7 +339,7 @@ class InformationService {
339
339
  async removeComponentHealth(name) {
340
340
  if (core.Is.arrayValue(this._healthInfo.components)) {
341
341
  const componentIndex = this._healthInfo.components.findIndex(c => c.name === name);
342
- if (componentIndex >= 0) {
342
+ if (componentIndex !== -1) {
343
343
  this._healthInfo.components.splice(componentIndex, 1);
344
344
  }
345
345
  }
@@ -337,7 +337,7 @@ class InformationService {
337
337
  async removeComponentHealth(name) {
338
338
  if (Is.arrayValue(this._healthInfo.components)) {
339
339
  const componentIndex = this._healthInfo.components.findIndex(c => c.name === name);
340
- if (componentIndex >= 0) {
340
+ if (componentIndex !== -1) {
341
341
  this._healthInfo.components.splice(componentIndex, 1);
342
342
  }
343
343
  }
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/api-service - Changelog
2
2
 
3
- ## v0.0.1-next.12
3
+ ## v0.0.1-next.13
4
4
 
5
5
  - Initial Release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/api-service",
3
- "version": "0.0.1-next.12",
3
+ "version": "0.0.1-next.13",
4
4
  "description": "Information contract implementation and REST endpoint definitions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,7 +14,7 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/api-models": "0.0.1-next.12",
17
+ "@twin.org/api-models": "0.0.1-next.13",
18
18
  "@twin.org/core": "next",
19
19
  "@twin.org/nameof": "next",
20
20
  "@twin.org/web": "next"