@schibsted/account-sdk-browser 4.3.0 → 4.5.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/CHANGELOG.md +28 -0
- package/README.md +10 -2
- package/es5/global.js +72 -16
- package/es5/global.js.map +1 -1
- package/es5/global.min.js +1 -1
- package/es5/global.min.js.map +1 -1
- package/es5/identity.js +71 -16
- package/es5/identity.js.map +1 -1
- package/es5/identity.min.js +1 -1
- package/es5/identity.min.js.map +1 -1
- package/es5/index.js +72 -16
- package/es5/index.js.map +1 -1
- package/es5/index.min.js +1 -1
- package/es5/index.min.js.map +1 -1
- package/es5/monetization.js +12 -5
- package/es5/monetization.js.map +1 -1
- package/es5/monetization.min.js +1 -1
- package/es5/monetization.min.js.map +1 -1
- package/es5/payment.js +12 -4
- package/es5/payment.js.map +1 -1
- package/es5/payment.min.js +1 -1
- package/es5/payment.min.js.map +1 -1
- package/identity.d.ts +1 -0
- package/index.d.ts +1 -0
- package/monetization.d.ts +1 -0
- package/package.json +1 -1
- package/payment.d.ts +1 -0
- package/src/config.d.ts +6 -0
- package/src/config.js +7 -0
- package/src/identity.d.ts +86 -9
- package/src/identity.js +52 -6
- package/src/payment.d.ts +1 -0
- package/src/payment.js +1 -0
package/es5/monetization.js
CHANGED
|
@@ -8203,6 +8203,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8203
8203
|
* @prop {string} ENDPOINTS.SPiD.PRO - Production environment Sweden
|
|
8204
8204
|
* @prop {string} ENDPOINTS.SPiD.PRO_NO - Production environment Norway
|
|
8205
8205
|
* @prop {string} ENDPOINTS.SPiD.PRO_FI - Production environment Finland
|
|
8206
|
+
* @prop {string} ENDPOINTS.SPiD.PRO_DK - Production environment Denmark
|
|
8206
8207
|
* @prop {object} ENDPOINTS.BFF - Endpoints used with new GDPR-compliant web flows
|
|
8207
8208
|
* @prop {string} ENDPOINTS.BFF.LOCAL - Local endpoint (for Identity team)
|
|
8208
8209
|
* @prop {string} ENDPOINTS.BFF.DEV - Dev environment (for Identity team)
|
|
@@ -8210,6 +8211,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8210
8211
|
* @prop {string} ENDPOINTS.BFF.PRO - Production environment Sweden
|
|
8211
8212
|
* @prop {string} ENDPOINTS.BFF.PRO_NO - Production environment Norway
|
|
8212
8213
|
* @prop {string} ENDPOINTS.BFF.PRO_FI - Production environment Finland
|
|
8214
|
+
* @prop {string} ENDPOINTS.BFF.PRO_DK - Production environment Denmark
|
|
8213
8215
|
* @prop {object} ENDPOINTS.SESSION_SERVICE - Endpoints to check global user session data
|
|
8214
8216
|
* @prop {string} ENDPOINTS.SESSION_SERVICE.LOCAL - Local endpoint (for Identity team)
|
|
8215
8217
|
* @prop {string} ENDPOINTS.SESSION_SERVICE.DEV - Dev environment (for Identity team)
|
|
@@ -8217,6 +8219,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8217
8219
|
* @prop {string} ENDPOINTS.SESSION_SERVICE.PRO - Production environment Sweden
|
|
8218
8220
|
* @prop {string} ENDPOINTS.SESSION_SERVICE.PRO_NO - Production environment Norway
|
|
8219
8221
|
* @prop {string} ENDPOINTS.SESSION_SERVICE.PRO_FI - Production environment Finland
|
|
8222
|
+
* @prop {string} ENDPOINTS.SESSION_SERVICE.PRO_DK - Production environment Denmark
|
|
8220
8223
|
*/
|
|
8221
8224
|
|
|
8222
8225
|
var config = {
|
|
@@ -8227,7 +8230,8 @@ var config = {
|
|
|
8227
8230
|
PRE: 'https://identity-pre.schibsted.com',
|
|
8228
8231
|
PRO: 'https://login.schibsted.com',
|
|
8229
8232
|
PRO_NO: 'https://payment.schibsted.no',
|
|
8230
|
-
PRO_FI: 'https://login.schibsted.fi'
|
|
8233
|
+
PRO_FI: 'https://login.schibsted.fi',
|
|
8234
|
+
PRO_DK: 'https://login.schibsted.dk'
|
|
8231
8235
|
},
|
|
8232
8236
|
BFF: {
|
|
8233
8237
|
LOCAL: 'http://id.localhost/authn/',
|
|
@@ -8235,7 +8239,8 @@ var config = {
|
|
|
8235
8239
|
PRE: 'https://identity-pre.schibsted.com/authn/',
|
|
8236
8240
|
PRO: 'https://login.schibsted.com/authn/',
|
|
8237
8241
|
PRO_NO: 'https://payment.schibsted.no/authn/',
|
|
8238
|
-
PRO_FI: 'https://login.schibsted.fi/authn/'
|
|
8242
|
+
PRO_FI: 'https://login.schibsted.fi/authn/',
|
|
8243
|
+
PRO_DK: 'https://login.schibsted.dk/authn/'
|
|
8239
8244
|
},
|
|
8240
8245
|
SESSION_SERVICE: {
|
|
8241
8246
|
LOCAL: 'http://session-service.id.localhost',
|
|
@@ -8243,7 +8248,8 @@ var config = {
|
|
|
8243
8248
|
PRE: 'https://session-service.identity-pre.schibsted.com',
|
|
8244
8249
|
PRO: 'https://session-service.login.schibsted.com',
|
|
8245
8250
|
PRO_NO: 'https://session-service.payment.schibsted.no',
|
|
8246
|
-
PRO_FI: 'https://session-service.login.schibsted.fi'
|
|
8251
|
+
PRO_FI: 'https://session-service.login.schibsted.fi',
|
|
8252
|
+
PRO_DK: 'https://session-service.login.schibsted.dk'
|
|
8247
8253
|
}
|
|
8248
8254
|
},
|
|
8249
8255
|
NAMESPACE: {
|
|
@@ -8252,7 +8258,8 @@ var config = {
|
|
|
8252
8258
|
PRE: 'schibsted.com',
|
|
8253
8259
|
PRO: 'schibsted.com',
|
|
8254
8260
|
PRO_NO: 'spid.no',
|
|
8255
|
-
PRO_FI: 'schibsted.fi'
|
|
8261
|
+
PRO_FI: 'schibsted.fi',
|
|
8262
|
+
PRO_DK: 'schibsted.dk'
|
|
8256
8263
|
}
|
|
8257
8264
|
};
|
|
8258
8265
|
/* harmony default export */ __webpack_exports__["default"] = (config);
|
|
@@ -10063,7 +10070,7 @@ function emulate(global) {
|
|
|
10063
10070
|
/* 169 */
|
|
10064
10071
|
/***/ (function(module) {
|
|
10065
10072
|
|
|
10066
|
-
module.exports = JSON.parse("{\"name\":\"@schibsted/account-sdk-browser\",\"version\":\"4.3
|
|
10073
|
+
module.exports = JSON.parse("{\"name\":\"@schibsted/account-sdk-browser\",\"version\":\"4.5.3\",\"description\":\"Schibsted account SDK for browsers\",\"main\":\"index.js\",\"scripts\":{\"build\":\"./build.sh\",\"clean\":\"rimraf .cache coverage dist docs\",\"docs\":\"rimraf docs && jsdoc -c ./utils/jsdoc.js --verbose\",\"lint\":\"eslint .\",\"pretest\":\"npm run lint\",\"test\":\"jest\",\"precover\":\"npm run lint\",\"cover\":\"jest --coverage\",\"postcover\":\"codecov\"},\"author\":\"\",\"license\":\"MIT\",\"dependencies\":{\"tiny-emitter\":\"^2.1.0\"},\"devDependencies\":{\"@babel/core\":\"^7.11.4\",\"@babel/preset-env\":\"^7.11.0\",\"babel-loader\":\"^8.1.0\",\"codecov\":\"^3.6.5\",\"core-js\":\"^3.6.5\",\"docdash\":\"git+https://github.com/torarvid/docdash.git#v0.5.0\",\"eslint\":\"^6.8.0\",\"eslint-plugin-import\":\"^2.20.2\",\"jest\":\"^26.4.2\",\"jest-junit\":\"^10.0.0\",\"jsdoc\":\"^3.6.5\",\"node-fetch\":\"^2.6.0\",\"regenerator-runtime\":\"^0.13.7\",\"webpack\":\"^4.44.1\",\"webpack-cli\":\"^3.3.12\",\"whatwg-url\":\"^8.0.0\"},\"repository\":{\"type\":\"git\",\"url\":\"git://github.com/schibsted/account-sdk-browser.git\"},\"babel\":{\"presets\":[[\"@babel/preset-env\",{\"useBuiltIns\":\"usage\",\"corejs\":3,\"targets\":{\"browsers\":[\"> 1%\",\"last 10 chrome major versions\",\"last 10 firefox major versions\",\"last 10 opera major versions\",\"last 2 safari major versions\",\"last 2 ios major versions\",\"last 2 ie major versions\",\"last 5 edge major versions\"]}}]]},\"typings\":\"index.d.ts\"}");
|
|
10067
10074
|
|
|
10068
10075
|
/***/ })
|
|
10069
10076
|
/******/ ]);
|