@adobe/helix-onedrive-support 11.5.2 → 11.5.4

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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [11.5.4](https://github.com/adobe/helix-onedrive-support/compare/v11.5.3...v11.5.4) (2024-07-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** change @adobe/helix-shared-tokencache dep to non-fixed ([#559](https://github.com/adobe/helix-onedrive-support/issues/559)) ([5c7a5ba](https://github.com/adobe/helix-onedrive-support/commit/5c7a5ba5d1cd80a183f7555343ade3b338afcb1b))
7
+
8
+ ## [11.5.3](https://github.com/adobe/helix-onedrive-support/compare/v11.5.2...v11.5.3) (2024-07-09)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/helix-shared-tokencache to v1.4.19 ([#558](https://github.com/adobe/helix-onedrive-support/issues/558)) ([0315c79](https://github.com/adobe/helix-onedrive-support/commit/0315c79bab4a0bd3cc7a8c28c47810eedcd8a704))
14
+
1
15
  ## [11.5.2](https://github.com/adobe/helix-onedrive-support/compare/v11.5.1...v11.5.2) (2024-07-09)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-onedrive-support",
3
- "version": "11.5.2",
3
+ "version": "11.5.4",
4
4
  "description": "Helix OneDrive Support",
5
5
  "main": "src/index.js",
6
6
  "exports": {
@@ -29,7 +29,7 @@
29
29
  "homepage": "https://github.com/adobe/helix-onedrive-support#readme",
30
30
  "dependencies": {
31
31
  "@adobe/fetch": "4.1.8",
32
- "@adobe/helix-shared-tokencache": "1.4.18",
32
+ "@adobe/helix-shared-tokencache": "^1.4.19",
33
33
  "@azure/msal-node": "2.10.0",
34
34
  "jose": "5.6.3"
35
35
  },
@@ -82,7 +82,7 @@ export declare class OneDriveAuth {
82
82
  /**
83
83
  * the MSAL client application
84
84
  */
85
- app: ClientApplication;
85
+ getApp(): Promise<ClientApplication>;
86
86
 
87
87
  /**
88
88
  * the authority url for login.
@@ -325,7 +325,7 @@ export class OneDriveAuth {
325
325
  }
326
326
 
327
327
  // try again with fresh mem cache
328
- if (this.cachePlugin instanceof MemCachePlugin) {
328
+ if (typeof this.cachePlugin.clear === 'function') {
329
329
  this.cachePlugin.clear();
330
330
 
331
331
  accounts = await app.getTokenCache().getAllAccounts();