nango 0.37.9 → 0.37.10

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.
@@ -1,4 +1,4 @@
1
- type LogLevel = 'info' | 'debug' | 'error' | 'warn' | 'http' | 'verbose' | 'silly';
1
+ import type { LogLevel } from '../models/Activity.js';
2
2
  interface ParamEncoder {
3
3
  (value: any, defaultEncoder: (value: any) => any): any;
4
4
  }
@@ -153,6 +153,7 @@ export interface NangoProps {
153
153
  attributes?: object | undefined;
154
154
  logMessages?: unknown[] | undefined;
155
155
  stubbedMetadata?: Metadata | undefined;
156
+ usePersistAPI?: boolean;
156
157
  }
157
158
  interface UserLogParameters {
158
159
  level?: LogLevel;
@@ -170,6 +171,7 @@ export declare class NangoAction {
170
171
  environmentId?: number;
171
172
  syncJobId?: number;
172
173
  dryRun?: boolean;
174
+ usePersistAPI: boolean;
173
175
  connectionId?: string;
174
176
  providerConfigKey?: string;
175
177
  ActionError: typeof ActionError;
@@ -199,6 +201,7 @@ export declare class NangoSync extends NangoAction {
199
201
  track_deletes: boolean;
200
202
  logMessages?: unknown[] | undefined;
201
203
  stubbedMetadata?: Metadata | undefined;
204
+ private batchSize;
202
205
  constructor(config: NangoProps);
203
206
  /**
204
207
  * Set Sync Last Sync Date
@@ -68,6 +68,24 @@ services:
68
68
  networks:
69
69
  - nango
70
70
 
71
+ nango-persist:
72
+ image: nangohq/nango-persist:production
73
+ container_name: nango-persist
74
+ restart: always
75
+ ports:
76
+ - '${PERSIST_PORT:-3007}:${PERSIST_PORT:-3007}'
77
+ environment:
78
+ - NANGO_ENCRYPTION_KEY=${NANGO_ENCRYPTION_KEY}
79
+ - NANGO_DB_USER=${NANGO_DB_USER}
80
+ - NANGO_DB_PASSWORD=${NANGO_DB_PASSWORD}
81
+ - NANGO_DB_HOST=${NANGO_DB_HOST}
82
+ - NANGO_DB_NAME=${NANGO_DB_NAME}
83
+ - NANGO_DB_SSL=${NANGO_DB_SSL}
84
+ depends_on:
85
+ - nango-db
86
+ networks:
87
+ - nango
88
+
71
89
  temporal:
72
90
  image: temporalio/auto-setup
73
91
  container_name: temporal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nango",
3
- "version": "0.37.9",
3
+ "version": "0.37.10",
4
4
  "description": "Nango's CLI tool.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@babel/traverse": "^7.22.5",
28
28
  "@inquirer/prompts": "^2.3.0",
29
- "@nangohq/shared": "^0.37.9",
29
+ "@nangohq/shared": "^0.37.10",
30
30
  "@vercel/ncc": "^0.36.1",
31
31
  "ajv": "^8.12.0",
32
32
  "ajv-errors": "^3.0.0",