@axa-fr/react-oidc 7.8.0 → 7.9.0-alpha.1111

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -187,7 +187,9 @@ const configuration = {
187
187
  },
188
188
  refresh_time_before_tokens_expiration_in_second: Number, // default is 120 seconds
189
189
  service_worker_relative_url: String,
190
- service_worker_only: Boolean, // default false
190
+ service_worker_keep_alive_path: String, // default is "/"
191
+ service_worker_only: Boolean, // default false
192
+ service_worker_activate: () => boolean, // you can take the control of the service worker default activation which use user agent string
191
193
  service_worker_update_require_callback: (registration:any, stopKeepAlive:Function) => Promise<void>, // callback called when service worker need to be updated, you can take the control of the update process
192
194
  extras: StringMap | undefined, // ex: {'prompt': 'consent', 'access_type': 'offline'} list of key/value that is sent to the OIDC server (more info: https://github.com/openid/AppAuth-JS)
193
195
  token_request_extras: StringMap | undefined, // ex: {'prompt': 'consent', 'access_type': 'offline'} list of key/value that is sent to the OIDC server during token request (more info: https://github.com/openid/AppAuth-JS)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axa-fr/react-oidc",
3
- "version": "7.8.0",
3
+ "version": "7.9.0-alpha.1111",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.cjs",
@@ -40,8 +40,8 @@
40
40
  "lint": "eslint src"
41
41
  },
42
42
  "dependencies": {
43
- "@axa-fr/oidc-client-service-worker": "7.8.0",
44
- "@axa-fr/oidc-client": "7.8.0",
43
+ "@axa-fr/oidc-client-service-worker": "7.9.0-alpha.1111",
44
+ "@axa-fr/oidc-client": "7.9.0-alpha.1111",
45
45
  "base64-js": "1.5.1"
46
46
  },
47
47
  "peerDependencies": {