@lwrjs/auth-middleware 0.6.0 → 0.6.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.
@@ -1,4 +1,4 @@
1
- import type { InternalAppServer, ServerTypes } from '@lwrjs/types';
1
+ import type { PublicAppServer, ServerTypes } from '@lwrjs/types';
2
2
  import type { PlatformWebServerOptions } from './types.js';
3
3
  /**
4
4
  * Web Server OAuth middleware: https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_web_server_flow.htm&type=5
@@ -9,5 +9,5 @@ import type { PlatformWebServerOptions } from './types.js';
9
9
  * The login endpoint accepts the following query parameters:
10
10
  * - app_path: a path encoded string; the middleware redirects to this path after setting the OAuth token in a cookie; default is "/"
11
11
  */
12
- export declare function platformWebServerAuthMiddleware<T extends ServerTypes>(server: InternalAppServer<T>, { proxyEndpoint }?: PlatformWebServerOptions): void;
12
+ export declare function platformWebServerAuthMiddleware<T extends ServerTypes>(server: PublicAppServer<T>, { proxyEndpoint }?: PlatformWebServerOptions): void;
13
13
  //# sourceMappingURL=web-server.d.ts.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.6.0",
7
+ "version": "0.6.4",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -30,13 +30,13 @@
30
30
  "build/**/*.d.ts"
31
31
  ],
32
32
  "devDependencies": {
33
- "@lwrjs/server": "0.6.0",
34
- "@lwrjs/types": "0.6.0",
33
+ "@lwrjs/server": "0.6.4",
34
+ "@lwrjs/types": "0.6.4",
35
35
  "@types/node-fetch": "^2.5.12",
36
36
  "node-fetch": "^2.6.1"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">=14.15.4 <17"
40
40
  },
41
- "gitHead": "31769655f0155ad7e54cf37bccdf72d0baaf44ab"
41
+ "gitHead": "80b73fe4558dc3db0afcdbe80eb17f5a1464e34e"
42
42
  }