@nangohq/node 0.53.1 → 0.54.0

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/dist/index.cjs CHANGED
@@ -44,7 +44,7 @@ var import_node_https = __toESM(require("https"), 1);
44
44
  var import_os = __toESM(require("os"), 1);
45
45
 
46
46
  // lib/version.ts
47
- var NANGO_VERSION = "0.53.1";
47
+ var NANGO_VERSION = "0.54.0";
48
48
 
49
49
  // lib/utils.ts
50
50
  var validateProxyConfiguration = (config) => {
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { NangoSyncWebhookBodySuccess, NangoSyncWebhookBodyError, NangoSyncWebhookBody, NangoAuthWebhookBodySuccess, NangoAuthWebhookBodyError, NangoAuthWebhookBody, NangoWebhookBody, AuthOperation, AuthOperationType, AuthModeType, AuthModes, HTTP_METHOD, NangoSyncEndpointV2, AllAuthCredentials, OAuth1Token, OAuth1Credentials, OAuth2Credentials, OAuth2ClientCredentials, BasicApiCredentials, ApiKeyCredentials, AppCredentials, AppStoreCredentials, UnauthCredentials, CustomCredentials, TbaCredentials, RecordMetadata, RecordLastAction, NangoRecord, JwtCredentials, TwoStepCredentials, CredentialsCommon, TableauCredentials, BillCredentials, GetPublicProviders, GetPublicProvider, GetPublicListIntegrations, GetPublicListIntegrationsLegacy, GetPublicIntegration, GetPublicConnections, GetPublicConnection, PostConnectSessions, PostPublicConnectSessionsReconnect, GetPublicRecords } from '@nangohq/types';
1
+ import type { NangoSyncWebhookBodySuccess, NangoSyncWebhookBodyError, NangoSyncWebhookBody, NangoAuthWebhookBodySuccess, NangoAuthWebhookBodyError, NangoAuthWebhookBody, NangoWebhookBody, AuthOperation, AuthOperationType, AuthModeType, AuthModes, HTTP_METHOD, NangoSyncEndpointV2, AllAuthCredentials, OAuth1Token, OAuth1Credentials, OAuth2Credentials, OAuth2ClientCredentials, BasicApiCredentials, ApiKeyCredentials, AppCredentials, AppStoreCredentials, UnauthCredentials, CustomCredentials, TbaCredentials, RecordMetadata, RecordLastAction, NangoRecord, JwtCredentials, TwoStepCredentials, CredentialsCommon, TableauCredentials, BillCredentials, GetPublicProviders, GetPublicProvider, GetPublicListIntegrations, GetPublicListIntegrationsLegacy, GetPublicIntegration, GetPublicConnections, GetPublicConnection, PostConnectSessions, PostPublicConnectSessionsReconnect, GetPublicRecords, UserProvidedProxyConfiguration } from '@nangohq/types';
2
2
  export type { NangoSyncWebhookBodySuccess, NangoSyncWebhookBodyError, NangoSyncWebhookBody, NangoAuthWebhookBodySuccess, NangoAuthWebhookBodyError, NangoAuthWebhookBody, NangoWebhookBody };
3
3
  export type { AuthOperation, AuthOperationType, AuthModeType, AuthModes, AllAuthCredentials, OAuth1Token, OAuth1Credentials, OAuth2Credentials, OAuth2ClientCredentials, BasicApiCredentials, ApiKeyCredentials, AppCredentials, AppStoreCredentials, UnauthCredentials, CustomCredentials, CredentialsCommon, TableauCredentials, BillCredentials, TbaCredentials, JwtCredentials, TwoStepCredentials };
4
4
  export type { HTTP_METHOD, NangoSyncEndpointV2 };
@@ -23,20 +23,10 @@ export interface CreateConnectionOAuth2 extends OAuth2Credentials {
23
23
  provider_config_key: string;
24
24
  type: AuthModes['OAuth2'];
25
25
  }
26
- export interface ProxyConfiguration {
27
- endpoint: string;
26
+ export type ProxyConfiguration = Omit<UserProvidedProxyConfiguration, 'files' | 'providerConfigKey' | 'connectionId'> & {
28
27
  providerConfigKey?: string;
29
28
  connectionId?: string;
30
- method?: 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE' | 'get' | 'post' | 'patch' | 'put' | 'delete';
31
- headers?: Record<string, string>;
32
- params?: string | Record<string, string | number>;
33
- data?: unknown;
34
- retries?: number;
35
- baseUrlOverride?: string;
36
- decompress?: boolean | string;
37
- responseType?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream';
38
- retryOn?: number[] | null;
39
- }
29
+ };
40
30
  export type FilterAction = 'added' | 'updated' | 'deleted' | 'ADDED' | 'UPDATED' | 'DELETED';
41
31
  export type CombinedFilterAction = `${FilterAction},${FilterAction}`;
42
32
  export interface ListRecordsRequestConfig {
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../lib/types.ts"],"names":[],"mappings":"AAuOA,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,+BAAa,CAAA;IACb,mCAAiB,CAAA;AACrB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../lib/types.ts"],"names":[],"mappings":"AA6NA,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,+BAAa,CAAA;IACb,mCAAiB,CAAA;AACrB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB"}
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const NANGO_VERSION = "0.53.1";
1
+ export declare const NANGO_VERSION = "0.54.0";
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const NANGO_VERSION = '0.53.1';
1
+ export const NANGO_VERSION = '0.54.0';
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nangohq/node",
3
- "version": "0.53.1",
3
+ "version": "0.54.0",
4
4
  "description": "Nango's Node client.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY",
27
27
  "dependencies": {
28
- "@nangohq/types": "0.53.1",
28
+ "@nangohq/types": "0.54.0",
29
29
  "axios": "^1.7.9"
30
30
  },
31
31
  "engines": {