@nangohq/node 0.24.5 → 0.24.6

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/dist/types.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -3,9 +3,9 @@ export declare enum AuthModes {
3
3
  OAuth1 = "OAUTH1",
4
4
  OAuth2 = "OAUTH2"
5
5
  }
6
- export interface CredentialsCommon {
6
+ export interface CredentialsCommon<T = Record<string, any>> {
7
7
  type: AuthModes;
8
- raw: Record<string, string>;
8
+ raw: T;
9
9
  }
10
10
  export interface OAuth1Credentials extends CredentialsCommon {
11
11
  type: AuthModes.OAuth1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nangohq/node",
3
- "version": "0.24.5",
3
+ "version": "0.24.6",
4
4
  "description": "Nango's Node client.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",