homey-api 1.10.0 → 1.10.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.
@@ -404,6 +404,11 @@
404
404
  "path": "/offer/coupon_apple",
405
405
  "method": "post",
406
406
  "parameters": {
407
+ "secret": {
408
+ "in": "query",
409
+ "type": "string",
410
+ "required": true
411
+ },
407
412
  "coupon": {
408
413
  "type": "string",
409
414
  "in": "body"
@@ -435,6 +440,11 @@
435
440
  "path": "/offer",
436
441
  "method": "post",
437
442
  "parameters": {
443
+ "secret": {
444
+ "in": "query",
445
+ "type": "string",
446
+ "required": true
447
+ },
438
448
  "userId": {
439
449
  "type": "string",
440
450
  "in": "body"
@@ -4787,6 +4787,10 @@
4787
4787
  opts: {
4788
4788
 
4789
4789
 
4790
+ secret: string,
4791
+
4792
+
4793
+
4790
4794
  coupon: string,
4791
4795
 
4792
4796
 
@@ -4827,6 +4831,10 @@
4827
4831
  opts: {
4828
4832
 
4829
4833
 
4834
+ secret: string,
4835
+
4836
+
4837
+
4830
4838
  userId: string,
4831
4839
 
4832
4840
 
@@ -487,7 +487,6 @@ class Manager extends EventEmitter {
487
487
  this.__cache[itemId][key].emit('delete');
488
488
  this.__cache[itemId][key].destroy();
489
489
  delete this.__cache[itemId][key];
490
- data = null;
491
490
  }
492
491
  break;
493
492
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "1.10.0",
3
+ "version": "1.10.2",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [