nango 0.39.24 → 0.39.26

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.
@@ -202,6 +202,7 @@ export declare class NangoAction {
202
202
  provider?: string;
203
203
  ActionError: typeof ActionError;
204
204
  private memoizedConnections;
205
+ private memoizedIntegration;
205
206
  constructor(config: NangoProps);
206
207
  protected stringify(): string;
207
208
  private proxyConfig;
@@ -216,9 +217,15 @@ export declare class NangoAction {
216
217
  getConnection(providerConfigKeyOverride?: string, connectionIdOverride?: string): Promise<Connection>;
217
218
  setMetadata(metadata: Record<string, any>): Promise<AxiosResponse<void>>;
218
219
  updateMetadata(metadata: Record<string, any>): Promise<AxiosResponse<void>>;
220
+ /**
221
+ * @deprecated please use setMetadata instead.
222
+ */
219
223
  setFieldMapping(fieldMapping: Record<string, string>): Promise<AxiosResponse<void>>;
220
224
  getMetadata<T = Metadata>(): Promise<T>;
221
225
  getWebhookURL(): Promise<string | undefined>;
226
+ /**
227
+ * @deprecated please use getMetadata instead.
228
+ */
222
229
  getFieldMapping(): Promise<Metadata>;
223
230
  /**
224
231
  * Log
@@ -254,11 +261,7 @@ export declare class NangoSync extends NangoAction {
254
261
  private batchSize;
255
262
  constructor(config: NangoProps);
256
263
  /**
257
- * Deprecated, reach out to support
258
- */
259
- setLastSyncDate(): Promise<void>;
260
- /**
261
- * Deprecated, please use batchSave
264
+ * @deprecated please use batchSave
262
265
  */
263
266
  batchSend<T = any>(results: T[], model: string): Promise<boolean | null>;
264
267
  batchSave<T = any>(results: T[], model: string): Promise<boolean | null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nango",
3
- "version": "0.39.24",
3
+ "version": "0.39.26",
4
4
  "description": "Nango's CLI tool.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "@babel/traverse": "^7.22.5",
28
28
  "@babel/types": "^7.22.5",
29
29
  "@inquirer/prompts": "^2.3.0",
30
- "@nangohq/shared": "^0.39.24",
30
+ "@nangohq/shared": "^0.39.26",
31
31
  "@vercel/ncc": "^0.36.1",
32
32
  "ajv": "^8.12.0",
33
33
  "ajv-errors": "^3.0.0",