@firebase/firestore 4.7.11-canary.9952dbc2d → 4.7.11-canary.dd6a8f076
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/integration/util/composite_index_test_helper.d.ts +1 -1
- package/dist/firestore/test/integration/util/helpers.d.ts +8 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm2017.js +2 -2
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.mjs +2 -2
- package/dist/index.rn.js +2 -2
- package/dist/lite/firestore/test/integration/util/composite_index_test_helper.d.ts +1 -1
- package/dist/lite/firestore/test/integration/util/helpers.d.ts +8 -1
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.cjs.js +2 -2
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/package.json +9 -9
|
@@ -27,7 +27,7 @@ export declare class CompositeIndexTestHelper {
|
|
|
27
27
|
addTestSpecificFieldsToDoc(doc: DocumentData): DocumentData;
|
|
28
28
|
private removeTestSpecificFieldsFromDoc;
|
|
29
29
|
private prepareTestDocuments;
|
|
30
|
-
assertOnlineAndOfflineResultsMatch(query: Query, ...expectedDocs: string[]): Promise<void>;
|
|
30
|
+
assertOnlineAndOfflineResultsMatch(collection: CollectionReference, query: Query, ...expectedDocs: string[]): Promise<void>;
|
|
31
31
|
assertSnapshotResultIdsMatch(snapshot: QuerySnapshot, expectedIds: string[]): void;
|
|
32
32
|
query<T>(query_: Query<T>, ...queryConstraints: QueryConstraint[]): Query<T>;
|
|
33
33
|
compositeQuery<T>(query_: Query<T>, compositeFilter: QueryCompositeFilterConstraint, ...queryConstraints: QueryNonFilterConstraint[]): Query<T>;
|
|
@@ -124,8 +124,15 @@ export declare function partitionedTestDocs(partitions: {
|
|
|
124
124
|
* documents as running the query while offline. If `expectedDocs` is provided, it also checks
|
|
125
125
|
* that both online and offline query result is equal to the expected documents.
|
|
126
126
|
*
|
|
127
|
+
* This function first performs a "get" for the entire COLLECTION from the server.
|
|
128
|
+
* It then performs the QUERY from CACHE which, results in `executeFullCollectionScan()`
|
|
129
|
+
* It then performs the QUERY from SERVER.
|
|
130
|
+
* It then performs the QUERY from CACHE again, which results in `performQueryUsingRemoteKeys()`.
|
|
131
|
+
* It then ensure that all the above QUERY results are the same.
|
|
132
|
+
*
|
|
133
|
+
* @param collection The collection on which the query is performed.
|
|
127
134
|
* @param query The query to check
|
|
128
135
|
* @param expectedDocs Ordered list of document keys that are expected to match the query
|
|
129
136
|
*/
|
|
130
|
-
export declare function checkOnlineAndOfflineResultsMatch(query: Query, ...expectedDocs: string[]): Promise<void>;
|
|
137
|
+
export declare function checkOnlineAndOfflineResultsMatch(collection: Query, query: Query, ...expectedDocs: string[]): Promise<void>;
|
|
131
138
|
export {};
|
package/dist/index.cjs.js
CHANGED
|
@@ -9,7 +9,7 @@ var util = require('@firebase/util');
|
|
|
9
9
|
var bloomBlob = require('@firebase/webchannel-wrapper/bloom-blob');
|
|
10
10
|
var webchannelBlob = require('@firebase/webchannel-wrapper/webchannel-blob');
|
|
11
11
|
|
|
12
|
-
const S = "@firebase/firestore", D = "4.7.11-canary.
|
|
12
|
+
const S = "@firebase/firestore", D = "4.7.11-canary.dd6a8f076";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
@@ -71,7 +71,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
71
71
|
* See the License for the specific language governing permissions and
|
|
72
72
|
* limitations under the License.
|
|
73
73
|
*/
|
|
74
|
-
let v = "11.6.1-canary.
|
|
74
|
+
let v = "11.6.1-canary.dd6a8f076";
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* @license
|
package/dist/index.esm2017.js
CHANGED
|
@@ -5,7 +5,7 @@ import { FirebaseError, deepEqual, createMockUserToken, getModularInstance, getD
|
|
|
5
5
|
import { Integer, Md5 } from '@firebase/webchannel-wrapper/bloom-blob';
|
|
6
6
|
import { XhrIo, EventType, ErrorCode, createWebChannelTransport, getStatEventTarget, WebChannel, Event, Stat } from '@firebase/webchannel-wrapper/webchannel-blob';
|
|
7
7
|
|
|
8
|
-
const S = "@firebase/firestore", D = "4.7.11-canary.
|
|
8
|
+
const S = "@firebase/firestore", D = "4.7.11-canary.dd6a8f076";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @license
|
|
@@ -67,7 +67,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
67
67
|
* See the License for the specific language governing permissions and
|
|
68
68
|
* limitations under the License.
|
|
69
69
|
*/
|
|
70
|
-
let v = "11.6.1-canary.
|
|
70
|
+
let v = "11.6.1-canary.dd6a8f076";
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
package/dist/index.node.cjs.js
CHANGED
|
@@ -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.7.11-canary.
|
|
37
|
+
const version$1 = "4.7.11-canary.dd6a8f076";
|
|
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 = "11.6.1-canary.
|
|
90
|
+
const version = "11.6.1-canary.dd6a8f076";
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* @license
|
package/dist/index.node.mjs
CHANGED
|
@@ -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.7.11-canary.
|
|
12
|
+
const version$1 = "4.7.11-canary.dd6a8f076";
|
|
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 = "11.6.1-canary.
|
|
65
|
+
const version = "11.6.1-canary.dd6a8f076";
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
68
|
* @license
|
package/dist/index.rn.js
CHANGED
|
@@ -10,7 +10,7 @@ import { Integer as V, Md5 as m } from "@firebase/webchannel-wrapper/bloom-blob"
|
|
|
10
10
|
|
|
11
11
|
import { XhrIo as f, EventType as g, ErrorCode as p, createWebChannelTransport as y, getStatEventTarget as w, WebChannel as b, Event as S, Stat as D } from "@firebase/webchannel-wrapper/webchannel-blob";
|
|
12
12
|
|
|
13
|
-
const v = "@firebase/firestore", C = "4.7.11-canary.
|
|
13
|
+
const v = "@firebase/firestore", C = "4.7.11-canary.dd6a8f076";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @license
|
|
@@ -72,7 +72,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
72
72
|
* See the License for the specific language governing permissions and
|
|
73
73
|
* limitations under the License.
|
|
74
74
|
*/
|
|
75
|
-
let F = "11.6.1-canary.
|
|
75
|
+
let F = "11.6.1-canary.dd6a8f076";
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
78
|
* @license
|
|
@@ -27,7 +27,7 @@ export declare class CompositeIndexTestHelper {
|
|
|
27
27
|
addTestSpecificFieldsToDoc(doc: DocumentData): DocumentData;
|
|
28
28
|
private removeTestSpecificFieldsFromDoc;
|
|
29
29
|
private prepareTestDocuments;
|
|
30
|
-
assertOnlineAndOfflineResultsMatch(query: Query, ...expectedDocs: string[]): Promise<void>;
|
|
30
|
+
assertOnlineAndOfflineResultsMatch(collection: CollectionReference, query: Query, ...expectedDocs: string[]): Promise<void>;
|
|
31
31
|
assertSnapshotResultIdsMatch(snapshot: QuerySnapshot, expectedIds: string[]): void;
|
|
32
32
|
query<T>(query_: Query<T>, ...queryConstraints: QueryConstraint[]): Query<T>;
|
|
33
33
|
compositeQuery<T>(query_: Query<T>, compositeFilter: QueryCompositeFilterConstraint, ...queryConstraints: QueryNonFilterConstraint[]): Query<T>;
|
|
@@ -124,8 +124,15 @@ export declare function partitionedTestDocs(partitions: {
|
|
|
124
124
|
* documents as running the query while offline. If `expectedDocs` is provided, it also checks
|
|
125
125
|
* that both online and offline query result is equal to the expected documents.
|
|
126
126
|
*
|
|
127
|
+
* This function first performs a "get" for the entire COLLECTION from the server.
|
|
128
|
+
* It then performs the QUERY from CACHE which, results in `executeFullCollectionScan()`
|
|
129
|
+
* It then performs the QUERY from SERVER.
|
|
130
|
+
* It then performs the QUERY from CACHE again, which results in `performQueryUsingRemoteKeys()`.
|
|
131
|
+
* It then ensure that all the above QUERY results are the same.
|
|
132
|
+
*
|
|
133
|
+
* @param collection The collection on which the query is performed.
|
|
127
134
|
* @param query The query to check
|
|
128
135
|
* @param expectedDocs Ordered list of document keys that are expected to match the query
|
|
129
136
|
*/
|
|
130
|
-
export declare function checkOnlineAndOfflineResultsMatch(query: Query, ...expectedDocs: string[]): Promise<void>;
|
|
137
|
+
export declare function checkOnlineAndOfflineResultsMatch(collection: Query, query: Query, ...expectedDocs: string[]): Promise<void>;
|
|
131
138
|
export {};
|
|
@@ -4,7 +4,7 @@ import { Logger, LogLevel } from '@firebase/logger';
|
|
|
4
4
|
import { FirebaseError, getDefaultEmulatorHostnameAndPort, deepEqual, createMockUserToken, getModularInstance } from '@firebase/util';
|
|
5
5
|
import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
|
|
6
6
|
|
|
7
|
-
const E = "4.7.11-canary.
|
|
7
|
+
const E = "4.7.11-canary.dd6a8f076";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
@@ -65,7 +65,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
65
65
|
* See the License for the specific language governing permissions and
|
|
66
66
|
* limitations under the License.
|
|
67
67
|
*/
|
|
68
|
-
let m = "11.6.1-canary.
|
|
68
|
+
let m = "11.6.1-canary.dd6a8f076";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* @license
|
package/dist/lite/index.cjs.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Logger, LogLevel } from '@firebase/logger';
|
|
|
4
4
|
import { FirebaseError, getDefaultEmulatorHostnameAndPort, deepEqual, createMockUserToken, getModularInstance } from '@firebase/util';
|
|
5
5
|
import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
|
|
6
6
|
|
|
7
|
-
const E = "4.7.11-canary.
|
|
7
|
+
const E = "4.7.11-canary.dd6a8f076";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
@@ -65,7 +65,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
65
65
|
* See the License for the specific language governing permissions and
|
|
66
66
|
* limitations under the License.
|
|
67
67
|
*/
|
|
68
|
-
let m = "11.6.1-canary.
|
|
68
|
+
let m = "11.6.1-canary.dd6a8f076";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* @license
|
|
@@ -10,7 +10,7 @@ var util = require('@firebase/util');
|
|
|
10
10
|
var bloomBlob = require('@firebase/webchannel-wrapper/bloom-blob');
|
|
11
11
|
var crypto = require('crypto');
|
|
12
12
|
|
|
13
|
-
const version$1 = "4.7.11-canary.
|
|
13
|
+
const version$1 = "4.7.11-canary.dd6a8f076";
|
|
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 = "11.6.1-canary.
|
|
66
|
+
const version = "11.6.1-canary.dd6a8f076";
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
package/dist/lite/index.node.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { FirebaseError, getDefaultEmulatorHostnameAndPort, deepEqual, createMock
|
|
|
6
6
|
import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
|
|
7
7
|
import { randomBytes as randomBytes$1 } from 'crypto';
|
|
8
8
|
|
|
9
|
-
const version$1 = "4.7.11-canary.
|
|
9
|
+
const version$1 = "4.7.11-canary.dd6a8f076";
|
|
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 = "11.6.1-canary.
|
|
62
|
+
const version = "11.6.1-canary.dd6a8f076";
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
@@ -8,7 +8,7 @@ import { FirebaseError as _, base64 as c, DecodeBase64StringError as l, getDefau
|
|
|
8
8
|
|
|
9
9
|
import { Integer as m } from "@firebase/webchannel-wrapper/bloom-blob";
|
|
10
10
|
|
|
11
|
-
const T = "4.7.11-canary.
|
|
11
|
+
const T = "4.7.11-canary.dd6a8f076";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @license
|
|
@@ -69,7 +69,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
69
69
|
* See the License for the specific language governing permissions and
|
|
70
70
|
* limitations under the License.
|
|
71
71
|
*/
|
|
72
|
-
let A = "11.6.1-canary.
|
|
72
|
+
let A = "11.6.1-canary.dd6a8f076";
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* @license
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore",
|
|
3
|
-
"version": "4.7.11-canary.
|
|
3
|
+
"version": "4.7.11-canary.dd6a8f076",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=18.0.0"
|
|
6
6
|
},
|
|
@@ -98,21 +98,21 @@
|
|
|
98
98
|
"lite/package.json"
|
|
99
99
|
],
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@firebase/component": "0.6.13-canary.
|
|
102
|
-
"@firebase/logger": "0.4.4-canary.
|
|
103
|
-
"@firebase/util": "1.11.0-canary.
|
|
104
|
-
"@firebase/webchannel-wrapper": "1.0.3-canary.
|
|
101
|
+
"@firebase/component": "0.6.13-canary.dd6a8f076",
|
|
102
|
+
"@firebase/logger": "0.4.4-canary.dd6a8f076",
|
|
103
|
+
"@firebase/util": "1.11.0-canary.dd6a8f076",
|
|
104
|
+
"@firebase/webchannel-wrapper": "1.0.3-canary.dd6a8f076",
|
|
105
105
|
"@grpc/grpc-js": "~1.9.0",
|
|
106
106
|
"@grpc/proto-loader": "^0.7.8",
|
|
107
107
|
"tslib": "^2.1.0"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
|
-
"@firebase/app": "0.11.5-canary.
|
|
110
|
+
"@firebase/app": "0.11.5-canary.dd6a8f076"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"@firebase/app": "0.11.5-canary.
|
|
114
|
-
"@firebase/app-compat": "0.2.54-canary.
|
|
115
|
-
"@firebase/auth": "1.10.1-canary.
|
|
113
|
+
"@firebase/app": "0.11.5-canary.dd6a8f076",
|
|
114
|
+
"@firebase/app-compat": "0.2.54-canary.dd6a8f076",
|
|
115
|
+
"@firebase/auth": "1.10.1-canary.dd6a8f076",
|
|
116
116
|
"@rollup/plugin-alias": "5.1.1",
|
|
117
117
|
"@rollup/plugin-json": "6.1.0",
|
|
118
118
|
"@types/eslint": "7.29.0",
|