Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Firestore Bundles as a prototype patched feature. #4168

Merged
merged 13 commits into from
Dec 8, 2020
4 changes: 3 additions & 1 deletion .changeset/old-lobsters-pull.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
"@firebase/firestore": minor
---

Release Firestore Bundles as a prototype patched feature.
Release Firestore Bundles (pre-packaged Firestore data). For ESM usage, this can
wu-hui marked this conversation as resolved.
Show resolved Hide resolved
be enabled via additional import: 'firebase/firestore/bundle'. For CDN usage,
wu-hui marked this conversation as resolved.
Show resolved Hide resolved
it is enabled by default.
4 changes: 2 additions & 2 deletions packages/firestore/src/core/sync_engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1537,8 +1537,8 @@ export function ensureWriteCallbacks(syncEngine: SyncEngine): SyncEngineImpl {
* Loads a Firestore bundle into the SDK. The returned promise resolves when
* the bundle finished loading.
*
* @param bundleReader Bundle to load into the SDK.
* @param task LoadBundleTask used to update the loading progress to public API.
* @param bundleReader - Bundle to load into the SDK.
* @param task - LoadBundleTask used to update the loading progress to public API.
*/
export function syncEngineLoadBundle(
syncEngine: SyncEngine,
Expand Down
1 change: 0 additions & 1 deletion packages/firestore/src/local/local_store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,6 @@ export function hasNewerBundle(

/**
* Saves the given `BundleMetadata` to local persistence.
* @param bundleMetadata
*/
export function saveBundle(
localStore: LocalStore,
Expand Down