codify-plugin-lib 1.0.105 → 1.0.106

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.
@@ -77,6 +77,6 @@ export class StatefulParameterController {
77
77
  }
78
78
  }
79
79
  calculateIsArrayStatefulParameter() {
80
- return Object.hasOwn(this.sp, 'addItem') && Object.hasOwn(this.sp, 'removeItem');
80
+ return 'addItem' in this.sp && 'removeItem' in this.sp;
81
81
  }
82
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-plugin-lib",
3
- "version": "1.0.105",
3
+ "version": "1.0.106",
4
4
  "description": "Library plugin library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -107,6 +107,6 @@ export class StatefulParameterController<T extends StringIndexedObject, V extend
107
107
  }
108
108
 
109
109
  private calculateIsArrayStatefulParameter() {
110
- return Object.hasOwn(this.sp, 'addItem') && Object.hasOwn(this.sp, 'removeItem');
110
+ return 'addItem' in this.sp && 'removeItem' in this.sp;
111
111
  }
112
112
  }