@magda/authentication-plugin-sdk 1.2.1 → 2.0.0-alpha.1

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 (3) hide show
  1. package/dist/index.d.ts +3 -2
  2. package/dist/index.js +3301 -6608
  3. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -134,11 +134,12 @@ declare function destroySession_2(req: express.Request): Promise<void>;
134
134
  * @export
135
135
  * @param {string} url
136
136
  * @param {string} baseUrl
137
- * @param {{ [key: string]: string }} [optionalQueries]
137
+ * @param {{ [key: string]: any }} [optionalQueries] optional extra query parameters to add to the result url.
138
+ * All values supplied will be converted into string before encoded into the url.
138
139
  * @returns
139
140
  */
140
141
  export declare function getAbsoluteUrl(url: string, baseUrl: string, optionalQueries?: {
141
- [key: string]: string;
142
+ [key: string]: any;
142
143
  }): string;
143
144
 
144
145
  export declare function getSessionId(req: express.Request, secret?: string): string;