@firebase/firestore 4.4.0-canary.06f808556 → 4.4.0-canary.093e022b9
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/core/firestore_client.d.ts +1 -1
- package/dist/firestore/src/global_index.d.ts +1 -1
- package/dist/index.cjs.js +6 -8
- 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.esm5.js +21 -27
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +5 -6
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +5 -6
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +6 -8
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/lite/firestore/src/core/firestore_client.d.ts +1 -1
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.cjs.js +2 -2
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/packages/firestore/src/core/firestore_client.d.ts +1 -1
- package/dist/packages/firestore/src/core/firestore_client.d.ts +1 -1
- package/dist/private.d.ts +1 -1
- package/package.json +9 -9
|
@@ -76,7 +76,7 @@ export declare class FirestoreClient {
|
|
|
76
76
|
* an async I/O to complete).
|
|
77
77
|
*/
|
|
78
78
|
asyncQueue: AsyncQueue, databaseInfo: DatabaseInfo);
|
|
79
|
-
|
|
79
|
+
get configuration(): ComponentConfiguration;
|
|
80
80
|
setCredentialChangeListener(listener: (user: User) => Promise<void>): void;
|
|
81
81
|
setAppCheckTokenChangeListener(listener: (appCheckToken: string, user: User) => Promise<void>): void;
|
|
82
82
|
/**
|
|
@@ -6888,7 +6888,7 @@ declare class FirestoreClient {
|
|
|
6888
6888
|
* an async I/O to complete).
|
|
6889
6889
|
*/
|
|
6890
6890
|
asyncQueue: AsyncQueue, databaseInfo: DatabaseInfo);
|
|
6891
|
-
|
|
6891
|
+
get configuration(): ComponentConfiguration;
|
|
6892
6892
|
setCredentialChangeListener(listener: (user: User) => Promise<void>): void;
|
|
6893
6893
|
setAppCheckTokenChangeListener(listener: (appCheckToken: string, user: User) => Promise<void>): void;
|
|
6894
6894
|
/**
|
package/dist/index.cjs.js
CHANGED
|
@@ -70,7 +70,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
70
70
|
* See the License for the specific language governing permissions and
|
|
71
71
|
* limitations under the License.
|
|
72
72
|
*/
|
|
73
|
-
let S = "10.7.1-canary.
|
|
73
|
+
let S = "10.7.1-canary.093e022b9";
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
@@ -17380,7 +17380,7 @@ class FirestoreClient {
|
|
|
17380
17380
|
})), this.appCheckCredentials.start(n, (e => (__PRIVATE_logDebug("FirestoreClient", "Received new app check token=", e),
|
|
17381
17381
|
this.appCheckCredentialListener(e, this.user))));
|
|
17382
17382
|
}
|
|
17383
|
-
|
|
17383
|
+
get configuration() {
|
|
17384
17384
|
return {
|
|
17385
17385
|
asyncQueue: this.asyncQueue,
|
|
17386
17386
|
databaseInfo: this.databaseInfo,
|
|
@@ -17423,7 +17423,7 @@ class FirestoreClient {
|
|
|
17423
17423
|
|
|
17424
17424
|
async function __PRIVATE_setOfflineComponentProvider(e, t) {
|
|
17425
17425
|
e.asyncQueue.verifyOperationInProgress(), __PRIVATE_logDebug("FirestoreClient", "Initializing OfflineComponentProvider");
|
|
17426
|
-
const n =
|
|
17426
|
+
const n = e.configuration;
|
|
17427
17427
|
await t.initialize(n);
|
|
17428
17428
|
let r = n.initialUser;
|
|
17429
17429
|
e.setCredentialChangeListener((async e => {
|
|
@@ -17437,9 +17437,7 @@ async function __PRIVATE_setOfflineComponentProvider(e, t) {
|
|
|
17437
17437
|
async function __PRIVATE_setOnlineComponentProvider(e, t) {
|
|
17438
17438
|
e.asyncQueue.verifyOperationInProgress();
|
|
17439
17439
|
const n = await __PRIVATE_ensureOfflineComponents(e);
|
|
17440
|
-
__PRIVATE_logDebug("FirestoreClient", "Initializing OnlineComponentProvider")
|
|
17441
|
-
const r = await e.getConfiguration();
|
|
17442
|
-
await t.initialize(n, r),
|
|
17440
|
+
__PRIVATE_logDebug("FirestoreClient", "Initializing OnlineComponentProvider"), await t.initialize(n, e.configuration),
|
|
17443
17441
|
// The CredentialChangeListener of the online component provider takes
|
|
17444
17442
|
// precedence over the offline component provider.
|
|
17445
17443
|
e.setCredentialChangeListener((e => __PRIVATE_remoteStoreHandleCredentialChange(t.remoteStore, e))),
|
|
@@ -21819,9 +21817,9 @@ let Se = null;
|
|
|
21819
21817
|
return r = Object.assign({
|
|
21820
21818
|
useFetchStreams: t
|
|
21821
21819
|
}, r), s._setSettings(r), s;
|
|
21822
|
-
}), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(w, "4.4.0-canary.
|
|
21820
|
+
}), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(w, "4.4.0-canary.093e022b9", e),
|
|
21823
21821
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
21824
|
-
app.registerVersion(w, "4.4.0-canary.
|
|
21822
|
+
app.registerVersion(w, "4.4.0-canary.093e022b9", "cjs2017");
|
|
21825
21823
|
}();
|
|
21826
21824
|
|
|
21827
21825
|
exports.AbstractUserDataWriter = AbstractUserDataWriter;
|