@digipair/skill-pushbullet 0.13.1 → 0.13.3
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.
- package/index.cjs.js +6 -6
- package/index.esm.js +6 -6
- package/package.json +1 -1
- package/schema.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -40,12 +40,12 @@ let PushbulletService = class PushbulletService {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
constructor(context, params){
|
|
43
|
-
var
|
|
44
|
-
this.PUSHBULLET_ACCESS_TOKEN = (_ref = (
|
|
45
|
-
var
|
|
46
|
-
this.TARGET_DEVICE_ID = (_ref1 = (
|
|
47
|
-
var
|
|
48
|
-
this.API_ENDPOINT = (_ref3 = (_ref2 = (
|
|
43
|
+
var _context_privates_PUSHBULLET_ACCESS_TOKEN, _ref;
|
|
44
|
+
this.PUSHBULLET_ACCESS_TOKEN = (_ref = (_context_privates_PUSHBULLET_ACCESS_TOKEN = context.privates.PUSHBULLET_ACCESS_TOKEN) != null ? _context_privates_PUSHBULLET_ACCESS_TOKEN : params == null ? void 0 : params.PUSHBULLET_ACCESS_TOKEN) != null ? _ref : process.env['PUSHBULLET_ACCESS_TOKEN'];
|
|
45
|
+
var _context_privates_PUSHBULLET_TARGET_DEVICE_ID, _ref1;
|
|
46
|
+
this.TARGET_DEVICE_ID = (_ref1 = (_context_privates_PUSHBULLET_TARGET_DEVICE_ID = context.privates.PUSHBULLET_TARGET_DEVICE_ID) != null ? _context_privates_PUSHBULLET_TARGET_DEVICE_ID : params == null ? void 0 : params.PUSHBULLET_TARGET_DEVICE_ID) != null ? _ref1 : process.env['PUSHBULLET_TARGET_DEVICE_ID'];
|
|
47
|
+
var _context_privates_PUSHBULLET_API_ENDPOINT, _ref2, _ref3;
|
|
48
|
+
this.API_ENDPOINT = (_ref3 = (_ref2 = (_context_privates_PUSHBULLET_API_ENDPOINT = context.privates.PUSHBULLET_API_ENDPOINT) != null ? _context_privates_PUSHBULLET_API_ENDPOINT : params == null ? void 0 : params.PUSHBULLET_API_ENDPOINT) != null ? _ref2 : process.env['PUSHBULLET_API_ENDPOINT']) != null ? _ref3 : 'https://api.pushbullet.com/v2';
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
const sendSms = (params, pinsSettingsList, context)=>new PushbulletService(context, params).sendSms(params, pinsSettingsList, context);
|
package/index.esm.js
CHANGED
|
@@ -36,12 +36,12 @@ let PushbulletService = class PushbulletService {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
constructor(context, params){
|
|
39
|
-
var
|
|
40
|
-
this.PUSHBULLET_ACCESS_TOKEN = (_ref = (
|
|
41
|
-
var
|
|
42
|
-
this.TARGET_DEVICE_ID = (_ref1 = (
|
|
43
|
-
var
|
|
44
|
-
this.API_ENDPOINT = (_ref3 = (_ref2 = (
|
|
39
|
+
var _context_privates_PUSHBULLET_ACCESS_TOKEN, _ref;
|
|
40
|
+
this.PUSHBULLET_ACCESS_TOKEN = (_ref = (_context_privates_PUSHBULLET_ACCESS_TOKEN = context.privates.PUSHBULLET_ACCESS_TOKEN) != null ? _context_privates_PUSHBULLET_ACCESS_TOKEN : params == null ? void 0 : params.PUSHBULLET_ACCESS_TOKEN) != null ? _ref : process.env['PUSHBULLET_ACCESS_TOKEN'];
|
|
41
|
+
var _context_privates_PUSHBULLET_TARGET_DEVICE_ID, _ref1;
|
|
42
|
+
this.TARGET_DEVICE_ID = (_ref1 = (_context_privates_PUSHBULLET_TARGET_DEVICE_ID = context.privates.PUSHBULLET_TARGET_DEVICE_ID) != null ? _context_privates_PUSHBULLET_TARGET_DEVICE_ID : params == null ? void 0 : params.PUSHBULLET_TARGET_DEVICE_ID) != null ? _ref1 : process.env['PUSHBULLET_TARGET_DEVICE_ID'];
|
|
43
|
+
var _context_privates_PUSHBULLET_API_ENDPOINT, _ref2, _ref3;
|
|
44
|
+
this.API_ENDPOINT = (_ref3 = (_ref2 = (_context_privates_PUSHBULLET_API_ENDPOINT = context.privates.PUSHBULLET_API_ENDPOINT) != null ? _context_privates_PUSHBULLET_API_ENDPOINT : params == null ? void 0 : params.PUSHBULLET_API_ENDPOINT) != null ? _ref2 : process.env['PUSHBULLET_API_ENDPOINT']) != null ? _ref3 : 'https://api.pushbullet.com/v2';
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
const sendSms = (params, pinsSettingsList, context)=>new PushbulletService(context, params).sendSms(params, pinsSettingsList, context);
|
package/package.json
CHANGED
package/schema.json
CHANGED