onesignal-node
Advanced tools
Comparing version 3.0.0 to 3.0.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Client = void 0; | ||
const constants_1 = require("./constants"); | ||
@@ -4,0 +5,0 @@ const utils_1 = require("./utils"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.defaultClientOptions = exports.APP_ID_FIELD_NAME = exports.APP_ID_QUERY_NAME = exports.DEVICES_CSVEXPORT = exports.DEVICES_ONFOCUS = exports.DEVICES_ONPURCHASE = exports.DEVICES_ONSESSION = exports.DEVICES_PATH = exports.APPS_SEGMENTS = exports.APPS_PATH = exports.NOTIFICATIONS_HISTORY = exports.NOTIFICATIONS_PATH = exports.API_ROOT = void 0; | ||
exports.API_ROOT = 'https://onesignal.com/api/v1'; | ||
@@ -4,0 +5,0 @@ exports.NOTIFICATIONS_PATH = 'notifications'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HTTPError = void 0; | ||
class HTTPError extends Error { | ||
@@ -4,0 +5,0 @@ constructor(status, body) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var client_1 = require("./client"); | ||
exports.Client = client_1.Client; | ||
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return client_1.Client; } }); | ||
var user_client_1 = require("./user-client"); | ||
exports.UserClient = user_client_1.UserClient; | ||
Object.defineProperty(exports, "UserClient", { enumerable: true, get: function () { return user_client_1.UserClient; } }); | ||
var errors_1 = require("./errors"); | ||
exports.HTTPError = errors_1.HTTPError; | ||
Object.defineProperty(exports, "HTTPError", { enumerable: true, get: function () { return errors_1.HTTPError; } }); | ||
var constants_1 = require("./constants"); | ||
exports.API_ROOT = constants_1.API_ROOT; | ||
Object.defineProperty(exports, "API_ROOT", { enumerable: true, get: function () { return constants_1.API_ROOT; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UserClient = void 0; | ||
const utils_1 = require("./utils"); | ||
@@ -4,0 +5,0 @@ const constants_1 = require("./constants"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.basicAuthRequest = exports.jsonToQueryString = exports.stripTrailingSlash = void 0; | ||
const request = require("request"); | ||
@@ -4,0 +5,0 @@ const errors_1 = require("./errors"); |
{ | ||
"name": "onesignal-node", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A Node.js Library for OneSignal push notification service", | ||
@@ -42,3 +42,3 @@ "engines": { | ||
"devDependencies": { | ||
"@types/chai": "^4.2.7", | ||
"@types/chai": "^4.2.11", | ||
"@types/chai-as-promised": "^7.1.2", | ||
@@ -48,36 +48,36 @@ "@types/chai-string": "^1.4.2", | ||
"@types/nock": "^11.1.0", | ||
"@types/node": "^12.12.18", | ||
"@types/request": "^2.48.3", | ||
"@types/request-promise": "^4.1.45", | ||
"@types/sinon": "^7.5.1", | ||
"@types/sinon-chai": "^3.2.3", | ||
"@typescript-eslint/eslint-plugin": "^2.11.0", | ||
"@typescript-eslint/parser": "^2.11.0", | ||
"@types/node": "^12.12.42", | ||
"@types/request": "^2.48.5", | ||
"@types/request-promise": "^4.1.46", | ||
"@types/sinon": "^7.5.2", | ||
"@types/sinon-chai": "^3.2.4", | ||
"@typescript-eslint/eslint-plugin": "^2.34.0", | ||
"@typescript-eslint/parser": "^2.34.0", | ||
"chai": "^4.2.0", | ||
"chai-as-promised": "^7.1.1", | ||
"chai-string": "^1.5.0", | ||
"codecov": "^3.6.1", | ||
"eslint": "^6.7.2", | ||
"eslint-config-airbnb": "^18.0.1", | ||
"eslint-config-prettier": "^6.7.0", | ||
"codecov": "^3.7.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb": "^18.1.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-import-resolver-typescript": "^2.0.0", | ||
"eslint-plugin-import": "^2.19.1", | ||
"eslint-plugin-json": "^2.0.1", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"eslint-plugin-react": "^7.17.0", | ||
"mocha": "^6.2.2", | ||
"nock": "^11.7.0", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-json": "^2.1.1", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"eslint-plugin-react": "^7.20.0", | ||
"mocha": "^6.2.3", | ||
"nock": "^11.9.1", | ||
"nyc": "^14.1.1", | ||
"prettier": "^1.19.1", | ||
"sinon": "^7.5.0", | ||
"sinon-chai": "^3.3.0", | ||
"source-map-support": "^0.5.16", | ||
"ts-node": "^8.5.4", | ||
"typedoc": "^0.15.5", | ||
"typescript": "^3.7.3" | ||
"sinon-chai": "^3.5.0", | ||
"source-map-support": "^0.5.19", | ||
"ts-node": "^8.10.1", | ||
"typedoc": "^0.15.8", | ||
"typescript": "^3.9.3" | ||
}, | ||
"dependencies": { | ||
"request": "^2.88.0", | ||
"request": "^2.88.2", | ||
"request-promise": "^4.2.5" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
65490
851
0
Updatedrequest@^2.88.2