@firebase/firestore 4.3.2-canary.a89e05bfc → 4.3.2-canary.ebc694a33

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 @@ 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 b = "10.6.0-canary.a89e05bfc";
73
+ let b = "10.6.0-canary.ebc694a33";
74
74
 
75
75
  /**
76
76
  * @license
@@ -21792,9 +21792,9 @@ let be = null;
21792
21792
  return r = Object.assign({
21793
21793
  useFetchStreams: t
21794
21794
  }, r), s._setSettings(r), s;
21795
- }), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(S, "4.3.2-canary.a89e05bfc", e),
21795
+ }), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(S, "4.3.2-canary.ebc694a33", e),
21796
21796
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
21797
- app.registerVersion(S, "4.3.2-canary.a89e05bfc", "cjs2017");
21797
+ app.registerVersion(S, "4.3.2-canary.ebc694a33", "cjs2017");
21798
21798
  }();
21799
21799
 
21800
21800
  exports.AbstractUserDataWriter = AbstractUserDataWriter;
@@ -66,7 +66,7 @@ User.MOCK_USER = new User("mock-user");
66
66
  * See the License for the specific language governing permissions and
67
67
  * limitations under the License.
68
68
  */
69
- let b = "10.6.0-canary.a89e05bfc";
69
+ let b = "10.6.0-canary.ebc694a33";
70
70
 
71
71
  /**
72
72
  * @license
@@ -21788,9 +21788,9 @@ let be = null;
21788
21788
  return r = Object.assign({
21789
21789
  useFetchStreams: t
21790
21790
  }, r), s._setSettings(r), s;
21791
- }), "PUBLIC").setMultipleInstances(!0)), registerVersion(S, "4.3.2-canary.a89e05bfc", e),
21791
+ }), "PUBLIC").setMultipleInstances(!0)), registerVersion(S, "4.3.2-canary.ebc694a33", e),
21792
21792
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
21793
- registerVersion(S, "4.3.2-canary.a89e05bfc", "esm2017");
21793
+ registerVersion(S, "4.3.2-canary.ebc694a33", "esm2017");
21794
21794
  }();
21795
21795
 
21796
21796
  export { AbstractUserDataWriter, AggregateField, AggregateQuerySnapshot, Bytes, ge as CACHE_SIZE_UNLIMITED, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, LoadBundleTask, PersistentCacheIndexManager, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, SnapshotMetadata, Timestamp, Transaction, WriteBatch, __PRIVATE_AutoId as _AutoId, ByteString as _ByteString, DatabaseId as _DatabaseId, DocumentKey as _DocumentKey, __PRIVATE_EmptyAppCheckTokenProvider as _EmptyAppCheckTokenProvider, __PRIVATE_EmptyAuthCredentialsProvider as _EmptyAuthCredentialsProvider, FieldPath$1 as _FieldPath, TestingHooks as _TestingHooks, __PRIVATE_cast as _cast, __PRIVATE_debugAssert as _debugAssert, __PRIVATE_isBase64Available as _isBase64Available, __PRIVATE_logWarn as _logWarn, __PRIVATE_validateIsNotUsedTogether as _validateIsNotUsedTogether, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, clearIndexedDbPersistence, collection, collectionGroup, connectFirestoreEmulator, count, deleteAllPersistentCacheIndexes, deleteDoc, deleteField, disableNetwork, disablePersistentCacheIndexAutoCreation, doc, documentId, enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence, enableNetwork, enablePersistentCacheIndexAutoCreation, endAt, endBefore, ensureFirestoreConfigured, executeWrite, getAggregateFromServer, getCountFromServer, getDoc, getDocFromCache, getDocFromServer, getDocs, getDocsFromCache, getDocsFromServer, getFirestore, getPersistentCacheIndexManager, increment, initializeFirestore, limit, limitToLast, loadBundle, memoryEagerGarbageCollector, memoryLocalCache, memoryLruGarbageCollector, namedQuery, onSnapshot, onSnapshotsInSync, or, orderBy, persistentLocalCache, persistentMultipleTabManager, persistentSingleTabManager, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setIndexConfiguration, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, waitForPendingWrites, where, writeBatch };
@@ -70,7 +70,7 @@ O.MOCK_USER = new O("mock-user");
70
70
  * See the License for the specific language governing permissions and
71
71
  * limitations under the License.
72
72
  */
73
- var P = "10.6.0-canary.a89e05bfc", R = new l("@firebase/firestore");
73
+ var P = "10.6.0-canary.ebc694a33", R = new l("@firebase/firestore");
74
74
 
75
75
  /**
76
76
  * @license
@@ -22424,9 +22424,9 @@ function Bf(t, r) {
22424
22424
  return r = Object.assign({
22425
22425
  useFetchStreams: Gf
22426
22426
  }, r), o._setSettings(r), o;
22427
- }), "PUBLIC").setMultipleInstances(!0)), a(k, "4.3.2-canary.a89e05bfc", zf),
22427
+ }), "PUBLIC").setMultipleInstances(!0)), a(k, "4.3.2-canary.ebc694a33", zf),
22428
22428
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
22429
- a(k, "4.3.2-canary.a89e05bfc", "esm5");
22429
+ a(k, "4.3.2-canary.ebc694a33", "esm5");
22430
22430
 
22431
22431
  export { Ph as AbstractUserDataWriter, xl as AggregateField, Dl as AggregateQuerySnapshot, Cl as Bytes, cl as CACHE_SIZE_UNLIMITED, tl as CollectionReference, Zc as DocumentReference, zh as DocumentSnapshot, Nl as FieldPath, kl as FieldValue, ll as Firestore, Q as FirestoreError, Ol as GeoPoint, sl as LoadBundleTask, Mf as PersistentCacheIndexManager, $c as Query, ph as QueryCompositeFilterConstraint, lh as QueryConstraint, Gh as QueryDocumentSnapshot, Sh as QueryEndAtConstraint, fh as QueryFieldFilterConstraint, wh as QueryLimitConstraint, yh as QueryOrderByConstraint, Kh as QuerySnapshot, _h as QueryStartAtConstraint, Bh as SnapshotMetadata, st as Timestamp, xf as Transaction, Ef as WriteBatch, it as _AutoId, Oe as _ByteString, Be as _DatabaseId, pt as _DocumentKey, nt as _EmptyAppCheckTokenProvider, H as _EmptyAuthCredentialsProvider, dt as _FieldPath, jf as _TestingHooks, Wc as _cast, G as _debugAssert, ke as _isBase64Available, q as _logWarn, Gc as _validateIsNotUsedTogether, rf as addDoc, qh as aggregateFieldEqual, Uh as aggregateQuerySnapshotEqual, mh as and, kf as arrayRemove, Af as arrayUnion, Lh as average, gl as clearIndexedDbPersistence, el as collection, nl as collectionGroup, Xc as connectFirestoreEmulator, Vh as count, Uf as deleteAllPersistentCacheIndexes, nf as deleteDoc, Cf as deleteField, Il as disableNetwork, qf as disablePersistentCacheIndexAutoCreation, rl as doc, Al as documentId, vl as enableIndexedDbPersistence, ml as enableMultiTabIndexedDbPersistence, bl as enableNetwork, Vf as enablePersistentCacheIndexAutoCreation, Dh as endAt, xh as endBefore, dl as ensureFirestoreConfigured, uf as executeWrite, lf as getAggregateFromServer, cf as getCountFromServer, Wh as getDoc, Hh as getDocFromCache, Jh as getDocFromServer, Xh as getDocs, $h as getDocsFromCache, Zh as getDocsFromServer, fl as getFirestore, Lf as getPersistentCacheIndexManager, Of as increment, hl as initializeFirestore, bh as limit, Ih as limitToLast, Tl as loadBundle, vf as memoryEagerGarbageCollector, yf as memoryLocalCache, mf as memoryLruGarbageCollector, El as namedQuery, of as onSnapshot, af as onSnapshotsInSync, vh as or, gh as orderBy, gf as persistentLocalCache, _f as persistentMultipleTabManager, If as persistentSingleTabManager, hh as query, ol as queryEqual, il as refEqual, Df as runTransaction, Nf as serverTimestamp, tf as setDoc, Rf as setIndexConfiguration, M as setLogLevel, Qh as snapshotEqual, Eh as startAfter, Th as startAt, Mh as sum, _l as terminate, ef as updateDoc, wl as waitForPendingWrites, dh as where, Pf as writeBatch };
22432
22432
  //# sourceMappingURL=index.esm5.js.map
@@ -34,7 +34,7 @@ var grpc__namespace = /*#__PURE__*/_interopNamespace(grpc);
34
34
  var protoLoader__namespace = /*#__PURE__*/_interopNamespace(protoLoader);
35
35
 
36
36
  const name = "@firebase/firestore";
37
- const version$1 = "4.3.2-canary.a89e05bfc";
37
+ const version$1 = "4.3.2-canary.ebc694a33";
38
38
 
39
39
  /**
40
40
  * @license
@@ -87,7 +87,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
87
87
  User.FIRST_PARTY = new User('first-party-uid');
88
88
  User.MOCK_USER = new User('mock-user');
89
89
 
90
- const version = "10.6.0-canary.a89e05bfc";
90
+ const version = "10.6.0-canary.ebc694a33";
91
91
 
92
92
  /**
93
93
  * @license
@@ -9,7 +9,7 @@ import * as grpc from '@grpc/grpc-js';
9
9
  import * as protoLoader from '@grpc/proto-loader';
10
10
 
11
11
  const name = "@firebase/firestore";
12
- const version$1 = "4.3.2-canary.a89e05bfc";
12
+ const version$1 = "4.3.2-canary.ebc694a33";
13
13
 
14
14
  /**
15
15
  * @license
@@ -62,7 +62,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
62
62
  User.FIRST_PARTY = new User('first-party-uid');
63
63
  User.MOCK_USER = new User('mock-user');
64
64
 
65
- const version = "10.6.0-canary.a89e05bfc";
65
+ const version = "10.6.0-canary.ebc694a33";
66
66
 
67
67
  /**
68
68
  * @license
package/dist/index.rn.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 C = "10.6.0-canary.a89e05bfc";
73
+ let C = "10.6.0-canary.ebc694a33";
74
74
 
75
75
  /**
76
76
  * @license
@@ -21810,9 +21810,9 @@ let Ce = null;
21810
21810
  return r = Object.assign({
21811
21811
  useFetchStreams: t
21812
21812
  }, r), s._setSettings(r), s;
21813
- }), "PUBLIC").setMultipleInstances(!0)), r(D, "4.3.2-canary.a89e05bfc", e),
21813
+ }), "PUBLIC").setMultipleInstances(!0)), r(D, "4.3.2-canary.ebc694a33", e),
21814
21814
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
21815
- r(D, "4.3.2-canary.a89e05bfc", "esm2017");
21815
+ r(D, "4.3.2-canary.ebc694a33", "esm2017");
21816
21816
  }("rn", /* useFetchStreams= */ !1);
21817
21817
 
21818
21818
  export { AbstractUserDataWriter, AggregateField, AggregateQuerySnapshot, Bytes, ye as CACHE_SIZE_UNLIMITED, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, LoadBundleTask, PersistentCacheIndexManager, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, SnapshotMetadata, Timestamp, Transaction, WriteBatch, __PRIVATE_AutoId as _AutoId, ByteString as _ByteString, DatabaseId as _DatabaseId, DocumentKey as _DocumentKey, __PRIVATE_EmptyAppCheckTokenProvider as _EmptyAppCheckTokenProvider, __PRIVATE_EmptyAuthCredentialsProvider as _EmptyAuthCredentialsProvider, FieldPath$1 as _FieldPath, TestingHooks as _TestingHooks, __PRIVATE_cast as _cast, __PRIVATE_debugAssert as _debugAssert, __PRIVATE_isBase64Available as _isBase64Available, __PRIVATE_logWarn as _logWarn, __PRIVATE_validateIsNotUsedTogether as _validateIsNotUsedTogether, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, clearIndexedDbPersistence, collection, collectionGroup, connectFirestoreEmulator, count, deleteAllPersistentCacheIndexes, deleteDoc, deleteField, disableNetwork, disablePersistentCacheIndexAutoCreation, doc, documentId, enableIndexedDbPersistence, enableMultiTabIndexedDbPersistence, enableNetwork, enablePersistentCacheIndexAutoCreation, endAt, endBefore, ensureFirestoreConfigured, executeWrite, getAggregateFromServer, getCountFromServer, getDoc, getDocFromCache, getDocFromServer, getDocs, getDocsFromCache, getDocsFromServer, getFirestore, getPersistentCacheIndexManager, increment, initializeFirestore, limit, limitToLast, loadBundle, memoryEagerGarbageCollector, memoryLocalCache, memoryLruGarbageCollector, namedQuery, onSnapshot, onSnapshotsInSync, or, orderBy, persistentLocalCache, persistentMultipleTabManager, persistentSingleTabManager, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setIndexConfiguration, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, waitForPendingWrites, where, writeBatch };
@@ -63,7 +63,7 @@ User.MOCK_USER = new User("mock-user");
63
63
  * See the License for the specific language governing permissions and
64
64
  * limitations under the License.
65
65
  */
66
- let d = "10.6.0-canary.a89e05bfc";
66
+ let d = "10.6.0-canary.ebc694a33";
67
67
 
68
68
  /**
69
69
  * @license
@@ -7195,7 +7195,7 @@ class Transaction {
7195
7195
  return r && i._setSettings(r), i;
7196
7196
  }), "PUBLIC").setMultipleInstances(!0)),
7197
7197
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
7198
- registerVersion("firestore-lite", "4.3.2-canary.a89e05bfc", ""), registerVersion("firestore-lite", "4.3.2-canary.a89e05bfc", "esm2017");
7198
+ registerVersion("firestore-lite", "4.3.2-canary.ebc694a33", ""), registerVersion("firestore-lite", "4.3.2-canary.ebc694a33", "esm2017");
7199
7199
  }();
7200
7200
 
7201
7201
  export { AggregateField, AggregateQuerySnapshot, Bytes, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, Timestamp, Transaction, WriteBatch, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, collection, collectionGroup, connectFirestoreEmulator, count, deleteDoc, deleteField, doc, documentId, endAt, endBefore, getAggregate, getCount, getDoc, getDocs, getFirestore, increment, initializeFirestore, limit, limitToLast, or, orderBy, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, where, writeBatch };
@@ -67,7 +67,7 @@ v.MOCK_USER = new v("mock-user");
67
67
  * See the License for the specific language governing permissions and
68
68
  * limitations under the License.
69
69
  */
70
- var g = "10.6.0-canary.a89e05bfc", w = new l("@firebase/firestore");
70
+ var g = "10.6.0-canary.ebc694a33", w = new l("@firebase/firestore");
71
71
 
72
72
  /**
73
73
  * @license
@@ -6689,7 +6689,7 @@ hi = "".concat(i, "_lite"), g = hi, o(new c("firestore/lite", (function(t, e) {
6689
6689
  return r && o._setSettings(r), o;
6690
6690
  }), "PUBLIC").setMultipleInstances(!0)),
6691
6691
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
6692
- a("firestore-lite", "4.3.2-canary.a89e05bfc", ""), a("firestore-lite", "4.3.2-canary.a89e05bfc", "esm5");
6692
+ a("firestore-lite", "4.3.2-canary.ebc694a33", ""), a("firestore-lite", "4.3.2-canary.ebc694a33", "esm5");
6693
6693
 
6694
6694
  export { En as AggregateField, Sn as AggregateQuerySnapshot, Dn as Bytes, An as CollectionReference, In as DocumentReference, lr as DocumentSnapshot, Rn as FieldPath, xn as FieldValue, gn as Firestore, B as FirestoreError, Cn as GeoPoint, kn as Query, br as QueryCompositeFilterConstraint, mr as QueryConstraint, fr as QueryDocumentSnapshot, Or as QueryEndAtConstraint, gr as QueryFieldFilterConstraint, kr as QueryLimitConstraint, Er as QueryOrderByConstraint, hr as QuerySnapshot, Pr as QueryStartAtConstraint, Dt as Timestamp, yi as Transaction, oi as WriteBatch, Qr as addDoc, Zr as aggregateFieldEqual, $r as aggregateQuerySnapshotEqual, Tr as and, ri as arrayRemove, ni as arrayUnion, Jr as average, Pn as collection, Vn as collectionGroup, _n as connectFirestoreEmulator, Xr as count, Gr as deleteDoc, ti as deleteField, Fn as doc, qn as documentId, Dr as endAt, Nr as endBefore, Yr as getAggregate, Wr as getCount, Ur as getDoc, Br as getDocs, bn as getFirestore, ii as increment, wn as initializeFirestore, Ir as limit, Ar as limitToLast, _r as or, Sr as orderBy, vr as query, Nn as queryEqual, On as refEqual, mi as runTransaction, ei as serverTimestamp, zr as setDoc, b as setLogLevel, pr as snapshotEqual, Fr as startAfter, Vr as startAt, Hr as sum, Tn as terminate, Kr as updateDoc, wr as where, ui as writeBatch };
6695
6695
  //# sourceMappingURL=index.browser.esm5.js.map
@@ -63,7 +63,7 @@ User.MOCK_USER = new User("mock-user");
63
63
  * See the License for the specific language governing permissions and
64
64
  * limitations under the License.
65
65
  */
66
- let d = "10.6.0-canary.a89e05bfc";
66
+ let d = "10.6.0-canary.ebc694a33";
67
67
 
68
68
  /**
69
69
  * @license
@@ -7195,7 +7195,7 @@ class Transaction {
7195
7195
  return r && i._setSettings(r), i;
7196
7196
  }), "PUBLIC").setMultipleInstances(!0)),
7197
7197
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
7198
- registerVersion("firestore-lite", "4.3.2-canary.a89e05bfc", ""), registerVersion("firestore-lite", "4.3.2-canary.a89e05bfc", "cjs2017");
7198
+ registerVersion("firestore-lite", "4.3.2-canary.ebc694a33", ""), registerVersion("firestore-lite", "4.3.2-canary.ebc694a33", "cjs2017");
7199
7199
  }();
7200
7200
 
7201
7201
  export { AggregateField, AggregateQuerySnapshot, Bytes, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, Timestamp, Transaction, WriteBatch, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, collection, collectionGroup, connectFirestoreEmulator, count, deleteDoc, deleteField, doc, documentId, endAt, endBefore, getAggregate, getCount, getDoc, getDocs, getFirestore, increment, initializeFirestore, limit, limitToLast, or, orderBy, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, where, writeBatch };
@@ -7,14 +7,10 @@ var component = require('@firebase/component');
7
7
  var logger = require('@firebase/logger');
8
8
  var util$1 = require('util');
9
9
  var util = require('@firebase/util');
10
- var nodeFetch = require('node-fetch');
10
+ var undici = require('undici');
11
11
  var crypto = require('crypto');
12
12
 
13
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
14
-
15
- var nodeFetch__default = /*#__PURE__*/_interopDefaultLegacy(nodeFetch);
16
-
17
- const version$1 = "4.3.2-canary.a89e05bfc";
13
+ const version$1 = "4.3.2-canary.ebc694a33";
18
14
 
19
15
  /**
20
16
  * @license
@@ -67,7 +63,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
67
63
  User.FIRST_PARTY = new User('first-party-uid');
68
64
  User.MOCK_USER = new User('mock-user');
69
65
 
70
- const version = "10.6.0-canary.a89e05bfc";
66
+ const version = "10.6.0-canary.ebc694a33";
71
67
 
72
68
  /**
73
69
  * @license
@@ -1608,10 +1604,10 @@ class FetchConnection extends RestConnection {
1608
1604
  */
1609
1605
  /** Initializes the HTTP connection for the REST API. */
1610
1606
  function newConnection(databaseInfo) {
1611
- // node-fetch is meant to be API compatible with `fetch`, but its type doesn't
1607
+ // undici is meant to be API compatible with `fetch`, but its type doesn't
1612
1608
  // match 100%.
1613
1609
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1614
- return new FetchConnection(databaseInfo, nodeFetch__default["default"]);
1610
+ return new FetchConnection(databaseInfo, undici.fetch);
1615
1611
  }
1616
1612
 
1617
1613
  /**