From accb682ceac898bab5a7cbd3f60c80f2ae8f9e92 Mon Sep 17 00:00:00 2001 From: wu-hui <53845758+wu-hui@users.noreply.github.com> Date: Thu, 23 Feb 2023 13:43:51 -0500 Subject: [PATCH] Fix unimplemented error when loading bundles (#7058) * Fix unimplemented error * Create soft-nails-give.md --- .changeset/soft-nails-give.md | 5 +++++ packages/firestore/src/util/byte_stream.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/soft-nails-give.md diff --git a/.changeset/soft-nails-give.md b/.changeset/soft-nails-give.md new file mode 100644 index 00000000000..4e488c1aa2d --- /dev/null +++ b/.changeset/soft-nails-give.md @@ -0,0 +1,5 @@ +--- +"@firebase/firestore": patch +--- + +Fix unimplemented error when loading bundles diff --git a/packages/firestore/src/util/byte_stream.ts b/packages/firestore/src/util/byte_stream.ts index edb69c460c6..0b65823ac91 100644 --- a/packages/firestore/src/util/byte_stream.ts +++ b/packages/firestore/src/util/byte_stream.ts @@ -59,7 +59,7 @@ export function toByteStreamReaderHelper( }, async cancel(): Promise {}, releaseLock() {}, - closed: Promise.reject('unimplemented') + closed: Promise.resolve() }; return reader; }