@amedia/user 0.14.50 → 0.14.52

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/README.md CHANGED
@@ -293,6 +293,7 @@ This has been built into the prepublishOnly and postpublish hooks in package.jso
293
293
  Now the new version can be installed in a project by running `npm install -u @amedia/user@v<new version>`
294
294
 
295
295
  When you are as sure as you can be that you didn't break anything to can update the Eik alias:
296
- - Run `npx eik package-alias @amedia/user <version from eik.json> <Alias version>`
296
+ 1. https://github.com/amedia/amedia-user-js/actions/workflows/deploy.yml
297
+ 2. Run that workflow. If what you want is to update the latest alias with the latest version, you can leave the fields empty.
297
298
 
298
- Example: `npx eik package-alias @amedia/user 0.13.31 0`
299
+ Note that the timeout for alias-caching is 20mins, so if you're unlucky you might have to wait awhile for now.
package/dist/user.d.ts CHANGED
@@ -109,5 +109,6 @@ declare const updateStorage: (storage: {
109
109
  declare const saveStorage: (storage: {
110
110
  [index: string]: Object;
111
111
  }) => void;
112
+ declare const requestDataRefresh: () => void;
112
113
 
113
- export { FetchTimeoutError, PaywallError, PaywallUnlockRequest, PrivacyPreferences, State, UserAttributes, UserDataRequest, getLoginUrl, goToLoginPage, logout, saveStorage, updateStorage };
114
+ export { FetchTimeoutError, PaywallError, PaywallUnlockRequest, PrivacyPreferences, State, UserAttributes, UserDataRequest, getLoginUrl, goToLoginPage, logout, requestDataRefresh, saveStorage, updateStorage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amedia/user",
3
- "version": "0.14.50",
3
+ "version": "0.14.52",
4
4
  "description": "Client lib for working with aID user and associated data",
5
5
  "repository": "https://github.com/amedia/amedia-user-js",
6
6
  "author": "Amedia Utvikling (ID og data)",
@@ -55,9 +55,9 @@
55
55
  "@eik/cli": "^2.0.22",
56
56
  "@eik/esbuild-plugin": "^1.1.9",
57
57
  "@types/jest": "^27.4.1",
58
- "@typescript-eslint/eslint-plugin": "^5.23.0",
59
- "@typescript-eslint/parser": "^5.23.0",
60
- "concurrently": "^7.1.0",
58
+ "@typescript-eslint/eslint-plugin": "^5.25.0",
59
+ "@typescript-eslint/parser": "^5.25.0",
60
+ "concurrently": "^7.2.0",
61
61
  "cors": "^2.8.5",
62
62
  "esbuild": "0.14.39",
63
63
  "eslint": "^8.15.0",
@@ -72,7 +72,7 @@
72
72
  "mockdate": "^3.0.5",
73
73
  "npm-run-all": "^4.1.5",
74
74
  "prettier": "^2.6.2",
75
- "rollup": "2.72.1",
75
+ "rollup": "2.74.1",
76
76
  "rollup-plugin-dts": "4.2.1",
77
77
  "ts-jest": "^27.1.4",
78
78
  "tslib": "^2.4.0",