@firebase/firestore 4.7.11-firebase-studio-sdk-integration.bffdabd70 → 4.7.11-firebase-studio-sdk-integration.fe1264c00
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 +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +4 -4
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +6 -5
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +6 -5
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +4 -4
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/index.browser.esm2017.js +5 -5
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.cjs.js +5 -5
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +6 -5
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +7 -6
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +18 -18
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/package.json +9 -9
package/dist/lite/index.cjs.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _registerComponent, registerVersion, _isFirebaseServerApp, _getProvider, getApp, _removeServiceInstance, SDK_VERSION } from '@firebase/app';
|
|
2
2
|
import { Component } from '@firebase/component';
|
|
3
3
|
import { Logger, LogLevel } from '@firebase/logger';
|
|
4
|
-
import { FirebaseError, updateEmulatorBanner, getDefaultEmulatorHostnameAndPort,
|
|
4
|
+
import { FirebaseError, isCloudWorkstation, updateEmulatorBanner, getDefaultEmulatorHostnameAndPort, deepEqual, pingServer, createMockUserToken, getModularInstance } from '@firebase/util';
|
|
5
5
|
import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
|
|
6
6
|
|
|
7
|
-
const A = "4.7.11-firebase-studio-sdk-integration.
|
|
7
|
+
const A = "4.7.11-firebase-studio-sdk-integration.fe1264c00";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
@@ -65,7 +65,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
65
65
|
* See the License for the specific language governing permissions and
|
|
66
66
|
* limitations under the License.
|
|
67
67
|
*/
|
|
68
|
-
let P = "11.6.1-firebase-studio-sdk-integration.
|
|
68
|
+
let P = "11.6.1-firebase-studio-sdk-integration.fe1264c00";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* @license
|
|
@@ -4412,7 +4412,7 @@ class Firestore {
|
|
|
4412
4412
|
return this._emulatorOptions;
|
|
4413
4413
|
}
|
|
4414
4414
|
_freezeSettings() {
|
|
4415
|
-
return this._settingsFrozen = !0,
|
|
4415
|
+
return this._settingsFrozen = !0, isCloudWorkstation(this._settings.host) && updateEmulatorBanner("Firestore", this._settings.isUsingEmulator),
|
|
4416
4416
|
this._settings;
|
|
4417
4417
|
}
|
|
4418
4418
|
_delete() {
|
|
@@ -4495,7 +4495,7 @@ function getFirestore(t, r) {
|
|
|
4495
4495
|
});
|
|
4496
4496
|
// No-op if the new configuration matches the current configuration. This supports SSR
|
|
4497
4497
|
// enviornments which might call `connectFirestoreEmulator` multiple times as a standard practice.
|
|
4498
|
-
if (!deepEqual(_, a) && (t._setSettings(_), s && (pingServer(`https://${u}`), updateEmulatorBanner("
|
|
4498
|
+
if (!deepEqual(_, a) && (t._setSettings(_), s && (pingServer(`https://${u}`), updateEmulatorBanner("Firestore", !0)),
|
|
4499
4499
|
n.mockUserToken)) {
|
|
4500
4500
|
let e, r;
|
|
4501
4501
|
if ("string" == typeof n.mockUserToken) e = n.mockUserToken, r = User.MOCK_USER; else {
|