@mitreka/coreflow-types 0.0.11 → 0.0.12

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/auth.ts +2 -1
  2. package/package.json +1 -1
package/auth.ts CHANGED
@@ -58,6 +58,7 @@ export type AuthorizationParam = {
58
58
  response_type: AuthResponseType;
59
59
  scope: string;
60
60
  state: string;
61
+ token_version: number; // Custom key for token format compatibility. Remove it if not used by any client.
61
62
  user_id: string;
62
63
  };
63
64
 
@@ -66,7 +67,7 @@ export type AuthorizationCallback = Pick<AuthorizationParam, 'code' | 'error' |
66
67
  /**
67
68
  * Authorization exchange
68
69
  */
69
- export type AuthorizationExchange = Pick<AuthorizationParam, 'client_id' | 'client_secret' | 'code' | 'code_verifier' | 'grant_type' | 'redirect_uri'>;
70
+ export type AuthorizationExchange = Pick<AuthorizationParam, 'client_id' | 'client_secret' | 'code' | 'code_verifier' | 'grant_type' | 'redirect_uri' | 'token_version'>;
70
71
 
71
72
  /**
72
73
  * Authorization refresh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mitreka/coreflow-types",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "CoreFlow Types Definition",
5
5
  "author": {
6
6
  "name": "Riyan Widiyanto",