@schibsted/account-sdk-browser 4.7.5 → 4.8.0
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/es5/global.js +29 -38
- 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 +26 -35
- 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 +29 -38
- 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 +24 -32
- 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 +20 -28
- package/es5/payment.js.map +1 -1
- package/package.json +4 -3
- package/src/identity.js +1 -1
- package/src/monetization.js +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schibsted/account-sdk-browser",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "Schibsted account SDK for browsers",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"build": "./build.sh",
|
|
8
9
|
"clean": "rimraf .cache coverage dist docs",
|
|
9
|
-
"docs": "rimraf docs && jsdoc -c ./
|
|
10
|
+
"docs": "rimraf docs && jsdoc -c ./jsdoc.conf.json --verbose",
|
|
10
11
|
"lint": "eslint .",
|
|
11
12
|
"pretest": "npm run lint",
|
|
12
13
|
"test": "jest",
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
"eslint-plugin-import": "^2.20.2",
|
|
33
34
|
"jest": "^26.4.2",
|
|
34
35
|
"jest-junit": "^10.0.0",
|
|
35
|
-
"jsdoc": "^3.6.
|
|
36
|
+
"jsdoc": "^3.6.11",
|
|
36
37
|
"node-fetch": "^2.6.0",
|
|
37
38
|
"regenerator-runtime": "^0.13.7",
|
|
38
39
|
"webpack": "^4.44.1",
|
package/src/identity.js
CHANGED
|
@@ -14,7 +14,7 @@ import * as popup from './popup';
|
|
|
14
14
|
import RESTClient from './RESTClient';
|
|
15
15
|
import SDKError from './SDKError';
|
|
16
16
|
import * as spidTalk from './spidTalk';
|
|
17
|
-
|
|
17
|
+
import { version } from '../package.json';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @typedef {object} LoginOptions
|
package/src/monetization.js
CHANGED
|
@@ -12,7 +12,7 @@ import RESTClient from './RESTClient';
|
|
|
12
12
|
import Cache from './cache';
|
|
13
13
|
import * as spidTalk from './spidTalk';
|
|
14
14
|
import SDKError from './SDKError';
|
|
15
|
-
|
|
15
|
+
import { version } from '../package.json';
|
|
16
16
|
|
|
17
17
|
const globalWindow = () => window;
|
|
18
18
|
|