@firebase/firestore 3.4.2-canary.044a8d7f9 → 3.4.2-canary.d0c8bfe72
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/test/util/helpers.d.ts +1 -1
- package/dist/index.esm2017.js +3 -3
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +3 -3
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.mjs +2 -2
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +158 -158
- package/dist/lite/firestore/test/util/helpers.d.ts +1 -1
- package/dist/lite/index.browser.esm2017.js +1105 -1105
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +14 -14
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +82 -82
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +107 -107
- package/dist/lite/packages/firestore/test/util/helpers.d.ts +1 -1
- package/dist/packages/firestore/test/util/helpers.d.ts +1 -1
- package/package.json +9 -9
|
@@ -67,7 +67,7 @@ m.MOCK_USER = new m("mock-user");
|
|
|
67
67
|
* See the License for the specific language governing permissions and
|
|
68
68
|
* limitations under the License.
|
|
69
69
|
*/
|
|
70
|
-
var y = "9.6.2-canary.
|
|
70
|
+
var y = "9.6.2-canary.d0c8bfe72", v = new l("@firebase/firestore");
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
|
@@ -3612,16 +3612,16 @@ function(t) {
|
|
|
3612
3612
|
enumerable: !1,
|
|
3613
3613
|
configurable: !0
|
|
3614
3614
|
}),
|
|
3615
|
-
/** Returns a new context with the specified settings overwritten. */ t.prototype.
|
|
3615
|
+
/** Returns a new context with the specified settings overwritten. */ t.prototype.et = function(e) {
|
|
3616
3616
|
return new t(Object.assign(Object.assign({}, this.settings), e), this.databaseId, this.q, this.ignoreUndefinedProperties, this.fieldTransforms, this.fieldMask);
|
|
3617
|
-
}, t.prototype.
|
|
3618
|
-
var e, n = null === (e = this.path) || void 0 === e ? void 0 : e.child(t), r = this.
|
|
3617
|
+
}, t.prototype.nt = function(t) {
|
|
3618
|
+
var e, n = null === (e = this.path) || void 0 === e ? void 0 : e.child(t), r = this.et({
|
|
3619
3619
|
path: n,
|
|
3620
3620
|
rt: !1
|
|
3621
3621
|
});
|
|
3622
3622
|
return r.st(t), r;
|
|
3623
3623
|
}, t.prototype.it = function(t) {
|
|
3624
|
-
var e, n = null === (e = this.path) || void 0 === e ? void 0 : e.child(t), r = this.
|
|
3624
|
+
var e, n = null === (e = this.path) || void 0 === e ? void 0 : e.child(t), r = this.et({
|
|
3625
3625
|
path: n,
|
|
3626
3626
|
rt: !1
|
|
3627
3627
|
});
|
|
@@ -3629,7 +3629,7 @@ function(t) {
|
|
|
3629
3629
|
}, t.prototype.ot = function(t) {
|
|
3630
3630
|
// TODO(b/34871131): We don't support array paths right now; so make path
|
|
3631
3631
|
// undefined.
|
|
3632
|
-
return this.
|
|
3632
|
+
return this.et({
|
|
3633
3633
|
path: void 0,
|
|
3634
3634
|
rt: !0
|
|
3635
3635
|
});
|
|
@@ -3956,7 +3956,7 @@ function Rn(t, e) {
|
|
|
3956
3956
|
// If we encounter an empty object, we explicitly add it to the update
|
|
3957
3957
|
// mask to ensure that the server creates a map entry.
|
|
3958
3958
|
e.path && e.path.length > 0 && e.fieldMask.push(e.path) : St(t, (function(t, r) {
|
|
3959
|
-
var i = Ln(r, e.
|
|
3959
|
+
var i = Ln(r, e.nt(t));
|
|
3960
3960
|
null != i && (n[t] = i);
|
|
3961
3961
|
})), {
|
|
3962
3962
|
mapValue: {
|
|
@@ -4388,12 +4388,12 @@ var er = /** @class */ function(e) {
|
|
|
4388
4388
|
var rr = /** @class */ function(e) {
|
|
4389
4389
|
function n(t, n, r) {
|
|
4390
4390
|
var i = this;
|
|
4391
|
-
return (i = e.call(this) || this).type = t, i.gt = n, i.
|
|
4391
|
+
return (i = e.call(this) || this).type = t, i.gt = n, i.bt = r, i;
|
|
4392
4392
|
}
|
|
4393
4393
|
return t(n, e), n.prototype._apply = function(t) {
|
|
4394
4394
|
return new un(t.firestore, t.converter, function(t, e, n) {
|
|
4395
4395
|
return new se(t.path, t.collectionGroup, t.explicitOrderBy.slice(), t.filters.slice(), e, n, t.startAt, t.endAt);
|
|
4396
|
-
}(t._query, this.gt, this.
|
|
4396
|
+
}(t._query, this.gt, this.bt));
|
|
4397
4397
|
}, n;
|
|
4398
4398
|
}(Xn);
|
|
4399
4399
|
|
|
@@ -4422,10 +4422,10 @@ function or(t) {
|
|
|
4422
4422
|
var ar = /** @class */ function(e) {
|
|
4423
4423
|
function n(t, n, r) {
|
|
4424
4424
|
var i = this;
|
|
4425
|
-
return (i = e.call(this) || this).type = t, i.
|
|
4425
|
+
return (i = e.call(this) || this).type = t, i.vt = n, i.Et = r, i;
|
|
4426
4426
|
}
|
|
4427
4427
|
return t(n, e), n.prototype._apply = function(t) {
|
|
4428
|
-
var e = hr(t, this.type, this.
|
|
4428
|
+
var e = hr(t, this.type, this.vt, this.Et);
|
|
4429
4429
|
return new un(t.firestore, t.converter, function(t, e) {
|
|
4430
4430
|
return new se(t.path, t.collectionGroup, t.explicitOrderBy.slice(), t.filters.slice(), t.limit, t.limitType, e, t.endAt);
|
|
4431
4431
|
}(t._query, e));
|
|
@@ -4446,10 +4446,10 @@ function ur() {
|
|
|
4446
4446
|
var cr = /** @class */ function(e) {
|
|
4447
4447
|
function n(t, n, r) {
|
|
4448
4448
|
var i = this;
|
|
4449
|
-
return (i = e.call(this) || this).type = t, i.
|
|
4449
|
+
return (i = e.call(this) || this).type = t, i.vt = n, i.Et = r, i;
|
|
4450
4450
|
}
|
|
4451
4451
|
return t(n, e), n.prototype._apply = function(t) {
|
|
4452
|
-
var e = hr(t, this.type, this.
|
|
4452
|
+
var e = hr(t, this.type, this.vt, this.Et);
|
|
4453
4453
|
return new un(t.firestore, t.converter, function(t, e) {
|
|
4454
4454
|
return new se(t.path, t.collectionGroup, t.explicitOrderBy.slice(), t.filters.slice(), t.limit, t.limitType, t.startAt, e);
|
|
4455
4455
|
}(t._query, e));
|
|
@@ -5647,7 +5647,7 @@ y = i + "_lite", o(new c("firestore/lite", (function(t, e) {
|
|
|
5647
5647
|
return n && i._setSettings(n), i;
|
|
5648
5648
|
}), "PUBLIC")),
|
|
5649
5649
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
5650
|
-
a("firestore-lite", "3.4.2-canary.
|
|
5650
|
+
a("firestore-lite", "3.4.2-canary.d0c8bfe72", ""), a("firestore-lite", "3.4.2-canary.d0c8bfe72", "esm5");
|
|
5651
5651
|
|
|
5652
5652
|
export { vn as Bytes, cn as CollectionReference, sn as DocumentReference, Kn as DocumentSnapshot, mn as FieldPath, gn as FieldValue, en as Firestore, U as FirestoreError, wn as GeoPoint, un as Query, Xn as QueryConstraint, Hn as QueryDocumentSnapshot, Wn as QuerySnapshot, bt as Timestamp, Lr as Transaction, Dr as WriteBatch, Sr as addDoc, kr as arrayRemove, Ar as arrayUnion, ln as collection, fn as collectionGroup, on as connectFirestoreEmulator, Tr as deleteDoc, Er as deleteField, hn as doc, yn as documentId, fr as endAt, lr as endBefore, gr as getDoc, wr as getDocs, rn as getFirestore, Vr as increment, nn as initializeFirestore, ir as limit, or as limitToLast, nr as orderBy, Jn as query, dn as queryEqual, pn as refEqual, Rr as runTransaction, Ir as serverTimestamp, br as setDoc, g as setLogLevel, Yn as snapshotEqual, ur as startAfter, sr as startAt, an as terminate, _r as updateDoc, tr as where, Fr as writeBatch };
|
|
5653
5653
|
//# sourceMappingURL=index.browser.esm5.js.map
|
|
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
|
|
15
15
|
var nodeFetch__default = /*#__PURE__*/_interopDefaultLegacy(nodeFetch);
|
|
16
16
|
|
|
17
|
-
const version$1 = "3.4.2-canary.
|
|
17
|
+
const version$1 = "3.4.2-canary.d0c8bfe72";
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @license
|
|
@@ -67,7 +67,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
67
67
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
68
68
|
User.MOCK_USER = new User('mock-user');
|
|
69
69
|
|
|
70
|
-
const version = "9.6.2-canary.
|
|
70
|
+
const version = "9.6.2-canary.d0c8bfe72";
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
package/dist/lite/index.node.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { FirebaseError, createMockUserToken, getModularInstance } from '@firebas
|
|
|
6
6
|
import nodeFetch from 'node-fetch';
|
|
7
7
|
import { randomBytes as randomBytes$1 } from 'crypto';
|
|
8
8
|
|
|
9
|
-
const version$1 = "3.4.2-canary.
|
|
9
|
+
const version$1 = "3.4.2-canary.d0c8bfe72";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @license
|
|
@@ -59,7 +59,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
59
59
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
60
60
|
User.MOCK_USER = new User('mock-user');
|
|
61
61
|
|
|
62
|
-
const version = "9.6.2-canary.
|
|
62
|
+
const version = "9.6.2-canary.d0c8bfe72";
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* @license
|