firebase 9.4.1 → 9.5.0-canary.cb7299cbf
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 +18 -0
- package/app/dist/index.cjs.js +1 -1
- package/app/dist/index.esm.js +1 -1
- package/app/dist/index.mjs +1 -1
- package/compat/app/dist/index.cjs.js +1 -1
- package/compat/app/dist/index.esm.js +1 -1
- package/compat/app/dist/index.mjs +1 -1
- package/compat/dist/index.esm.js +2 -2
- package/compat/dist/index.node.cjs +2 -2
- package/compat/dist/index.rn.cjs.js +2 -2
- package/firebase-analytics-compat.js +1 -1
- package/firebase-analytics-compat.js.map +1 -1
- package/firebase-analytics.js +5 -5
- package/firebase-app-check-compat.js +2 -2
- package/firebase-app-check-compat.js.map +1 -1
- package/firebase-app-check.js +285 -50
- package/firebase-app-check.js.map +1 -1
- package/firebase-app-compat.js +2 -2
- package/firebase-app-compat.js.map +1 -1
- package/firebase-app.js +9 -9
- package/firebase-auth-compat.js +1 -1
- package/firebase-auth-compat.js.map +1 -1
- package/firebase-auth.js +3 -3
- package/firebase-compat.js +4 -4
- package/firebase-compat.js.map +1 -1
- package/firebase-database-compat.js +1 -1
- package/firebase-database-compat.js.map +1 -1
- package/firebase-database.js +5 -5
- package/firebase-firestore-compat.js +1 -1
- package/firebase-firestore-compat.js.map +1 -1
- package/firebase-firestore-lite.js +1089 -1089
- package/firebase-firestore-lite.js.map +1 -1
- package/firebase-firestore.js +12 -12
- package/firebase-firestore.js.map +1 -1
- package/firebase-functions-compat.js +1 -1
- package/firebase-functions-compat.js.map +1 -1
- package/firebase-functions.js +3 -3
- package/firebase-messaging-compat.js +1 -1
- package/firebase-messaging-compat.js.map +1 -1
- package/firebase-messaging-sw.js +2 -2
- package/firebase-messaging.js +3 -3
- package/firebase-performance-compat.js +1 -1
- package/firebase-performance-compat.js.map +1 -1
- package/firebase-performance-standalone-compat.es2017.js +15 -15
- package/firebase-performance-standalone-compat.es2017.js.map +1 -1
- package/firebase-performance-standalone-compat.js +1 -1
- package/firebase-performance-standalone-compat.js.map +1 -1
- package/firebase-performance.js +5 -5
- package/firebase-remote-config-compat.js +1 -1
- package/firebase-remote-config-compat.js.map +1 -1
- package/firebase-remote-config.js +4 -4
- package/firebase-storage-compat.js +1 -1
- package/firebase-storage-compat.js.map +1 -1
- package/firebase-storage.js +177 -24
- package/firebase-storage.js.map +1 -1
- package/package.json +26 -26
package/firebase-firestore.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _registerComponent, registerVersion, _getProvider, getApp, _removeServiceInstance, SDK_VERSION } from 'https://www.gstatic.com/firebasejs/9.
|
|
1
|
+
import { _registerComponent, registerVersion, _getProvider, getApp, _removeServiceInstance, SDK_VERSION } from 'https://www.gstatic.com/firebasejs/9.5.0-canary.cb7299cbf/firebase-app.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -874,7 +874,7 @@ D.MOCK_USER = new D("mock-user");
|
|
|
874
874
|
* See the License for the specific language governing permissions and
|
|
875
875
|
* limitations under the License.
|
|
876
876
|
*/
|
|
877
|
-
let C = "9.
|
|
877
|
+
let C = "9.5.0-canary.cb7299cbf";
|
|
878
878
|
|
|
879
879
|
/**
|
|
880
880
|
* @license
|
|
@@ -9225,10 +9225,10 @@ class tr {
|
|
|
9225
9225
|
// Note: In theory, this should be scheduled on the AsyncQueue since it
|
|
9226
9226
|
// accesses internal state. We execute this code directly during shutdown
|
|
9227
9227
|
// to make sure it gets a chance to run.
|
|
9228
|
-
this._n(), isSafari() && navigator.appVersion.match(
|
|
9229
|
-
// On Safari 14, we do not run any cleanup actions as it might
|
|
9230
|
-
// a bug that prevents Safari from re-opening IndexedDB during
|
|
9231
|
-
// next page load.
|
|
9228
|
+
this._n(), isSafari() && navigator.appVersion.match(/Version\/1[45]/) &&
|
|
9229
|
+
// On Safari 14 and 15, we do not run any cleanup actions as it might
|
|
9230
|
+
// trigger a bug that prevents Safari from re-opening IndexedDB during
|
|
9231
|
+
// the next page load.
|
|
9232
9232
|
// See https://bugs.webkit.org/show_bug.cgi?id=226547
|
|
9233
9233
|
this.Oe.enterRestrictedMode(/* purgeExistingTasks= */ !0), this.Oe.enqueueAndForget((() => this.shutdown()));
|
|
9234
9234
|
}, this.window.addEventListener("pagehide", this.Ue));
|
|
@@ -15549,7 +15549,7 @@ class pa {
|
|
|
15549
15549
|
*/ (t));
|
|
15550
15550
|
}
|
|
15551
15551
|
/**
|
|
15552
|
-
* The {@link https://www.gstatic.com/firebasejs/9.
|
|
15552
|
+
* The {@link https://www.gstatic.com/firebasejs/9.5.0-canary.cb7299cbf/firebase-app.js#FirebaseApp} associated with this `Firestore` service
|
|
15553
15553
|
* instance.
|
|
15554
15554
|
*/ get app() {
|
|
15555
15555
|
if (!this._app) throw new j(K.FAILED_PRECONDITION, "Firestore was not initialized using the Firebase SDK. 'app' is not available");
|
|
@@ -16174,7 +16174,7 @@ class ka extends Ta {
|
|
|
16174
16174
|
* {@link getFirestore}. If the custom settings are empty, this function is
|
|
16175
16175
|
* equivalent to calling {@link getFirestore}.
|
|
16176
16176
|
*
|
|
16177
|
-
* @param app - The {@link https://www.gstatic.com/firebasejs/9.
|
|
16177
|
+
* @param app - The {@link https://www.gstatic.com/firebasejs/9.5.0-canary.cb7299cbf/firebase-app.js#FirebaseApp} with which the {@link Firestore} instance will
|
|
16178
16178
|
* be associated.
|
|
16179
16179
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
16180
16180
|
* @returns A newly initialized {@link Firestore} instance.
|
|
@@ -16193,10 +16193,10 @@ class ka extends Ta {
|
|
|
16193
16193
|
|
|
16194
16194
|
/**
|
|
16195
16195
|
* Returns the existing {@link Firestore} instance that is associated with the
|
|
16196
|
-
* provided {@link https://www.gstatic.com/firebasejs/9.
|
|
16196
|
+
* provided {@link https://www.gstatic.com/firebasejs/9.5.0-canary.cb7299cbf/firebase-app.js#FirebaseApp}. If no instance exists, initializes a new
|
|
16197
16197
|
* instance with default settings.
|
|
16198
16198
|
*
|
|
16199
|
-
* @param app - The {@link https://www.gstatic.com/firebasejs/9.
|
|
16199
|
+
* @param app - The {@link https://www.gstatic.com/firebasejs/9.5.0-canary.cb7299cbf/firebase-app.js#FirebaseApp} instance that the returned {@link Firestore}
|
|
16200
16200
|
* instance is associated with.
|
|
16201
16201
|
* @returns The {@link Firestore} instance of the provided app.
|
|
16202
16202
|
*/ function Oa(e = getApp()) {
|
|
@@ -18586,9 +18586,9 @@ function ph(t, e) {
|
|
|
18586
18586
|
return n = Object.assign({
|
|
18587
18587
|
useFetchStreams: e
|
|
18588
18588
|
}, n), i._setSettings(n), i;
|
|
18589
|
-
}), "PUBLIC" /* PUBLIC */)), registerVersion(S, "3.3.
|
|
18589
|
+
}), "PUBLIC" /* PUBLIC */)), registerVersion(S, "3.3.1-canary.cb7299cbf", t),
|
|
18590
18590
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
18591
|
-
registerVersion(S, "3.3.
|
|
18591
|
+
registerVersion(S, "3.3.1-canary.cb7299cbf", "esm2017");
|
|
18592
18592
|
}();
|
|
18593
18593
|
|
|
18594
18594
|
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, j as FirestoreError, tu as GeoPoint, Na as LoadBundleTask, Aa as Query, Fu as QueryConstraint, Nu as QueryDocumentSnapshot, xu as QuerySnapshot, Du as SnapshotMetadata, it as Timestamp, Ih as Transaction, rh as WriteBatch, ha as _DatabaseId, Pt as _DocumentKey, G as _EmptyCredentialsProvider, ft as _FieldPath, ga as _cast, U as _debugAssert, wt as _isBase64Available, F as _logWarn, da as _validateIsNotUsedTogether, gh as addDoc, vh as arrayRemove, Ph as arrayUnion, qa as clearIndexedDbPersistence, ba as collection, Pa as collectionGroup, Ea 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, Th 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, k 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 };
|