@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/payment.js
CHANGED
|
@@ -1095,6 +1095,7 @@ var Payment = /*#__PURE__*/function () {
|
|
|
1095
1095
|
});
|
|
1096
1096
|
}
|
|
1097
1097
|
/**
|
|
1098
|
+
* @deprecated
|
|
1098
1099
|
* Get the url for flow to purchase a promo code product with ZUORA
|
|
1099
1100
|
* @param {string} code - promocode product code
|
|
1100
1101
|
* @param {string} [state=''] - An opaque value used by the client to maintain state between
|
|
@@ -7366,6 +7367,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7366
7367
|
* @prop {string} ENDPOINTS.SPiD.PRO - Production environment Sweden
|
|
7367
7368
|
* @prop {string} ENDPOINTS.SPiD.PRO_NO - Production environment Norway
|
|
7368
7369
|
* @prop {string} ENDPOINTS.SPiD.PRO_FI - Production environment Finland
|
|
7370
|
+
* @prop {string} ENDPOINTS.SPiD.PRO_DK - Production environment Denmark
|
|
7369
7371
|
* @prop {object} ENDPOINTS.BFF - Endpoints used with new GDPR-compliant web flows
|
|
7370
7372
|
* @prop {string} ENDPOINTS.BFF.LOCAL - Local endpoint (for Identity team)
|
|
7371
7373
|
* @prop {string} ENDPOINTS.BFF.DEV - Dev environment (for Identity team)
|
|
@@ -7373,6 +7375,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7373
7375
|
* @prop {string} ENDPOINTS.BFF.PRO - Production environment Sweden
|
|
7374
7376
|
* @prop {string} ENDPOINTS.BFF.PRO_NO - Production environment Norway
|
|
7375
7377
|
* @prop {string} ENDPOINTS.BFF.PRO_FI - Production environment Finland
|
|
7378
|
+
* @prop {string} ENDPOINTS.BFF.PRO_DK - Production environment Denmark
|
|
7376
7379
|
* @prop {object} ENDPOINTS.SESSION_SERVICE - Endpoints to check global user session data
|
|
7377
7380
|
* @prop {string} ENDPOINTS.SESSION_SERVICE.LOCAL - Local endpoint (for Identity team)
|
|
7378
7381
|
* @prop {string} ENDPOINTS.SESSION_SERVICE.DEV - Dev environment (for Identity team)
|
|
@@ -7380,6 +7383,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7380
7383
|
* @prop {string} ENDPOINTS.SESSION_SERVICE.PRO - Production environment Sweden
|
|
7381
7384
|
* @prop {string} ENDPOINTS.SESSION_SERVICE.PRO_NO - Production environment Norway
|
|
7382
7385
|
* @prop {string} ENDPOINTS.SESSION_SERVICE.PRO_FI - Production environment Finland
|
|
7386
|
+
* @prop {string} ENDPOINTS.SESSION_SERVICE.PRO_DK - Production environment Denmark
|
|
7383
7387
|
*/
|
|
7384
7388
|
|
|
7385
7389
|
var config = {
|
|
@@ -7390,7 +7394,8 @@ var config = {
|
|
|
7390
7394
|
PRE: 'https://identity-pre.schibsted.com',
|
|
7391
7395
|
PRO: 'https://login.schibsted.com',
|
|
7392
7396
|
PRO_NO: 'https://payment.schibsted.no',
|
|
7393
|
-
PRO_FI: 'https://login.schibsted.fi'
|
|
7397
|
+
PRO_FI: 'https://login.schibsted.fi',
|
|
7398
|
+
PRO_DK: 'https://login.schibsted.dk'
|
|
7394
7399
|
},
|
|
7395
7400
|
BFF: {
|
|
7396
7401
|
LOCAL: 'http://id.localhost/authn/',
|
|
@@ -7398,7 +7403,8 @@ var config = {
|
|
|
7398
7403
|
PRE: 'https://identity-pre.schibsted.com/authn/',
|
|
7399
7404
|
PRO: 'https://login.schibsted.com/authn/',
|
|
7400
7405
|
PRO_NO: 'https://payment.schibsted.no/authn/',
|
|
7401
|
-
PRO_FI: 'https://login.schibsted.fi/authn/'
|
|
7406
|
+
PRO_FI: 'https://login.schibsted.fi/authn/',
|
|
7407
|
+
PRO_DK: 'https://login.schibsted.dk/authn/'
|
|
7402
7408
|
},
|
|
7403
7409
|
SESSION_SERVICE: {
|
|
7404
7410
|
LOCAL: 'http://session-service.id.localhost',
|
|
@@ -7406,7 +7412,8 @@ var config = {
|
|
|
7406
7412
|
PRE: 'https://session-service.identity-pre.schibsted.com',
|
|
7407
7413
|
PRO: 'https://session-service.login.schibsted.com',
|
|
7408
7414
|
PRO_NO: 'https://session-service.payment.schibsted.no',
|
|
7409
|
-
PRO_FI: 'https://session-service.login.schibsted.fi'
|
|
7415
|
+
PRO_FI: 'https://session-service.login.schibsted.fi',
|
|
7416
|
+
PRO_DK: 'https://session-service.login.schibsted.dk'
|
|
7410
7417
|
}
|
|
7411
7418
|
},
|
|
7412
7419
|
NAMESPACE: {
|
|
@@ -7415,7 +7422,8 @@ var config = {
|
|
|
7415
7422
|
PRE: 'schibsted.com',
|
|
7416
7423
|
PRO: 'schibsted.com',
|
|
7417
7424
|
PRO_NO: 'spid.no',
|
|
7418
|
-
PRO_FI: 'schibsted.fi'
|
|
7425
|
+
PRO_FI: 'schibsted.fi',
|
|
7426
|
+
PRO_DK: 'schibsted.dk'
|
|
7419
7427
|
}
|
|
7420
7428
|
};
|
|
7421
7429
|
/* harmony default export */ __webpack_exports__["default"] = (config);
|