Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@flatfile/plugin-record-hook

Package Overview
Dependencies
Maintainers
16
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flatfile/plugin-record-hook - npm Package Compare versions

Comparing version 1.11.2 to 2.0.0

8

dist/index.d.ts

@@ -9,3 +9,3 @@ import { FlatfileRecord } from '@flatfile/hooks';

}
declare const RecordHook: (event: FlatfileEvent, handler: (record: FlatfileRecord, event?: FlatfileEvent) => any | Promise<any>, options?: RecordHookOptions) => Promise<void>;
declare const RecordHook: (event: FlatfileEvent, handler: (record: FlatfileRecord, event: FlatfileEvent) => any | Promise<any>, options?: RecordHookOptions) => Promise<void>;
interface BulkRecordHookOptions {

@@ -16,7 +16,7 @@ chunkSize?: number;

}
declare const BulkRecordHook: (event: FlatfileEvent, handler: (records: FlatfileRecord[], event?: FlatfileEvent) => any | Promise<any>, options?: BulkRecordHookOptions) => Promise<void>;
declare const BulkRecordHook: (event: FlatfileEvent, handler: (records: FlatfileRecord[], event: FlatfileEvent) => any | Promise<any>, options?: BulkRecordHookOptions) => Promise<void>;
declare const recordHookPlugin: (sheetSlug: string, callback: (record: FlatfileRecord, event?: FlatfileEvent) => any | Promise<any>, options?: RecordHookOptions) => (listener: FlatfileListener) => void;
declare const bulkRecordHookPlugin: (sheetSlug: string, callback: (records: FlatfileRecord[], event?: FlatfileEvent) => any | Promise<any>, options?: BulkRecordHookOptions) => (listener: FlatfileListener) => void;
declare const recordHookPlugin: (sheetSlug: string, callback: (record: FlatfileRecord, event: FlatfileEvent) => any | Promise<any>, options?: RecordHookOptions) => (listener: FlatfileListener) => void;
declare const bulkRecordHookPlugin: (sheetSlug: string, callback: (records: FlatfileRecord[], event: FlatfileEvent) => any | Promise<any>, options?: BulkRecordHookOptions) => (listener: FlatfileListener) => void;
export { BulkRecordHook, type BulkRecordHookOptions, RecordHook, type RecordHookOptions, bulkRecordHookPlugin as bulkRecordHook, bulkRecordHookPlugin, recordHookPlugin as recordHook, recordHookPlugin };
{
"name": "@flatfile/plugin-record-hook",
"version": "1.11.2",
"version": "2.0.0",
"url": "https://github.com/FlatFilers/flatfile-plugins/tree/main/plugins/record-hook",

@@ -5,0 +5,0 @@ "description": "A plugin for running custom logic on individual data records in Flatfile.",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc