@firebase/firestore-compat 0.2.1 → 0.2.2-canary.0c0c58f47
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/CHANGELOG.md +12 -0
- package/dist/index.esm2017.js +2 -2
- package/dist/index.esm5.js +2 -2
- package/dist/index.node.cjs.js +1 -1
- package/dist/index.rn.js +2 -2
- package/dist/node-esm/index.node.esm.js +2 -2
- package/dist/src/index.d.ts +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @firebase/firestore-compat
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`4af28c1a4`](https://github.com/firebase/firebase-js-sdk/commit/4af28c1a42bd25ce2353f694ca1724c6101cbce5) [#6682](https://github.com/firebase/firebase-js-sdk/pull/6682) - Upgrade TypeScript to 4.7.4.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`4af28c1a4`](https://github.com/firebase/firebase-js-sdk/commit/4af28c1a42bd25ce2353f694ca1724c6101cbce5)]:
|
|
10
|
+
- @firebase/component@0.5.21
|
|
11
|
+
- @firebase/firestore@3.7.2
|
|
12
|
+
- @firebase/firestore-types@2.5.1
|
|
13
|
+
- @firebase/util@1.7.3
|
|
14
|
+
|
|
3
15
|
## 0.2.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.esm2017.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import firebase from '@firebase/app-compat';
|
|
2
|
-
import { FirestoreError, Bytes, _isBase64Available, enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence, clearIndexedDbPersistence, _DatabaseId, _logWarn, connectFirestoreEmulator, enableNetwork, disableNetwork, _validateIsNotUsedTogether, waitForPendingWrites, onSnapshotsInSync, collection, doc, collectionGroup, runTransaction, ensureFirestoreConfigured, WriteBatch as WriteBatch$1, executeWrite, loadBundle, namedQuery,
|
|
2
|
+
import { FirestoreError, Bytes, _isBase64Available, enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence, clearIndexedDbPersistence, _DatabaseId, _logWarn, connectFirestoreEmulator, enableNetwork, disableNetwork, _validateIsNotUsedTogether, waitForPendingWrites, onSnapshotsInSync, collection, doc, collectionGroup, runTransaction, ensureFirestoreConfigured, WriteBatch as WriteBatch$1, executeWrite, loadBundle, namedQuery, DocumentSnapshot as DocumentSnapshot$1, DocumentReference as DocumentReference$1, _DocumentKey, refEqual, setDoc, updateDoc, deleteDoc, onSnapshot, getDocFromCache, getDocFromServer, getDoc, snapshotEqual, query, where, orderBy, limit, limitToLast, startAt, startAfter, endBefore, endAt, queryEqual, getDocsFromCache, getDocsFromServer, getDocs, QuerySnapshot as QuerySnapshot$1, addDoc, _cast, AbstractUserDataWriter, setLogLevel as setLogLevel$1, QueryDocumentSnapshot as QueryDocumentSnapshot$1, _debugAssert, FieldPath as FieldPath$1, _FieldPath, serverTimestamp, deleteField, arrayUnion, arrayRemove, increment, GeoPoint, Timestamp, CACHE_SIZE_UNLIMITED } from '@firebase/firestore';
|
|
3
3
|
import { getModularInstance } from '@firebase/util';
|
|
4
4
|
import { Component } from '@firebase/component';
|
|
5
5
|
|
|
6
6
|
const name = "@firebase/firestore-compat";
|
|
7
|
-
const version = "0.2.
|
|
7
|
+
const version = "0.2.2-canary.0c0c58f47";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
package/dist/index.esm5.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import firebase from '@firebase/app-compat';
|
|
2
2
|
import { __assign, __extends, __spreadArray } from 'tslib';
|
|
3
|
-
import { FirestoreError,
|
|
3
|
+
import { FirestoreError, Bytes, _isBase64Available, _logWarn, connectFirestoreEmulator, enableNetwork, disableNetwork, _validateIsNotUsedTogether, waitForPendingWrites, onSnapshotsInSync, collection, doc, collectionGroup, runTransaction, ensureFirestoreConfigured, WriteBatch as WriteBatch$1, executeWrite, loadBundle, namedQuery, AbstractUserDataWriter, DocumentReference as DocumentReference$1, _DocumentKey, refEqual, setDoc, updateDoc, deleteDoc, onSnapshot, getDocFromCache, getDocFromServer, getDoc, DocumentSnapshot as DocumentSnapshot$1, snapshotEqual, _debugAssert, addDoc, _DatabaseId, QueryDocumentSnapshot as QueryDocumentSnapshot$1, query, where, orderBy, limit, limitToLast, startAt, startAfter, endBefore, endAt, queryEqual, getDocsFromCache, getDocsFromServer, getDocs, QuerySnapshot as QuerySnapshot$1, _cast, enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence, clearIndexedDbPersistence, setLogLevel as setLogLevel$1, _FieldPath, FieldPath as FieldPath$1, serverTimestamp, deleteField, arrayUnion, arrayRemove, increment, GeoPoint, Timestamp, CACHE_SIZE_UNLIMITED } from '@firebase/firestore';
|
|
4
4
|
import { getModularInstance } from '@firebase/util';
|
|
5
5
|
import { Component } from '@firebase/component';
|
|
6
6
|
|
|
7
7
|
const name = "@firebase/firestore-compat";
|
|
8
|
-
const version = "0.2.
|
|
8
|
+
const version = "0.2.2-canary.0c0c58f47";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @license
|
package/dist/index.node.cjs.js
CHANGED
|
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
|
|
13
13
|
|
|
14
14
|
const name = "@firebase/firestore-compat";
|
|
15
|
-
const version = "0.2.
|
|
15
|
+
const version = "0.2.2-canary.0c0c58f47";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @license
|
package/dist/index.rn.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import firebase from '@firebase/app-compat';
|
|
2
|
-
import { FirestoreError, Bytes, _isBase64Available, enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence, clearIndexedDbPersistence, _DatabaseId, _logWarn, connectFirestoreEmulator, enableNetwork, disableNetwork, _validateIsNotUsedTogether, waitForPendingWrites, onSnapshotsInSync, collection, doc, collectionGroup, runTransaction, ensureFirestoreConfigured, WriteBatch as WriteBatch$1, executeWrite, loadBundle, namedQuery,
|
|
2
|
+
import { FirestoreError, Bytes, _isBase64Available, enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence, clearIndexedDbPersistence, _DatabaseId, _logWarn, connectFirestoreEmulator, enableNetwork, disableNetwork, _validateIsNotUsedTogether, waitForPendingWrites, onSnapshotsInSync, collection, doc, collectionGroup, runTransaction, ensureFirestoreConfigured, WriteBatch as WriteBatch$1, executeWrite, loadBundle, namedQuery, DocumentSnapshot as DocumentSnapshot$1, DocumentReference as DocumentReference$1, _DocumentKey, refEqual, setDoc, updateDoc, deleteDoc, onSnapshot, getDocFromCache, getDocFromServer, getDoc, snapshotEqual, query, where, orderBy, limit, limitToLast, startAt, startAfter, endBefore, endAt, queryEqual, getDocsFromCache, getDocsFromServer, getDocs, QuerySnapshot as QuerySnapshot$1, addDoc, _cast, AbstractUserDataWriter, setLogLevel as setLogLevel$1, QueryDocumentSnapshot as QueryDocumentSnapshot$1, _debugAssert, FieldPath as FieldPath$1, _FieldPath, serverTimestamp, deleteField, arrayUnion, arrayRemove, increment, GeoPoint, Timestamp, CACHE_SIZE_UNLIMITED } from '@firebase/firestore';
|
|
3
3
|
import { getModularInstance } from '@firebase/util';
|
|
4
4
|
import { Component } from '@firebase/component';
|
|
5
5
|
|
|
6
6
|
const name = "@firebase/firestore-compat";
|
|
7
|
-
const version = "0.2.
|
|
7
|
+
const version = "0.2.2-canary.0c0c58f47";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import firebase from '@firebase/app-compat';
|
|
2
|
-
import { FirestoreError, Bytes, _isBase64Available, enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence, clearIndexedDbPersistence, _DatabaseId, _logWarn, connectFirestoreEmulator, enableNetwork, disableNetwork, _validateIsNotUsedTogether, waitForPendingWrites, onSnapshotsInSync, collection, doc, collectionGroup, runTransaction, ensureFirestoreConfigured, WriteBatch as WriteBatch$1, executeWrite, loadBundle, namedQuery,
|
|
2
|
+
import { FirestoreError, Bytes, _isBase64Available, enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence, clearIndexedDbPersistence, _DatabaseId, _logWarn, connectFirestoreEmulator, enableNetwork, disableNetwork, _validateIsNotUsedTogether, waitForPendingWrites, onSnapshotsInSync, collection, doc, collectionGroup, runTransaction, ensureFirestoreConfigured, WriteBatch as WriteBatch$1, executeWrite, loadBundle, namedQuery, DocumentSnapshot as DocumentSnapshot$1, DocumentReference as DocumentReference$1, _DocumentKey, refEqual, setDoc, updateDoc, deleteDoc, onSnapshot, getDocFromCache, getDocFromServer, getDoc, snapshotEqual, query, where, orderBy, limit, limitToLast, startAt, startAfter, endBefore, endAt, queryEqual, getDocsFromCache, getDocsFromServer, getDocs, QuerySnapshot as QuerySnapshot$1, addDoc, _cast, AbstractUserDataWriter, setLogLevel as setLogLevel$1, QueryDocumentSnapshot as QueryDocumentSnapshot$1, _debugAssert, FieldPath as FieldPath$1, _FieldPath, serverTimestamp, deleteField, arrayUnion, arrayRemove, increment, GeoPoint, Timestamp, CACHE_SIZE_UNLIMITED } from '@firebase/firestore';
|
|
3
3
|
import { getModularInstance } from '@firebase/util';
|
|
4
4
|
import { Component } from '@firebase/component';
|
|
5
5
|
|
|
6
6
|
const name = "@firebase/firestore-compat";
|
|
7
|
-
const version = "0.2.
|
|
7
|
+
const version = "0.2.2-canary.0c0c58f47";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
package/dist/src/index.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ declare module '@firebase/app-compat' {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
|
|
52
|
-
import { WithFieldValue, DocumentReference, CollectionReference, DocumentData, Query, EmulatorMockTokenOptions, PersistenceSettings, AggregateQuerySnapshot, AggregateField, DocumentSnapshot, QuerySnapshot, Firestore, FirestoreSettings, LoadBundleTask, FirestoreError, Unsubscribe, SnapshotListenOptions, QueryConstraint, Transaction, TransactionOptions, PartialWithFieldValue, SetOptions, IndexConfiguration, UpdateData, FieldPath, WriteBatch } from "@firebase/firestore";
|
|
52
|
+
import { type WithFieldValue, type DocumentReference, type CollectionReference, type DocumentData, type Query, type EmulatorMockTokenOptions, type PersistenceSettings, type AggregateQuerySnapshot, type AggregateField, type DocumentSnapshot, type QuerySnapshot, type Firestore, type FirestoreSettings, type LoadBundleTask, type FirestoreError, type Unsubscribe, type SnapshotListenOptions, type QueryConstraint, type Transaction, type TransactionOptions, type PartialWithFieldValue, type SetOptions, type IndexConfiguration, type UpdateData, type FieldPath, type WriteBatch } from "@firebase/firestore";
|
|
53
53
|
declare module "@firebase/firestore" {
|
|
54
54
|
function addDoc<T>(reference: types.CollectionReference<T>, data: WithFieldValue<T>): Promise<DocumentReference<T>>;
|
|
55
55
|
function clearIndexedDbPersistence(firestore: types.FirebaseFirestore): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore-compat",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2-canary.0c0c58f47",
|
|
4
4
|
"description": "The Cloud Firestore component of the Firebase JS SDK.",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.node.cjs.js",
|
|
@@ -40,24 +40,24 @@
|
|
|
40
40
|
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../firestore/dist/index.d.ts -o dist/src/index.d.ts -a -r Firestore:types.FirebaseFirestore -r CollectionReference:types.CollectionReference -r DocumentReference:types.DocumentReference -r Query:types.Query -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/firestore"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@firebase/app-compat": "0.
|
|
43
|
+
"@firebase/app-compat": "0.1.38-canary.0c0c58f47"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@firebase/component": "0.5.
|
|
47
|
-
"@firebase/firestore": "3.7.
|
|
48
|
-
"@firebase/util": "1.7.
|
|
49
|
-
"@firebase/firestore-types": "2.5.
|
|
46
|
+
"@firebase/component": "0.5.21-canary.0c0c58f47",
|
|
47
|
+
"@firebase/firestore": "3.7.2-canary.0c0c58f47",
|
|
48
|
+
"@firebase/util": "1.7.3-canary.0c0c58f47",
|
|
49
|
+
"@firebase/firestore-types": "2.5.1-canary.0c0c58f47",
|
|
50
50
|
"tslib": "^2.1.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@firebase/app-compat": "0.1.
|
|
53
|
+
"@firebase/app-compat": "0.1.38-canary.0c0c58f47",
|
|
54
54
|
"@types/eslint": "7.29.0",
|
|
55
|
-
"rollup": "2.
|
|
55
|
+
"rollup": "2.79.1",
|
|
56
56
|
"rollup-plugin-sourcemaps": "0.6.3",
|
|
57
57
|
"rollup-plugin-terser": "7.0.2",
|
|
58
58
|
"rollup-plugin-typescript2": "0.31.2",
|
|
59
59
|
"@rollup/plugin-node-resolve": "13.3.0",
|
|
60
|
-
"ts-node": "10.
|
|
60
|
+
"ts-node": "10.9.1",
|
|
61
61
|
"typescript": "4.2.2"
|
|
62
62
|
},
|
|
63
63
|
"license": "Apache-2.0",
|