@firebase/firestore 4.7.15 → 4.7.16-20250521232236
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/index.cjs.js +5 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +6 -8
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +6 -7
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +7 -8
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +11 -13
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/index.browser.esm2017.js +6 -8
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.cjs.js +6 -8
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +6 -7
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +7 -8
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +10 -12
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -9,7 +9,7 @@ var util = require('@firebase/util');
|
|
|
9
9
|
var bloomBlob = require('@firebase/webchannel-wrapper/bloom-blob');
|
|
10
10
|
var webchannelBlob = require('@firebase/webchannel-wrapper/webchannel-blob');
|
|
11
11
|
|
|
12
|
-
const F = "@firebase/firestore", M = "4.7.
|
|
12
|
+
const F = "@firebase/firestore", M = "4.7.16-20250521232236";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
@@ -71,7 +71,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
71
71
|
* See the License for the specific language governing permissions and
|
|
72
72
|
* limitations under the License.
|
|
73
73
|
*/
|
|
74
|
-
let x = "11.8.
|
|
74
|
+
let x = "11.8.1-20250521232236";
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* @license
|
|
@@ -18654,8 +18654,7 @@ class Firestore$1 {
|
|
|
18654
18654
|
return this._emulatorOptions;
|
|
18655
18655
|
}
|
|
18656
18656
|
_freezeSettings() {
|
|
18657
|
-
return this._settingsFrozen = !0,
|
|
18658
|
-
this._settings;
|
|
18657
|
+
return this._settingsFrozen = !0, this._settings;
|
|
18659
18658
|
}
|
|
18660
18659
|
_delete() {
|
|
18661
18660
|
// The `_terminateTask` must be assigned future that completes when
|
|
@@ -18713,7 +18712,7 @@ class Firestore$1 {
|
|
|
18713
18712
|
const s = util.isCloudWorkstation(t), o = e._getSettings(), _ = Object.assign(Object.assign({}, o), {
|
|
18714
18713
|
emulatorOptions: e._getEmulatorOptions()
|
|
18715
18714
|
}), a = `${t}:${n}`;
|
|
18716
|
-
o.host !== on && o.host !== a && __PRIVATE_logWarn("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used.");
|
|
18715
|
+
s && (util.pingServer(`https://${a}`), util.updateEmulatorBanner("Firestore", !0)), o.host !== on && o.host !== a && __PRIVATE_logWarn("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used.");
|
|
18717
18716
|
const u = Object.assign(Object.assign({}, o), {
|
|
18718
18717
|
host: a,
|
|
18719
18718
|
ssl: s,
|
|
@@ -18721,8 +18720,7 @@ class Firestore$1 {
|
|
|
18721
18720
|
});
|
|
18722
18721
|
// No-op if the new configuration matches the current configuration. This supports SSR
|
|
18723
18722
|
// enviornments which might call `connectFirestoreEmulator` multiple times as a standard practice.
|
|
18724
|
-
if (!util.deepEqual(u, _) && (e._setSettings(u),
|
|
18725
|
-
r.mockUserToken)) {
|
|
18723
|
+
if (!util.deepEqual(u, _) && (e._setSettings(u), r.mockUserToken)) {
|
|
18726
18724
|
let t, n;
|
|
18727
18725
|
if ("string" == typeof r.mockUserToken) t = r.mockUserToken, n = User.MOCK_USER; else {
|
|
18728
18726
|
// Let createMockUserToken validate first (catches common mistakes like
|