@firebase/firestore 4.7.11-firebase-studio-sdk-integration.1adc0ae1f → 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 +8 -6
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.cjs.js +8 -6
- 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 +7 -5
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/package.json +9 -9
|
@@ -25,6 +25,6 @@ export declare class WebChannelConnection extends RestConnection {
|
|
|
25
25
|
private readonly useFetchStreams;
|
|
26
26
|
private readonly longPollingOptions;
|
|
27
27
|
constructor(info: DatabaseInfo);
|
|
28
|
-
protected performRPCRequest<Req, Resp>(rpcName: string, url: string, headers: StringMap, body: Req,
|
|
28
|
+
protected performRPCRequest<Req, Resp>(rpcName: string, url: string, headers: StringMap, body: Req, _forwardCredentials: boolean): Promise<Resp>;
|
|
29
29
|
openStream<Req, Resp>(rpcName: string, authToken: Token | null, appCheckToken: Token | null): Stream<Req, Resp>;
|
|
30
30
|
}
|
|
@@ -24,5 +24,5 @@ import { StringMap } from '../../util/types';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare class FetchConnection extends RestConnection {
|
|
26
26
|
openStream<Req, Resp>(rpcName: string, token: Token | null): Stream<Req, Resp>;
|
|
27
|
-
protected performRPCRequest<Req, Resp>(rpcName: string, url: string, headers: StringMap, body: Req,
|
|
27
|
+
protected performRPCRequest<Req, Resp>(rpcName: string, url: string, headers: StringMap, body: Req, forwardCredentials: boolean): Promise<Resp>;
|
|
28
28
|
}
|
|
@@ -42,7 +42,7 @@ export declare abstract class RestConnection implements Connection {
|
|
|
42
42
|
/**
|
|
43
43
|
* Performs an RPC request using an implementation specific networking layer.
|
|
44
44
|
*/
|
|
45
|
-
protected abstract performRPCRequest<Req, Resp>(rpcName: string, url: string, headers: StringMap, body: Req,
|
|
45
|
+
protected abstract performRPCRequest<Req, Resp>(rpcName: string, url: string, headers: StringMap, body: Req, _forwardCredentials: boolean): Promise<Resp>;
|
|
46
46
|
private makeUrl;
|
|
47
47
|
/**
|
|
48
48
|
* Closes and cleans up any resources associated with the connection. This
|
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 v = "@firebase/firestore", C = "4.7.11-firebase-studio-sdk-integration.
|
|
12
|
+
const v = "@firebase/firestore", C = "4.7.11-firebase-studio-sdk-integration.9de25069c";
|
|
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 F = "11.6.1-firebase-studio-sdk-integration.
|
|
74
|
+
let F = "11.6.1-firebase-studio-sdk-integration.9de25069c";
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* @license
|
|
@@ -14041,7 +14041,9 @@ class __PRIVATE_RestConnection {
|
|
|
14041
14041
|
"google-cloud-resource-prefix": this.ko,
|
|
14042
14042
|
"x-goog-request-params": this.qo
|
|
14043
14043
|
};
|
|
14044
|
-
|
|
14044
|
+
this.Uo(_, r, i);
|
|
14045
|
+
const {host: a} = new URL(o), u = util.isCloudWorkstation(a);
|
|
14046
|
+
return this.Ko(e, o, _, n, u).then((t => (__PRIVATE_logDebug(Gt, `Received RPC '${e}' ${s}: `, t),
|
|
14045
14047
|
t)), (t => {
|
|
14046
14048
|
throw __PRIVATE_logWarn(Gt, `RPC '${e}' ${s} failed with error: `, t, "url: ", o, "request:", n),
|
|
14047
14049
|
t;
|
|
@@ -18659,7 +18661,7 @@ class Firestore$1 {
|
|
|
18659
18661
|
const s = util.isCloudWorkstation(t), o = e._getSettings(), _ = Object.assign(Object.assign({}, o), {
|
|
18660
18662
|
emulatorOptions: e._getEmulatorOptions()
|
|
18661
18663
|
}), a = `${t}:${n}`;
|
|
18662
|
-
s && util.
|
|
18664
|
+
s && util.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.");
|
|
18663
18665
|
const u = Object.assign(Object.assign({}, o), {
|
|
18664
18666
|
host: a,
|
|
18665
18667
|
ssl: s,
|