@firebase/firestore 4.5.0-canary.9ca1a4e4f → 4.5.0-canary.c6ecac8ac

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.
Files changed (36) hide show
  1. package/dist/firestore/src/local/indexeddb_schema.d.ts +2 -1
  2. package/dist/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
  3. package/dist/firestore/test/unit/index/firestore_index_value_writer.test.d.ts +1 -0
  4. package/dist/firestore/test/unit/index/ordered_code_writer.test.d.ts +1 -1
  5. package/dist/index.cjs.js +134 -126
  6. package/dist/index.cjs.js.map +1 -1
  7. package/dist/index.esm2017.js +134 -126
  8. package/dist/index.esm2017.js.map +1 -1
  9. package/dist/index.esm5.js +2164 -2157
  10. package/dist/index.esm5.js.map +1 -1
  11. package/dist/index.node.cjs.js +25 -10
  12. package/dist/index.node.cjs.js.map +1 -1
  13. package/dist/index.node.mjs +25 -10
  14. package/dist/index.node.mjs.map +1 -1
  15. package/dist/index.rn.js +134 -126
  16. package/dist/index.rn.js.map +1 -1
  17. package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +2 -1
  18. package/dist/lite/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
  19. package/dist/lite/firestore/test/unit/index/firestore_index_value_writer.test.d.ts +1 -0
  20. package/dist/lite/firestore/test/unit/index/ordered_code_writer.test.d.ts +1 -1
  21. package/dist/lite/index.browser.esm2017.js +2 -2
  22. package/dist/lite/index.browser.esm5.js +2 -2
  23. package/dist/lite/index.cjs.js +2 -2
  24. package/dist/lite/index.node.cjs.js +2 -2
  25. package/dist/lite/index.node.mjs +2 -2
  26. package/dist/lite/index.rn.esm2017.js +2 -2
  27. package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +2 -1
  28. package/dist/lite/packages/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
  29. package/dist/lite/packages/firestore/test/unit/index/firestore_index_value_writer.test.d.ts +1 -0
  30. package/dist/lite/packages/firestore/test/unit/index/ordered_code_writer.test.d.ts +1 -1
  31. package/dist/packages/firestore/dist/index.esm2017.d.ts +2 -2
  32. package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +2 -1
  33. package/dist/packages/firestore/src/local/indexeddb_sentinels.d.ts +1 -0
  34. package/dist/packages/firestore/test/unit/index/firestore_index_value_writer.test.d.ts +1 -0
  35. package/dist/packages/firestore/test/unit/index/ordered_code_writer.test.d.ts +1 -1
  36. package/package.json +9 -9
@@ -43,8 +43,9 @@ import { DbTimestampKey } from './indexeddb_sentinels';
43
43
  * document lookup via `getAll()`.
44
44
  * 14. Add overlays.
45
45
  * 15. Add indexing support.
46
+ * 16. Parse timestamp strings before creating index entries.
46
47
  */
47
- export declare const SCHEMA_VERSION = 15;
48
+ export declare const SCHEMA_VERSION = 16;
48
49
  /**
49
50
  * Wrapper class to store timestamps (seconds and nanos) in IndexedDb objects.
50
51
  */
@@ -241,6 +241,7 @@ export declare const V12_STORES: string[];
241
241
  export declare const V13_STORES: string[];
242
242
  export declare const V14_STORES: string[];
243
243
  export declare const V15_STORES: string[];
244
+ export declare const V16_STORES: string[];
244
245
  /**
245
246
  * The list of all default IndexedDB stores used throughout the SDK. This is
246
247
  * used when creating transactions so that access across all stores is done
@@ -1 +1 @@
1
- export {};
1
+ export declare function compare(left: Uint8Array, right: Uint8Array): number;
@@ -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.9.0-canary.9ca1a4e4f";
66
+ let d = "10.9.0-canary.c6ecac8ac";
67
67
 
68
68
  /**
69
69
  * @license
@@ -7212,7 +7212,7 @@ class Transaction {
7212
7212
  return r && i._setSettings(r), i;
7213
7213
  }), "PUBLIC").setMultipleInstances(!0)),
7214
7214
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
7215
- registerVersion("firestore-lite", "4.5.0-canary.9ca1a4e4f", ""), registerVersion("firestore-lite", "4.5.0-canary.9ca1a4e4f", "esm2017");
7215
+ registerVersion("firestore-lite", "4.5.0-canary.c6ecac8ac", ""), registerVersion("firestore-lite", "4.5.0-canary.c6ecac8ac", "esm2017");
7216
7216
  }();
7217
7217
 
7218
7218
  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 @@ g.MOCK_USER = new g("mock-user");
67
67
  * See the License for the specific language governing permissions and
68
68
  * limitations under the License.
69
69
  */
70
- var v = "10.9.0-canary.9ca1a4e4f", w = new l("@firebase/firestore");
70
+ var v = "10.9.0-canary.c6ecac8ac", w = new l("@firebase/firestore");
71
71
 
72
72
  /**
73
73
  * @license
@@ -6707,7 +6707,7 @@ fi = "".concat(i, "_lite"), v = fi, o(new c("firestore/lite", (function(t, e) {
6707
6707
  return r && o._setSettings(r), o;
6708
6708
  }), "PUBLIC").setMultipleInstances(!0)),
6709
6709
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
6710
- a("firestore-lite", "4.5.0-canary.9ca1a4e4f", ""), a("firestore-lite", "4.5.0-canary.9ca1a4e4f", "esm5");
6710
+ a("firestore-lite", "4.5.0-canary.c6ecac8ac", ""), a("firestore-lite", "4.5.0-canary.c6ecac8ac", "esm5");
6711
6711
 
6712
6712
  export { Tn as AggregateField, En as AggregateQuerySnapshot, Nn as Bytes, In as CollectionReference, kn as DocumentReference, cr as DocumentSnapshot, Dn as FieldPath, qn as FieldValue, gn as Firestore, B as FirestoreError, xn as GeoPoint, Sn as Query, wr as QueryCompositeFilterConstraint, yr as QueryConstraint, lr as QueryDocumentSnapshot, Or as QueryEndAtConstraint, gr as QueryFieldFilterConstraint, Sr as QueryLimitConstraint, Tr as QueryOrderByConstraint, fr as QuerySnapshot, Ar as QueryStartAtConstraint, Dt as Timestamp, di as Transaction, ii as WriteBatch, Kr as addDoc, Xr as aggregateFieldEqual, Zr as aggregateQuerySnapshotEqual, br as and, ni as arrayRemove, ei as arrayUnion, Wr as average, An as collection, Pn as collectionGroup, _n as connectFirestoreEmulator, Jr as count, Gr as deleteDoc, $r as deleteField, Fn as doc, Rn as documentId, Nr as endAt, Vr as endBefore, Yr as getAggregate, Qr as getCount, Mr as getDoc, Ur as getDocs, wn as getFirestore, ri as increment, vn as initializeFirestore, kr as limit, Ir as limitToLast, _r as or, Er as orderBy, mr as query, Vn as queryEqual, On as refEqual, yi as runTransaction, ti as serverTimestamp, Br as setDoc, _ as setLogLevel, hr as snapshotEqual, Fr as startAfter, Pr as startAt, Hr as sum, bn as terminate, zr as updateDoc, vr as where, ai as writeBatch };
6713
6713
  //# 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.9.0-canary.9ca1a4e4f";
66
+ let d = "10.9.0-canary.c6ecac8ac";
67
67
 
68
68
  /**
69
69
  * @license
@@ -7212,7 +7212,7 @@ class Transaction {
7212
7212
  return r && i._setSettings(r), i;
7213
7213
  }), "PUBLIC").setMultipleInstances(!0)),
7214
7214
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
7215
- registerVersion("firestore-lite", "4.5.0-canary.9ca1a4e4f", ""), registerVersion("firestore-lite", "4.5.0-canary.9ca1a4e4f", "cjs2017");
7215
+ registerVersion("firestore-lite", "4.5.0-canary.c6ecac8ac", ""), registerVersion("firestore-lite", "4.5.0-canary.c6ecac8ac", "cjs2017");
7216
7216
  }();
7217
7217
 
7218
7218
  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 };
@@ -10,7 +10,7 @@ var util = require('@firebase/util');
10
10
  var undici = require('undici');
11
11
  var crypto = require('crypto');
12
12
 
13
- const version$1 = "4.5.0-canary.9ca1a4e4f";
13
+ const version$1 = "4.5.0-canary.c6ecac8ac";
14
14
 
15
15
  /**
16
16
  * @license
@@ -63,7 +63,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
63
63
  User.FIRST_PARTY = new User('first-party-uid');
64
64
  User.MOCK_USER = new User('mock-user');
65
65
 
66
- const version = "10.9.0-canary.9ca1a4e4f";
66
+ const version = "10.9.0-canary.c6ecac8ac";
67
67
 
68
68
  /**
69
69
  * @license
@@ -6,7 +6,7 @@ import { FirebaseError, getDefaultEmulatorHostnameAndPort, createMockUserToken,
6
6
  import { fetch } from 'undici';
7
7
  import { randomBytes as randomBytes$1 } from 'crypto';
8
8
 
9
- const version$1 = "4.5.0-canary.9ca1a4e4f";
9
+ const version$1 = "4.5.0-canary.c6ecac8ac";
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 = "10.9.0-canary.9ca1a4e4f";
62
+ const version = "10.9.0-canary.c6ecac8ac";
63
63
 
64
64
  /**
65
65
  * @license
@@ -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 E = "10.9.0-canary.9ca1a4e4f";
69
+ let E = "10.9.0-canary.c6ecac8ac";
70
70
 
71
71
  /**
72
72
  * @license
@@ -7222,7 +7222,7 @@ class Transaction {
7222
7222
  return r && i._setSettings(r), i;
7223
7223
  }), "PUBLIC").setMultipleInstances(!0)),
7224
7224
  // RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
7225
- n("firestore-lite", "4.5.0-canary.9ca1a4e4f", "rn"), n("firestore-lite", "4.5.0-canary.9ca1a4e4f", "esm2017");
7225
+ n("firestore-lite", "4.5.0-canary.c6ecac8ac", "rn"), n("firestore-lite", "4.5.0-canary.c6ecac8ac", "esm2017");
7226
7226
  }();
7227
7227
 
7228
7228
  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 };
@@ -43,8 +43,9 @@ import { DbTimestampKey } from './indexeddb_sentinels';
43
43
  * document lookup via `getAll()`.
44
44
  * 14. Add overlays.
45
45
  * 15. Add indexing support.
46
+ * 16. Parse timestamp strings before creating index entries.
46
47
  */
47
- export declare const SCHEMA_VERSION = 15;
48
+ export declare const SCHEMA_VERSION = 16;
48
49
  /**
49
50
  * Wrapper class to store timestamps (seconds and nanos) in IndexedDb objects.
50
51
  */
@@ -241,6 +241,7 @@ export declare const V12_STORES: string[];
241
241
  export declare const V13_STORES: string[];
242
242
  export declare const V14_STORES: string[];
243
243
  export declare const V15_STORES: string[];
244
+ export declare const V16_STORES: string[];
244
245
  /**
245
246
  * The list of all default IndexedDB stores used throughout the SDK. This is
246
247
  * used when creating transactions so that access across all stores is done
@@ -1 +1 @@
1
- export {};
1
+ export declare function compare(left: Uint8Array, right: Uint8Array): number;
@@ -155,7 +155,7 @@ export class AggregateField {
155
155
  * Constant used to indicate the LRU garbage collection should be disabled.
156
156
  * Set this value as the `cacheSizeBytes` on the settings passed to the
157
157
  * {@link Firestore} instance.
158
- */ declare const pe: -1;
158
+ */ declare const ye: -1;
159
159
  /**
160
160
  * A `CollectionReference` object can be used for adding documents, getting
161
161
  * document references, and querying for documents (using {@link (query:1)}).
@@ -4592,4 +4592,4 @@ declare class __PRIVATE_DescendingIndexByteEncoder {
4592
4592
  dt(e: any): void;
4593
4593
  Tt(): void;
4594
4594
  }
4595
- export { pe as CACHE_SIZE_UNLIMITED, __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 };
4595
+ export { ye as CACHE_SIZE_UNLIMITED, __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 };
@@ -43,8 +43,9 @@ import { DbTimestampKey } from './indexeddb_sentinels';
43
43
  * document lookup via `getAll()`.
44
44
  * 14. Add overlays.
45
45
  * 15. Add indexing support.
46
+ * 16. Parse timestamp strings before creating index entries.
46
47
  */
47
- export declare const SCHEMA_VERSION = 15;
48
+ export declare const SCHEMA_VERSION = 16;
48
49
  /**
49
50
  * Wrapper class to store timestamps (seconds and nanos) in IndexedDb objects.
50
51
  */
@@ -241,6 +241,7 @@ export declare const V12_STORES: string[];
241
241
  export declare const V13_STORES: string[];
242
242
  export declare const V14_STORES: string[];
243
243
  export declare const V15_STORES: string[];
244
+ export declare const V16_STORES: string[];
244
245
  /**
245
246
  * The list of all default IndexedDB stores used throughout the SDK. This is
246
247
  * used when creating transactions so that access across all stores is done
@@ -1 +1 @@
1
- export {};
1
+ export declare function compare(left: Uint8Array, right: Uint8Array): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/firestore",
3
- "version": "4.5.0-canary.9ca1a4e4f",
3
+ "version": "4.5.0-canary.c6ecac8ac",
4
4
  "engines": {
5
5
  "node": ">=10.10.0"
6
6
  },
@@ -96,22 +96,22 @@
96
96
  "lite/package.json"
97
97
  ],
98
98
  "dependencies": {
99
- "@firebase/component": "0.6.5-canary.9ca1a4e4f",
100
- "@firebase/logger": "0.4.0-canary.9ca1a4e4f",
101
- "@firebase/util": "1.9.4-canary.9ca1a4e4f",
102
- "@firebase/webchannel-wrapper": "0.10.5-canary.9ca1a4e4f",
99
+ "@firebase/component": "0.6.5-canary.c6ecac8ac",
100
+ "@firebase/logger": "0.4.0-canary.c6ecac8ac",
101
+ "@firebase/util": "1.9.4-canary.c6ecac8ac",
102
+ "@firebase/webchannel-wrapper": "0.10.5-canary.c6ecac8ac",
103
103
  "@grpc/grpc-js": "~1.9.0",
104
104
  "@grpc/proto-loader": "^0.7.8",
105
105
  "undici": "5.28.3",
106
106
  "tslib": "^2.1.0"
107
107
  },
108
108
  "peerDependencies": {
109
- "@firebase/app": "0.9.29-canary.9ca1a4e4f"
109
+ "@firebase/app": "0.9.29-canary.c6ecac8ac"
110
110
  },
111
111
  "devDependencies": {
112
- "@firebase/app": "0.9.29-canary.9ca1a4e4f",
113
- "@firebase/app-compat": "0.2.29-canary.9ca1a4e4f",
114
- "@firebase/auth": "1.6.2-canary.9ca1a4e4f",
112
+ "@firebase/app": "0.9.29-canary.c6ecac8ac",
113
+ "@firebase/app-compat": "0.2.29-canary.c6ecac8ac",
114
+ "@firebase/auth": "1.6.2-canary.c6ecac8ac",
115
115
  "@rollup/plugin-alias": "3.1.9",
116
116
  "@rollup/plugin-json": "4.1.0",
117
117
  "@types/eslint": "7.29.0",