@firebase/firestore 3.0.2-canary.d164cb905 → 3.0.2-canary.f5b5efe95
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/dist/firestore/compat/api/database.d.ts +0 -9
- package/dist/firestore/compat/index.console.d.ts +10 -1
- package/dist/index.esm2017.js +2 -2
- package/dist/index.esm5.js +2 -2
- package/dist/index.node.cjs.esm2017.js +2 -2
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.rn.js +2 -2
- package/dist/lite/firestore/compat/api/database.d.ts +0 -9
- package/dist/lite/firestore/compat/index.console.d.ts +10 -1
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.esm2017.js +2 -2
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/packages/firestore/compat/api/database.d.ts +0 -9
- package/dist/lite/packages/firestore/compat/index.console.d.ts +10 -1
- package/dist/packages/firestore/compat/api/database.d.ts +0 -9
- package/dist/packages/firestore/compat/index.console.d.ts +10 -1
- package/package.json +11 -10
|
@@ -30,15 +30,6 @@ export interface PersistenceProvider {
|
|
|
30
30
|
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
31
31
|
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
32
32
|
}
|
|
33
|
-
/**
|
|
34
|
-
* The persistence provider included with the memory-only SDK. This provider
|
|
35
|
-
* errors for all attempts to access persistence.
|
|
36
|
-
*/
|
|
37
|
-
export declare class MemoryPersistenceProvider implements PersistenceProvider {
|
|
38
|
-
enableIndexedDbPersistence(firestore: Firestore, forceOwnership: boolean): Promise<void>;
|
|
39
|
-
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
40
|
-
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
41
|
-
}
|
|
42
33
|
/**
|
|
43
34
|
* The persistence provider included with the full Firestore SDK.
|
|
44
35
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { FirebaseAuthInternalName } from '@firebase/auth-interop-types';
|
|
18
18
|
import { Provider } from '@firebase/component';
|
|
19
|
-
import { Firestore as FirestoreCompat } from './api/database';
|
|
19
|
+
import { Firestore as FirestoreCompat, PersistenceProvider } from './api/database';
|
|
20
20
|
export { CollectionReference, DocumentReference, DocumentSnapshot, QuerySnapshot } from './api/database';
|
|
21
21
|
export { Blob } from './api/blob';
|
|
22
22
|
export { GeoPoint } from './api/geo_point';
|
|
@@ -27,6 +27,15 @@ export interface FirestoreDatabase {
|
|
|
27
27
|
projectId: string;
|
|
28
28
|
database?: string;
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* The persistence provider included with the memory-only SDK. This provider
|
|
32
|
+
* errors for all attempts to access persistence.
|
|
33
|
+
*/
|
|
34
|
+
export declare class MemoryPersistenceProvider implements PersistenceProvider {
|
|
35
|
+
enableIndexedDbPersistence(firestore: FirestoreCompat, forceOwnership: boolean): Promise<void>;
|
|
36
|
+
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
37
|
+
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
38
|
+
}
|
|
30
39
|
/** Firestore class that exposes the constructor expected by the Console. */
|
|
31
40
|
export declare class Firestore extends FirestoreCompat {
|
|
32
41
|
constructor(firestoreDatabase: FirestoreDatabase, authProvider: Provider<FirebaseAuthInternalName>);
|
package/dist/index.esm2017.js
CHANGED
|
@@ -68,7 +68,7 @@ V.MOCK_USER = new V("mock-user");
|
|
|
68
68
|
* See the License for the specific language governing permissions and
|
|
69
69
|
* limitations under the License.
|
|
70
70
|
*/
|
|
71
|
-
let S = "9.0.2-canary.
|
|
71
|
+
let S = "9.0.2-canary.f5b5efe95";
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* @license
|
|
@@ -17780,7 +17780,7 @@ function gh(t, e) {
|
|
|
17780
17780
|
return e = Object.assign({
|
|
17781
17781
|
useFetchStreams: !0
|
|
17782
17782
|
}, e), s._setSettings(e), s;
|
|
17783
|
-
}), "PUBLIC" /* PUBLIC */)), s("@firebase/firestore", "3.0.2-canary.
|
|
17783
|
+
}), "PUBLIC" /* PUBLIC */)), s("@firebase/firestore", "3.0.2-canary.f5b5efe95", Vh);
|
|
17784
17784
|
|
|
17785
17785
|
export { th as AbstractUserDataWriter, Jc as Bytes, Cc as CACHE_SIZE_UNLIMITED, Ic as CollectionReference, Ec as DocumentReference, Su as DocumentSnapshot, zc as FieldPath, Yc as FieldValue, Nc as Firestore, q as FirestoreError, Xc as GeoPoint, Dc as LoadBundleTask, Tc as Query, $u as QueryConstraint, Du as QueryDocumentSnapshot, Cu as QuerySnapshot, Vu as SnapshotMetadata, nt as Timestamp, Eh as Transaction, sh as WriteBatch, cc as _DatabaseId, Rt as _DocumentKey, Q as _EmptyCredentialsProvider, ht as _FieldPath, _c as _cast, L as _debugAssert, ft as _isBase64Available, $ as _logWarn, lc as _validateIsNotUsedTogether, _h as addDoc, bh as arrayRemove, Rh as arrayUnion, Bc as clearIndexedDbPersistence, Ac as collection, Rc as collectionGroup, pc as connectFirestoreEmulator, wh as deleteDoc, Ih as deleteField, Kc as disableNetwork, bc as doc, Hc as documentId, Fc as enableIndexedDbPersistence, Mc as enableMultiTabIndexedDbPersistence, qc as enableNetwork, Hu as endAt, zu as endBefore, $c as ensureFirestoreConfigured, yh as executeWrite, rh as getDoc, ah as getDocFromCache, ch as getDocFromServer, uh as getDocs, hh as getDocsFromCache, lh as getDocsFromServer, kc as getFirestore, Ph as increment, xc as initializeFirestore, qu as limit, Ku as limitToLast, Qc as loadBundle, Wc as namedQuery, mh as onSnapshot, gh as onSnapshotsInSync, Bu as orderBy, Ou as query, vc as queryEqual, Pc as refEqual, Th as runTransaction, Ah as serverTimestamp, fh as setDoc, N as setLogLevel, xu as snapshotEqual, Wu as startAfter, Qu as startAt, jc as terminate, dh as updateDoc, Uc as waitForPendingWrites, Mu as where, vh as writeBatch };
|
|
17786
17786
|
//# sourceMappingURL=index.esm2017.js.map
|
package/dist/index.esm5.js
CHANGED
|
@@ -69,7 +69,7 @@ L.MOCK_USER = new L("mock-user");
|
|
|
69
69
|
* See the License for the specific language governing permissions and
|
|
70
70
|
* limitations under the License.
|
|
71
71
|
*/
|
|
72
|
-
var R = "9.0.2-canary.
|
|
72
|
+
var R = "9.0.2-canary.f5b5efe95", O = new h("@firebase/firestore");
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* @license
|
|
@@ -18379,7 +18379,7 @@ R = i, o(new c("firestore", (function(t, e) {
|
|
|
18379
18379
|
return n = Object.assign({
|
|
18380
18380
|
useFetchStreams: !0
|
|
18381
18381
|
}, n), i._setSettings(n), i;
|
|
18382
|
-
}), "PUBLIC" /* PUBLIC */)), s("@firebase/firestore", "3.0.2-canary.
|
|
18382
|
+
}), "PUBLIC" /* PUBLIC */)), s("@firebase/firestore", "3.0.2-canary.f5b5efe95", undefined);
|
|
18383
18383
|
|
|
18384
18384
|
export { Bc as AbstractUserDataWriter, Mu as Bytes, gu as CACHE_SIZE_UNLIMITED, cu as CollectionReference, au as DocumentReference, vc as DocumentSnapshot, Pu as FieldPath, Vu as FieldValue, wu as Firestore, Q as FirestoreError, qu as GeoPoint, mu as LoadBundleTask, uu as Query, Tc as QueryConstraint, mc as QueryDocumentSnapshot, gc as QuerySnapshot, yc as SnapshotMetadata, st as Timestamp, ah as Transaction, zc as WriteBatch, Ya as _DatabaseId, At as _DocumentKey, Y as _EmptyCredentialsProvider, pt as _FieldPath, nu as _cast, j as _debugAssert, vt as _isBase64Available, q as _logWarn, $a as _validateIsNotUsedTogether, nh as addDoc, lh as arrayRemove, fh as arrayUnion, Du as clearIndexedDbPersistence, hu as collection, fu as collectionGroup, su as connectFirestoreEmulator, eh as deleteDoc, ch as deleteField, Cu as disableNetwork, lu as doc, Fu as documentId, Su as enableIndexedDbPersistence, Nu as enableMultiTabIndexedDbPersistence, ku as enableNetwork, Fc as endAt, Pc as endBefore, Tu as ensureFirestoreConfigured, oh as executeWrite, Qc as getDoc, Wc as getDocFromCache, Yc as getDocFromServer, Jc as getDocs, Xc as getDocsFromCache, $c as getDocsFromServer, Iu as getFirestore, dh as increment, bu as initializeFirestore, kc as limit, Cc as limitToLast, Lu as loadBundle, Ru as namedQuery, rh as onSnapshot, ih as onSnapshotsInSync, Dc as orderBy, Ec as query, pu as queryEqual, du as refEqual, uh as runTransaction, hh as serverTimestamp, Zc as setDoc, F as setLogLevel, bc as snapshotEqual, Rc as startAfter, Lc as startAt, xu as terminate, th as updateDoc, Au as waitForPendingWrites, Nc as where, ph as writeBatch };
|
|
18385
18385
|
//# sourceMappingURL=index.esm5.js.map
|
|
@@ -10,7 +10,7 @@ import { resolve, join } from 'path';
|
|
|
10
10
|
import { loadSync } from '@grpc/proto-loader';
|
|
11
11
|
|
|
12
12
|
const name = "@firebase/firestore";
|
|
13
|
-
const version$1 = "3.0.2-canary.
|
|
13
|
+
const version$1 = "3.0.2-canary.f5b5efe95";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @license
|
|
@@ -63,7 +63,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
63
63
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
64
64
|
User.MOCK_USER = new User('mock-user');
|
|
65
65
|
|
|
66
|
-
const version = "9.0.2-canary.
|
|
66
|
+
const version = "9.0.2-canary.f5b5efe95";
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
package/dist/index.node.cjs.js
CHANGED
|
@@ -15,7 +15,7 @@ var path = require('path');
|
|
|
15
15
|
var protoLoader = require('@grpc/proto-loader');
|
|
16
16
|
|
|
17
17
|
var name = "@firebase/firestore";
|
|
18
|
-
var version$1 = "3.0.2-canary.
|
|
18
|
+
var version$1 = "3.0.2-canary.f5b5efe95";
|
|
19
19
|
/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2017 Google LLC
|
|
@@ -67,7 +67,7 @@ User.UNAUTHENTICATED = new User(null);
|
|
|
67
67
|
User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
68
68
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
69
69
|
User.MOCK_USER = new User('mock-user');
|
|
70
|
-
var version = "9.0.2-canary.
|
|
70
|
+
var version = "9.0.2-canary.f5b5efe95";
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
73
73
|
* Copyright 2017 Google LLC
|
package/dist/index.rn.js
CHANGED
|
@@ -68,7 +68,7 @@ S.MOCK_USER = new S("mock-user");
|
|
|
68
68
|
* See the License for the specific language governing permissions and
|
|
69
69
|
* limitations under the License.
|
|
70
70
|
*/
|
|
71
|
-
let D = "9.0.2-canary.
|
|
71
|
+
let D = "9.0.2-canary.f5b5efe95";
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* @license
|
|
@@ -17804,7 +17804,7 @@ Dh = "rn", function(t) {
|
|
|
17804
17804
|
return e = Object.assign({
|
|
17805
17805
|
useFetchStreams: !0
|
|
17806
17806
|
}, e), s._setSettings(e), s;
|
|
17807
|
-
}), "PUBLIC" /* PUBLIC */)), s("@firebase/firestore", "3.0.2-canary.
|
|
17807
|
+
}), "PUBLIC" /* PUBLIC */)), s("@firebase/firestore", "3.0.2-canary.f5b5efe95", Dh);
|
|
17808
17808
|
|
|
17809
17809
|
export { nh as AbstractUserDataWriter, Xa as Bytes, xa as CACHE_SIZE_UNLIMITED, Ra as CollectionReference, Ia as DocumentReference, Cu as DocumentSnapshot, Ja as FieldPath, Za as FieldValue, ka as Firestore, K as FirestoreError, tu as GeoPoint, Na as LoadBundleTask, Aa as Query, Fu as QueryConstraint, Nu as QueryDocumentSnapshot, xu as QuerySnapshot, Du as SnapshotMetadata, st as Timestamp, Ih as Transaction, rh as WriteBatch, ha as _DatabaseId, Pt as _DocumentKey, W as _EmptyCredentialsProvider, lt as _FieldPath, ga as _cast, B as _debugAssert, wt as _isBase64Available, O as _logWarn, da as _validateIsNotUsedTogether, gh as addDoc, vh as arrayRemove, Ph as arrayUnion, qa as clearIndexedDbPersistence, ba as collection, Pa as collectionGroup, Ta as connectFirestoreEmulator, mh as deleteDoc, Rh as deleteField, Qa as disableNetwork, va as doc, Ya as documentId, La as enableIndexedDbPersistence, Ba as enableMultiTabIndexedDbPersistence, ja as enableNetwork, Yu as endAt, Ju as endBefore, Fa as ensureFirestoreConfigured, Eh as executeWrite, ch as getDoc, uh as getDocFromCache, hh as getDocFromServer, lh as getDocs, fh as getDocsFromCache, dh as getDocsFromServer, Oa as getFirestore, Vh as increment, $a as initializeFirestore, ju as limit, Qu as limitToLast, Ga as loadBundle, za as namedQuery, yh as onSnapshot, ph as onSnapshotsInSync, qu as orderBy, Mu as query, Sa as queryEqual, Va as refEqual, Ah as runTransaction, bh as serverTimestamp, wh as setDoc, x as setLogLevel, $u as snapshotEqual, zu as startAfter, Gu as startAt, Wa as terminate, _h as updateDoc, Ka as waitForPendingWrites, Bu as where, Sh as writeBatch };
|
|
17810
17810
|
//# sourceMappingURL=index.rn.js.map
|
|
@@ -30,15 +30,6 @@ export interface PersistenceProvider {
|
|
|
30
30
|
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
31
31
|
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
32
32
|
}
|
|
33
|
-
/**
|
|
34
|
-
* The persistence provider included with the memory-only SDK. This provider
|
|
35
|
-
* errors for all attempts to access persistence.
|
|
36
|
-
*/
|
|
37
|
-
export declare class MemoryPersistenceProvider implements PersistenceProvider {
|
|
38
|
-
enableIndexedDbPersistence(firestore: Firestore, forceOwnership: boolean): Promise<void>;
|
|
39
|
-
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
40
|
-
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
41
|
-
}
|
|
42
33
|
/**
|
|
43
34
|
* The persistence provider included with the full Firestore SDK.
|
|
44
35
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { FirebaseAuthInternalName } from '@firebase/auth-interop-types';
|
|
18
18
|
import { Provider } from '@firebase/component';
|
|
19
|
-
import { Firestore as FirestoreCompat } from './api/database';
|
|
19
|
+
import { Firestore as FirestoreCompat, PersistenceProvider } from './api/database';
|
|
20
20
|
export { CollectionReference, DocumentReference, DocumentSnapshot, QuerySnapshot } from './api/database';
|
|
21
21
|
export { Blob } from './api/blob';
|
|
22
22
|
export { GeoPoint } from './api/geo_point';
|
|
@@ -27,6 +27,15 @@ export interface FirestoreDatabase {
|
|
|
27
27
|
projectId: string;
|
|
28
28
|
database?: string;
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* The persistence provider included with the memory-only SDK. This provider
|
|
32
|
+
* errors for all attempts to access persistence.
|
|
33
|
+
*/
|
|
34
|
+
export declare class MemoryPersistenceProvider implements PersistenceProvider {
|
|
35
|
+
enableIndexedDbPersistence(firestore: FirestoreCompat, forceOwnership: boolean): Promise<void>;
|
|
36
|
+
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
37
|
+
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
38
|
+
}
|
|
30
39
|
/** Firestore class that exposes the constructor expected by the Console. */
|
|
31
40
|
export declare class Firestore extends FirestoreCompat {
|
|
32
41
|
constructor(firestoreDatabase: FirestoreDatabase, authProvider: Provider<FirebaseAuthInternalName>);
|
|
@@ -66,7 +66,7 @@ h.MOCK_USER = new h("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let l = "9.0.2-canary.
|
|
69
|
+
let l = "9.0.2-canary.f5b5efe95";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -5917,7 +5917,7 @@ class Cr {
|
|
|
5917
5917
|
}(`${s}_lite`), e(new i("firestore/lite", ((t, {options: n}) => {
|
|
5918
5918
|
const e = t.getProvider("app").getImmediate(), r = new ee(e, new B(t.getProvider("auth-internal")));
|
|
5919
5919
|
return n && r._setSettings(n), r;
|
|
5920
|
-
}), "PUBLIC" /* PUBLIC */)), r("firestore-lite", "3.0.2-canary.
|
|
5920
|
+
}), "PUBLIC" /* PUBLIC */)), r("firestore-lite", "3.0.2-canary.f5b5efe95", "node");
|
|
5921
5921
|
|
|
5922
5922
|
export { ye as Bytes, ae as CollectionReference, ue as DocumentReference, We as DocumentSnapshot, me as FieldPath, _e as FieldValue, ee as Firestore, L as FirestoreError, ge as GeoPoint, ce as Query, Je as QueryConstraint, Ge as QueryDocumentSnapshot, He as QuerySnapshot, pt as Timestamp, Cr as Transaction, Nr as WriteBatch, Ir as addDoc, Rr as arrayRemove, Pr as arrayUnion, he as collection, le as collectionGroup, ie as connectFirestoreEmulator, Er as deleteDoc, Tr as deleteField, fe as doc, pe as documentId, lr as endAt, hr as endBefore, _r as getDoc, gr as getDocs, se as getFirestore, Vr as increment, re as initializeFirestore, sr as limit, ir as limitToLast, er as orderBy, Ze as query, we as queryEqual, de as refEqual, Lr as runTransaction, Ar as serverTimestamp, br as setDoc, d as setLogLevel, Ye as snapshotEqual, cr as startAfter, ur as startAt, oe as terminate, vr as updateDoc, tr as where, $r as writeBatch };
|
|
5923
5923
|
//# sourceMappingURL=index.browser.esm2017.js.map
|
|
@@ -67,7 +67,7 @@ d.MOCK_USER = new d("mock-user");
|
|
|
67
67
|
* See the License for the specific language governing permissions and
|
|
68
68
|
* limitations under the License.
|
|
69
69
|
*/
|
|
70
|
-
var m = "9.0.2-canary.
|
|
70
|
+
var m = "9.0.2-canary.f5b5efe95", y = new f("@firebase/firestore");
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
|
@@ -5627,7 +5627,7 @@ function Lr(t, e) {
|
|
|
5627
5627
|
m = i + "_lite", o(new c("firestore/lite", (function(t, e) {
|
|
5628
5628
|
var n = e.options, r = t.getProvider("app").getImmediate(), i = new Ze(r, new z(t.getProvider("auth-internal")));
|
|
5629
5629
|
return n && i._setSettings(n), i;
|
|
5630
|
-
}), "PUBLIC" /* PUBLIC */)), a("firestore-lite", "3.0.2-canary.
|
|
5630
|
+
}), "PUBLIC" /* PUBLIC */)), a("firestore-lite", "3.0.2-canary.f5b5efe95", "node");
|
|
5631
5631
|
|
|
5632
5632
|
export { mn as Bytes, sn as CollectionReference, on as DocumentReference, Qn as DocumentSnapshot, pn as FieldPath, yn as FieldValue, Ze as Firestore, B as FirestoreError, vn as GeoPoint, an as Query, Yn as QueryConstraint, zn as QueryDocumentSnapshot, Hn as QuerySnapshot, gt as Timestamp, jr as Transaction, Vr as WriteBatch, _r as addDoc, Ir as arrayRemove, Er as arrayUnion, un as collection, cn as collectionGroup, nn as connectFirestoreEmulator, br as deleteDoc, Sr as deleteField, fn as doc, dn as documentId, cr as endAt, ur as endBefore, yr as getDoc, vr as getDocs, en as getFirestore, Ar as increment, tn as initializeFirestore, nr as limit, rr as limitToLast, tr as orderBy, Xn as query, hn as queryEqual, ln as refEqual, Lr as runTransaction, Tr as serverTimestamp, gr as setDoc, v as setLogLevel, Kn as snapshotEqual, ar as startAfter, or as startAt, rn as terminate, wr as updateDoc, Jn as where, kr as writeBatch };
|
|
5633
5633
|
//# sourceMappingURL=index.browser.esm5.js.map
|
|
@@ -15,7 +15,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
|
|
16
16
|
var nodeFetch__default = /*#__PURE__*/_interopDefaultLegacy(nodeFetch);
|
|
17
17
|
|
|
18
|
-
var version$1 = "3.0.2-canary.
|
|
18
|
+
var version$1 = "3.0.2-canary.f5b5efe95";
|
|
19
19
|
/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2017 Google LLC
|
|
@@ -67,7 +67,7 @@ User.UNAUTHENTICATED = new User(null);
|
|
|
67
67
|
User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
68
68
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
69
69
|
User.MOCK_USER = new User('mock-user');
|
|
70
|
-
var version = "9.0.2-canary.
|
|
70
|
+
var version = "9.0.2-canary.f5b5efe95";
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
73
73
|
* Copyright 2017 Google LLC
|
|
@@ -6,7 +6,7 @@ import { createMockUserToken, getModularInstance } from '@firebase/util';
|
|
|
6
6
|
import nodeFetch from 'node-fetch';
|
|
7
7
|
import { randomBytes as randomBytes$1 } from 'crypto';
|
|
8
8
|
|
|
9
|
-
const version$1 = "3.0.2-canary.
|
|
9
|
+
const version$1 = "3.0.2-canary.f5b5efe95";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @license
|
|
@@ -59,7 +59,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
59
59
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
60
60
|
User.MOCK_USER = new User('mock-user');
|
|
61
61
|
|
|
62
|
-
const version = "9.0.2-canary.
|
|
62
|
+
const version = "9.0.2-canary.f5b5efe95";
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
@@ -66,7 +66,7 @@ l.MOCK_USER = new l("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let f = "9.0.2-canary.
|
|
69
|
+
let f = "9.0.2-canary.f5b5efe95";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -5930,7 +5930,7 @@ class Ur {
|
|
|
5930
5930
|
}(`${s}_lite`), e(new i("firestore/lite", ((t, {options: n}) => {
|
|
5931
5931
|
const e = t.getProvider("app").getImmediate(), r = new se(e, new Q(t.getProvider("auth-internal")));
|
|
5932
5932
|
return n && r._setSettings(n), r;
|
|
5933
|
-
}), "PUBLIC" /* PUBLIC */)), r("firestore-lite", "3.0.2-canary.
|
|
5933
|
+
}), "PUBLIC" /* PUBLIC */)), r("firestore-lite", "3.0.2-canary.f5b5efe95", "node");
|
|
5934
5934
|
|
|
5935
5935
|
export { ge as Bytes, le as CollectionReference, ae as DocumentReference, He as DocumentSnapshot, ye as FieldPath, be as FieldValue, se as Firestore, U as FirestoreError, ve as GeoPoint, he as Query, Xe as QueryConstraint, Ye as QueryDocumentSnapshot, Ke as QuerySnapshot, yt as Timestamp, Ur as Transaction, $r as WriteBatch, Ar as addDoc, Nr as arrayRemove, Vr as arrayUnion, fe as collection, de as collectionGroup, ue as connectFirestoreEmulator, Tr as deleteDoc, Pr as deleteField, we as doc, _e as documentId, dr as endAt, fr as endBefore, br as getDoc, vr as getDocs, oe as getFirestore, Dr as increment, ie as initializeFirestore, or as limit, ur as limitToLast, sr as orderBy, tr as query, pe as queryEqual, me as refEqual, jr as runTransaction, Rr as serverTimestamp, Er as setDoc, w as setLogLevel, Je as snapshotEqual, hr as startAfter, ar as startAt, ce as terminate, Ir as updateDoc, er as where, Sr as writeBatch };
|
|
5936
5936
|
//# sourceMappingURL=index.rn.esm2017.js.map
|
|
@@ -30,15 +30,6 @@ export interface PersistenceProvider {
|
|
|
30
30
|
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
31
31
|
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
32
32
|
}
|
|
33
|
-
/**
|
|
34
|
-
* The persistence provider included with the memory-only SDK. This provider
|
|
35
|
-
* errors for all attempts to access persistence.
|
|
36
|
-
*/
|
|
37
|
-
export declare class MemoryPersistenceProvider implements PersistenceProvider {
|
|
38
|
-
enableIndexedDbPersistence(firestore: Firestore, forceOwnership: boolean): Promise<void>;
|
|
39
|
-
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
40
|
-
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
41
|
-
}
|
|
42
33
|
/**
|
|
43
34
|
* The persistence provider included with the full Firestore SDK.
|
|
44
35
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { FirebaseAuthInternalName } from '@firebase/auth-interop-types';
|
|
18
18
|
import { Provider } from '@firebase/component';
|
|
19
|
-
import { Firestore as FirestoreCompat } from './api/database';
|
|
19
|
+
import { Firestore as FirestoreCompat, PersistenceProvider } from './api/database';
|
|
20
20
|
export { CollectionReference, DocumentReference, DocumentSnapshot, QuerySnapshot } from './api/database';
|
|
21
21
|
export { Blob } from './api/blob';
|
|
22
22
|
export { GeoPoint } from './api/geo_point';
|
|
@@ -27,6 +27,15 @@ export interface FirestoreDatabase {
|
|
|
27
27
|
projectId: string;
|
|
28
28
|
database?: string;
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* The persistence provider included with the memory-only SDK. This provider
|
|
32
|
+
* errors for all attempts to access persistence.
|
|
33
|
+
*/
|
|
34
|
+
export declare class MemoryPersistenceProvider implements PersistenceProvider {
|
|
35
|
+
enableIndexedDbPersistence(firestore: FirestoreCompat, forceOwnership: boolean): Promise<void>;
|
|
36
|
+
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
37
|
+
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
38
|
+
}
|
|
30
39
|
/** Firestore class that exposes the constructor expected by the Console. */
|
|
31
40
|
export declare class Firestore extends FirestoreCompat {
|
|
32
41
|
constructor(firestoreDatabase: FirestoreDatabase, authProvider: Provider<FirebaseAuthInternalName>);
|
|
@@ -30,15 +30,6 @@ export interface PersistenceProvider {
|
|
|
30
30
|
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
31
31
|
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
32
32
|
}
|
|
33
|
-
/**
|
|
34
|
-
* The persistence provider included with the memory-only SDK. This provider
|
|
35
|
-
* errors for all attempts to access persistence.
|
|
36
|
-
*/
|
|
37
|
-
export declare class MemoryPersistenceProvider implements PersistenceProvider {
|
|
38
|
-
enableIndexedDbPersistence(firestore: Firestore, forceOwnership: boolean): Promise<void>;
|
|
39
|
-
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
40
|
-
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
41
|
-
}
|
|
42
33
|
/**
|
|
43
34
|
* The persistence provider included with the full Firestore SDK.
|
|
44
35
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { FirebaseAuthInternalName } from '@firebase/auth-interop-types';
|
|
18
18
|
import { Provider } from '@firebase/component';
|
|
19
|
-
import { Firestore as FirestoreCompat } from './api/database';
|
|
19
|
+
import { Firestore as FirestoreCompat, PersistenceProvider } from './api/database';
|
|
20
20
|
export { CollectionReference, DocumentReference, DocumentSnapshot, QuerySnapshot } from './api/database';
|
|
21
21
|
export { Blob } from './api/blob';
|
|
22
22
|
export { GeoPoint } from './api/geo_point';
|
|
@@ -27,6 +27,15 @@ export interface FirestoreDatabase {
|
|
|
27
27
|
projectId: string;
|
|
28
28
|
database?: string;
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* The persistence provider included with the memory-only SDK. This provider
|
|
32
|
+
* errors for all attempts to access persistence.
|
|
33
|
+
*/
|
|
34
|
+
export declare class MemoryPersistenceProvider implements PersistenceProvider {
|
|
35
|
+
enableIndexedDbPersistence(firestore: FirestoreCompat, forceOwnership: boolean): Promise<void>;
|
|
36
|
+
enableMultiTabIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
37
|
+
clearIndexedDbPersistence(firestore: Firestore): Promise<void>;
|
|
38
|
+
}
|
|
30
39
|
/** Firestore class that exposes the constructor expected by the Console. */
|
|
31
40
|
export declare class Firestore extends FirestoreCompat {
|
|
32
41
|
constructor(firestoreDatabase: FirestoreDatabase, authProvider: Provider<FirebaseAuthInternalName>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore",
|
|
3
|
-
"version": "3.0.2-canary.
|
|
3
|
+
"version": "3.0.2-canary.f5b5efe95",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": "^8.13.0 || >=10.10.0"
|
|
6
6
|
},
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"pretest": "yarn test:prepare",
|
|
29
29
|
"pretest:ci": "yarn pretest",
|
|
30
30
|
"test": "run-s lint test:all",
|
|
31
|
-
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
|
|
31
|
+
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all:ci",
|
|
32
|
+
"test:all:ci": "run-p test:browser test:lite:browser test:travis",
|
|
32
33
|
"test:all": "run-p test:browser test:lite:browser test:travis test:minified",
|
|
33
34
|
"test:browser": "karma start --single-run",
|
|
34
35
|
"test:browser:debug": "karma start --browsers=Chrome --auto-watch",
|
|
@@ -68,22 +69,22 @@
|
|
|
68
69
|
"lite/package.json"
|
|
69
70
|
],
|
|
70
71
|
"dependencies": {
|
|
71
|
-
"@firebase/component": "0.5.6-canary.
|
|
72
|
-
"@firebase/logger": "0.2.6-canary.
|
|
73
|
-
"@firebase/util": "1.3.0-canary.
|
|
74
|
-
"@firebase/webchannel-wrapper": "0.5.1-canary.
|
|
72
|
+
"@firebase/component": "0.5.6-canary.f5b5efe95",
|
|
73
|
+
"@firebase/logger": "0.2.6-canary.f5b5efe95",
|
|
74
|
+
"@firebase/util": "1.3.0-canary.f5b5efe95",
|
|
75
|
+
"@firebase/webchannel-wrapper": "0.5.1-canary.f5b5efe95",
|
|
75
76
|
"@grpc/grpc-js": "^1.3.2",
|
|
76
77
|
"@grpc/proto-loader": "^0.6.0",
|
|
77
78
|
"node-fetch": "2.6.2",
|
|
78
79
|
"tslib": "^2.1.0"
|
|
79
80
|
},
|
|
80
81
|
"peerDependencies": {
|
|
81
|
-
"@firebase/app": "0.7.0-canary.
|
|
82
|
+
"@firebase/app": "0.7.0-canary.f5b5efe95"
|
|
82
83
|
},
|
|
83
84
|
"devDependencies": {
|
|
84
|
-
"@firebase/app": "0.7.0-canary.
|
|
85
|
-
"@firebase/app-compat": "0.1.1-canary.
|
|
86
|
-
"@firebase/auth": "0.17.2-canary.
|
|
85
|
+
"@firebase/app": "0.7.0-canary.f5b5efe95",
|
|
86
|
+
"@firebase/app-compat": "0.1.1-canary.f5b5efe95",
|
|
87
|
+
"@firebase/auth": "0.17.2-canary.f5b5efe95",
|
|
87
88
|
"@rollup/plugin-alias": "3.1.5",
|
|
88
89
|
"@rollup/plugin-json": "4.1.0",
|
|
89
90
|
"@types/eslint": "7.28.0",
|