@firebase/firestore 3.8.4-canary.60a730e37 → 3.8.4-canary.7d23aa4bd

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/index.cjs.js CHANGED
@@ -70,7 +70,7 @@ b.MOCK_USER = new b("mock-user");
70
70
  * See the License for the specific language governing permissions and
71
71
  * limitations under the License.
72
72
  */
73
- let P = "9.17.2-canary.60a730e37";
73
+ let P = "9.17.2-canary.7d23aa4bd";
74
74
 
75
75
  /**
76
76
  * @license
@@ -2955,7 +2955,10 @@ function ve() {
2955
2955
  try {
2956
2956
  return atob(t);
2957
2957
  } catch (t) {
2958
- throw t instanceof DOMException ? new Re("Invalid base64 string: " + t) : t;
2958
+ // Check that `DOMException` is defined before using it to avoid
2959
+ // "ReferenceError: Property 'DOMException' doesn't exist" in react-native.
2960
+ // (https://github.com/firebase/firebase-js-sdk/issues/7115)
2961
+ throw "undefined" != typeof DOMException && t instanceof DOMException ? new Re("Invalid base64 string: " + t) : t;
2959
2962
  }
2960
2963
  }
2961
2964
  /** Converts a binary string to a Base64 encoded string. */ (t);
@@ -20903,9 +20906,9 @@ function xf(t, e) {
20903
20906
  return s = Object.assign({
20904
20907
  useFetchStreams: e
20905
20908
  }, s), r._setSettings(s), r;
20906
- }), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(v, "3.8.4-canary.60a730e37", t),
20909
+ }), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(v, "3.8.4-canary.7d23aa4bd", t),
20907
20910
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
20908
- app.registerVersion(v, "3.8.4-canary.60a730e37", "cjs2017");
20911
+ app.registerVersion(v, "3.8.4-canary.7d23aa4bd", "cjs2017");
20909
20912
  }();
20910
20913
 
20911
20914
  exports.AbstractUserDataWriter = kl;