@firebase/firestore 3.4.4-canary.05a6aff7e → 3.4.4-canary.307d019c7
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/src/platform/node/grpc_connection.d.ts +2 -2
- package/dist/firestore/src/platform/node/load_protos.d.ts +2 -2
- 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 +31 -10
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +11 -11
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +3 -3
- package/dist/lite/firestore/src/platform/node/grpc_connection.d.ts +2 -2
- package/dist/lite/firestore/src/platform/node/load_protos.d.ts +2 -2
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +2 -2
- 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 +2 -2
- package/dist/lite/packages/firestore/src/platform/node/grpc_connection.d.ts +2 -2
- package/dist/lite/packages/firestore/src/platform/node/load_protos.d.ts +2 -2
- package/dist/packages/firestore/src/platform/node/grpc_connection.d.ts +2 -2
- package/dist/packages/firestore/src/platform/node/load_protos.d.ts +2 -2
- package/package.json +9 -9
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import
|
|
17
|
+
import * as grpc from '@grpc/grpc-js';
|
|
18
18
|
import { Token } from '../../api/credentials';
|
|
19
19
|
import { DatabaseInfo } from '../../core/database_info';
|
|
20
20
|
import { Connection, Stream } from '../../remote/connection';
|
|
@@ -26,7 +26,7 @@ export declare class GrpcConnection implements Connection {
|
|
|
26
26
|
private readonly databasePath;
|
|
27
27
|
private readonly firestore;
|
|
28
28
|
private cachedStub;
|
|
29
|
-
constructor(protos: GrpcObject, databaseInfo: DatabaseInfo);
|
|
29
|
+
constructor(protos: grpc.GrpcObject, databaseInfo: DatabaseInfo);
|
|
30
30
|
private ensureActiveStub;
|
|
31
31
|
invokeRPC<Req, Resp>(rpcName: string, path: string, request: Req, authToken: Token | null, appCheckToken: Token | null): Promise<Resp>;
|
|
32
32
|
invokeStreamingRPC<Req, Resp>(rpcName: string, path: string, request: Req, authToken: Token | null, appCheckToken: Token | null): Promise<Resp[]>;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import
|
|
17
|
+
import * as grpc from '@grpc/grpc-js';
|
|
18
18
|
import { IConversionOptions, Root } from 'protobufjs';
|
|
19
19
|
/** Used by tests so we can match @grpc/proto-loader behavior. */
|
|
20
20
|
export declare const protoLoaderOptions: IConversionOptions;
|
|
@@ -23,6 +23,6 @@ export declare const protoLoaderOptions: IConversionOptions;
|
|
|
23
23
|
*
|
|
24
24
|
* @returns The GrpcObject representing our protos.
|
|
25
25
|
*/
|
|
26
|
-
export declare function loadProtos(): GrpcObject;
|
|
26
|
+
export declare function loadProtos(): grpc.GrpcObject;
|
|
27
27
|
/** Used by tests so we can directly create ProtobufJS proto message objects from JSON protos. */
|
|
28
28
|
export declare function loadRawProtos(): Root;
|
package/dist/index.esm2017.js
CHANGED
|
@@ -66,7 +66,7 @@ C.MOCK_USER = new C("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let N = "9.6.6-canary.
|
|
69
|
+
let N = "9.6.6-canary.307d019c7";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -19009,9 +19009,9 @@ function ul(t, e) {
|
|
|
19009
19009
|
return n = Object.assign({
|
|
19010
19010
|
useFetchStreams: e
|
|
19011
19011
|
}, n), i._setSettings(n), i;
|
|
19012
|
-
}), "PUBLIC")), registerVersion(D, "3.4.4-canary.
|
|
19012
|
+
}), "PUBLIC")), registerVersion(D, "3.4.4-canary.307d019c7", t),
|
|
19013
19013
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
19014
|
-
registerVersion(D, "3.4.4-canary.
|
|
19014
|
+
registerVersion(D, "3.4.4-canary.307d019c7", "esm2017");
|
|
19015
19015
|
}();
|
|
19016
19016
|
|
|
19017
19017
|
export { xh as AbstractUserDataWriter, Sa as Bytes, ha as CACHE_SIZE_UNLIMITED, ea as CollectionReference, Zu as DocumentReference, uh as DocumentSnapshot, va as FieldPath, Da as FieldValue, la as Firestore, j as FirestoreError, Ca as GeoPoint, aa as LoadBundleTask, ta as Query, _h as QueryConstraint, ah as QueryDocumentSnapshot, hh as QuerySnapshot, ch as SnapshotMetadata, ut as Timestamp, Zh as Transaction, Mh as WriteBatch, Vt as _DatabaseId, Nt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, zu as _cast, q as _debugAssert, yt as _isBase64Available, F as _logWarn, cl as _setIndexConfiguration, Gu as _validateIsNotUsedTogether, zh as addDoc, il as arrayRemove, sl as arrayUnion, pa as clearIndexedDbPersistence, na as collection, sa as collectionGroup, Xu as connectFirestoreEmulator, Wh as deleteDoc, el as deleteField, Ta as disableNetwork, ia as doc, Va as documentId, ma as enableIndexedDbPersistence, ga as enableMultiTabIndexedDbPersistence, Ea as enableNetwork, Vh as endAt, vh as endBefore, _a as ensureFirestoreConfigured, Yh as executeWrite, Fh as getDoc, Lh as getDocFromCache, Uh as getDocFromServer, qh as getDocs, Kh as getDocsFromCache, Gh as getDocsFromServer, da as getFirestore, rl as increment, fa as initializeFirestore, Eh as limit, Th as limitToLast, Ra as loadBundle, Pa as namedQuery, Hh as onSnapshot, Jh as onSnapshotsInSync, ph as orderBy, wh as query, oa as queryEqual, ra as refEqual, tl as runTransaction, nl as serverTimestamp, jh as setDoc, O as setLogLevel, fh as snapshotEqual, Ph as startAfter, Rh as startAt, Aa as terminate, Qh as updateDoc, Ia as waitForPendingWrites, gh as where, ol as writeBatch };
|