@nangohq/types 0.69.7 → 0.69.9

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.
@@ -60,6 +60,7 @@ export type GetPublicConnections = Endpoint<{
60
60
  connectionId?: string | undefined;
61
61
  search?: string | undefined;
62
62
  endUserId?: string | undefined;
63
+ integrationId?: string | undefined;
63
64
  endUserOrganizationId?: string | undefined;
64
65
  };
65
66
  Path: '/connection';
@@ -10,4 +10,7 @@ export interface NodeConfig {
10
10
  readonly cpuMilli: number;
11
11
  readonly memoryMb: number;
12
12
  readonly storageMb: number;
13
+ readonly isTracingEnabled: boolean;
14
+ readonly isProfilingEnabled: boolean;
15
+ readonly idleMaxDurationMs: number;
13
16
  }
@@ -1,7 +1,11 @@
1
1
  import type { RunnerFlags } from './index.js';
2
+ import type { LogLevel } from '../logs/messages.js';
2
3
  import type { DBSyncConfig } from '../syncConfigs/db.js';
3
4
  import type { DBTeam } from '../team/db.js';
4
5
  import type { AxiosError, AxiosInterceptorManager, AxiosRequestConfig, AxiosResponse } from 'axios';
6
+ export interface SdkLogger {
7
+ level: LogLevel | 'off';
8
+ }
5
9
  export interface NangoProps {
6
10
  scriptType: 'sync' | 'action' | 'webhook' | 'on-event';
7
11
  host?: string;
@@ -23,6 +27,7 @@ export interface NangoProps {
23
27
  abortSignal?: AbortSignal;
24
28
  syncConfig: DBSyncConfig;
25
29
  runnerFlags: RunnerFlags;
30
+ logger: SdkLogger;
26
31
  /**
27
32
  * @deprecated not used
28
33
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nangohq/types",
3
- "version": "0.69.7",
3
+ "version": "0.69.9",
4
4
  "description": "Types used in Nango applications",
5
5
  "type": "module",
6
6
  "typings": "dist/index.d.ts",