@unchainedshop/mongodb 4.8.24 → 4.8.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchainedshop/mongodb",
3
- "version": "4.8.24",
3
+ "version": "4.8.26",
4
4
  "description": "MongoDB database abstraction layer for the Unchained Engine",
5
5
  "main": "lib/mongodb-index.js",
6
6
  "types": "lib/mongodb-index.d.ts",
@@ -1,2 +0,0 @@
1
- export declare function assertDocumentDBCompatMode(): void;
2
- export declare const isDocumentDBCompatModeEnabled: () => boolean;
@@ -1,5 +0,0 @@
1
- export function assertDocumentDBCompatMode() {
2
- if (isDocumentDBCompatModeEnabled())
3
- throw new Error('Text search is not supported in DocumentDB Compatibility Mode');
4
- }
5
- export const isDocumentDBCompatModeEnabled = () => Boolean(process.env.UNCHAINED_DOCUMENTDB_COMPAT_MODE);