@firebase/firestore 4.7.11-firebase-studio-sdk-integration.226be0bb1 → 4.7.11-firebase-studio-sdk-integration.9de25069c
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/src/platform/browser/webchannel_connection.d.ts +1 -1
- package/dist/firestore/src/platform/browser_lite/fetch_connection.d.ts +1 -1
- package/dist/firestore/src/remote/rest_connection.d.ts +1 -1
- package/dist/index.cjs.js +6 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +7 -5
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +3 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +4 -4
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +6 -4
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/firestore/src/platform/browser/webchannel_connection.d.ts +1 -1
- package/dist/lite/firestore/src/platform/browser_lite/fetch_connection.d.ts +1 -1
- package/dist/lite/firestore/src/remote/rest_connection.d.ts +1 -1
- package/dist/lite/index.browser.esm2017.js +31 -29
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.cjs.js +31 -29
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +8 -6
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +9 -7
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +25 -23
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/package.json +9 -9
package/dist/index.esm2017.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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, isCloudWorkstation,
|
|
4
|
+
import { FirebaseError, isCloudWorkstation, pingServer, deepEqual, createMockUserToken, getModularInstance, getDefaultEmulatorHostnameAndPort, getGlobal, isIndexedDBAvailable, getUA, isSafari } from '@firebase/util';
|
|
5
5
|
import { Integer, Md5 } from '@firebase/webchannel-wrapper/bloom-blob';
|
|
6
6
|
import { XhrIo, EventType, ErrorCode, createWebChannelTransport, getStatEventTarget, WebChannel, Event, Stat } from '@firebase/webchannel-wrapper/webchannel-blob';
|
|
7
7
|
|
|
8
|
-
const v = "@firebase/firestore", C = "4.7.11-firebase-studio-sdk-integration.
|
|
8
|
+
const v = "@firebase/firestore", C = "4.7.11-firebase-studio-sdk-integration.9de25069c";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @license
|
|
@@ -67,7 +67,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
67
67
|
* See the License for the specific language governing permissions and
|
|
68
68
|
* limitations under the License.
|
|
69
69
|
*/
|
|
70
|
-
let F = "11.6.1-firebase-studio-sdk-integration.
|
|
70
|
+
let F = "11.6.1-firebase-studio-sdk-integration.9de25069c";
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
|
@@ -14037,7 +14037,9 @@ class __PRIVATE_RestConnection {
|
|
|
14037
14037
|
"google-cloud-resource-prefix": this.ko,
|
|
14038
14038
|
"x-goog-request-params": this.qo
|
|
14039
14039
|
};
|
|
14040
|
-
|
|
14040
|
+
this.Uo(_, r, i);
|
|
14041
|
+
const {host: a} = new URL(o), u = isCloudWorkstation(a);
|
|
14042
|
+
return this.Ko(e, o, _, n, u).then((t => (__PRIVATE_logDebug(Gt, `Received RPC '${e}' ${s}: `, t),
|
|
14041
14043
|
t)), (t => {
|
|
14042
14044
|
throw __PRIVATE_logWarn(Gt, `RPC '${e}' ${s} failed with error: `, t, "url: ", o, "request:", n),
|
|
14043
14045
|
t;
|
|
@@ -18655,7 +18657,7 @@ class Firestore$1 {
|
|
|
18655
18657
|
const s = isCloudWorkstation(t), o = e._getSettings(), _ = Object.assign(Object.assign({}, o), {
|
|
18656
18658
|
emulatorOptions: e._getEmulatorOptions()
|
|
18657
18659
|
}), a = `${t}:${n}`;
|
|
18658
|
-
s &&
|
|
18660
|
+
s && pingServer(`https://${a}`), o.host !== nn && o.host !== a && __PRIVATE_logWarn("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used.");
|
|
18659
18661
|
const u = Object.assign(Object.assign({}, o), {
|
|
18660
18662
|
host: a,
|
|
18661
18663
|
ssl: s,
|