@elara-services/tickets 2.0.1 → 2.0.2

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -396,7 +396,7 @@ module.exports = class Tickets {
396
396
 
397
397
  /** @private */
398
398
  _debug(...args) {
399
- if (!this.options.debug) return null;
399
+ if (!this.options?.debug) return null;
400
400
  console.log(...args);
401
401
  return null;
402
402
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elara-services/tickets",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Helper for tickets",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",