mongochangestream
Advanced tools
Comparing version 0.26.0 to 0.26.1
@@ -0,1 +1,5 @@ | ||
# 0.26.1 | ||
- `Document` type should refer to type from `mongodb` not DOM. | ||
# 0.26.0 | ||
@@ -2,0 +6,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { ChangeStreamDocument, ChangeStreamInsertDocument } from 'mongodb'; | ||
import { ChangeStreamDocument, ChangeStreamInsertDocument, Document } from 'mongodb'; | ||
export declare type ProcessRecord = (doc: ChangeStreamDocument) => void | Promise<void>; | ||
@@ -3,0 +3,0 @@ export declare type ProcessRecords = (doc: ChangeStreamInsertDocument[]) => void | Promise<void>; |
{ | ||
"name": "mongochangestream", | ||
"version": "0.26.0", | ||
"version": "0.26.1", | ||
"description": "Sync MongoDB collections via change streams into any database.", | ||
@@ -5,0 +5,0 @@ "author": "GovSpend", |
@@ -1,2 +0,6 @@ | ||
import { ChangeStreamDocument, ChangeStreamInsertDocument } from 'mongodb' | ||
import { | ||
ChangeStreamDocument, | ||
ChangeStreamInsertDocument, | ||
Document, | ||
} from 'mongodb' | ||
@@ -3,0 +7,0 @@ export type ProcessRecord = (doc: ChangeStreamDocument) => void | Promise<void> |
@@ -7,2 +7,3 @@ { | ||
"target": "es2022", | ||
"lib": ["ESNext"], | ||
"strict": true, | ||
@@ -9,0 +10,0 @@ "esModuleInterop": true, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52686
1180