@pusher/push-notifications-web
Advanced tools
Comparing version 0.9.2-beta2 to 0.9.2
@@ -744,3 +744,3 @@ function _arrayWithoutHoles(arr) { | ||
// the regeneratorRuntime variable at the top of this file. | ||
module.exports | ||
module.exports | ||
)); | ||
@@ -847,23 +847,6 @@ | ||
function _objectSpread(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(source, sym).enumerable; | ||
})); | ||
} | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
ownKeys.forEach(function (key) { | ||
defineProperty(target, key, source[key]); | ||
}); | ||
} | ||
return target; | ||
} | ||
var objectSpread = _objectSpread; | ||
function doRequest(_ref) { | ||
@@ -883,3 +866,3 @@ var method = _ref.method, | ||
options.body = JSON.stringify(body); | ||
options.headers = objectSpread({ | ||
options.headers = _objectSpread({ | ||
'Content-Type': 'application/json' | ||
@@ -980,2 +963,6 @@ }, headers); | ||
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
var TokenProvider = | ||
@@ -1008,3 +995,3 @@ /*#__PURE__*/ | ||
case 0: | ||
queryParams = objectSpread({ | ||
queryParams = _objectSpread$1({ | ||
user_id: userId | ||
@@ -1284,3 +1271,3 @@ }, this.queryParams); | ||
var version = "0.9.2-beta2"; | ||
var version = "0.9.2"; | ||
@@ -1287,0 +1274,0 @@ var SERVICE_WORKER_URL = "/service-worker.js?pusherBeamsWebSDKVersion=".concat(version); |
@@ -21,3 +21,3 @@ const { spawn } = require('child_process'); | ||
beforeAll(() => { | ||
jest.setTimeout(15000); | ||
jest.setTimeout(30000); | ||
}); | ||
@@ -24,0 +24,0 @@ |
{ | ||
"name": "@pusher/push-notifications-web", | ||
"version": "0.9.2-beta2", | ||
"version": "0.9.2", | ||
"description": "", | ||
@@ -14,3 +14,3 @@ "main": "dist/push-notifications-esm.js", | ||
"test:e2e": "jest ./end-to-end-tests/* --runInBand", | ||
"prepublishchecks": "npm run lint && npm run test:unit && npm run build:cdn && npm run build:esm", | ||
"prepublishchecks": "npm run lint && npm run test:unit && npm run build:cdn && npm run build:esm && npm run test:e2e", | ||
"prepublishOnly": "publish-please guard", | ||
@@ -17,0 +17,0 @@ "publish-please": "publish-please" |
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 too big to display
182400
4776