@firebase/firestore 4.7.16 → 4.7.17
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/browser/webchannel_connection.d.ts +17 -0
- package/dist/index.cjs.js +640 -618
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +640 -618
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.mjs +2 -2
- package/dist/index.rn.js +596 -574
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/firestore/src/platform/browser/webchannel_connection.d.ts +17 -0
- 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 +3 -3
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
+
import { WebChannel } from '@firebase/webchannel-wrapper/webchannel-blob';
|
|
17
18
|
import { Token } from '../../api/credentials';
|
|
18
19
|
import { DatabaseInfo } from '../../core/database_info';
|
|
19
20
|
import { Stream } from '../../remote/connection';
|
|
@@ -24,7 +25,23 @@ export declare class WebChannelConnection extends RestConnection {
|
|
|
24
25
|
private readonly autoDetectLongPolling;
|
|
25
26
|
private readonly useFetchStreams;
|
|
26
27
|
private readonly longPollingOptions;
|
|
28
|
+
/** A collection of open WebChannel instances */
|
|
29
|
+
private openWebChannels;
|
|
27
30
|
constructor(info: DatabaseInfo);
|
|
28
31
|
protected performRPCRequest<Req, Resp>(rpcName: string, url: string, headers: StringMap, body: Req, _forwardCredentials: boolean): Promise<Resp>;
|
|
29
32
|
openStream<Req, Resp>(rpcName: string, authToken: Token | null, appCheckToken: Token | null): Stream<Req, Resp>;
|
|
33
|
+
/**
|
|
34
|
+
* Closes and cleans up any resources associated with the connection.
|
|
35
|
+
*/
|
|
36
|
+
terminate(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Add a WebChannel instance to the collection of open instances.
|
|
39
|
+
* @param webChannel
|
|
40
|
+
*/
|
|
41
|
+
addOpenWebChannel(webChannel: WebChannel): void;
|
|
42
|
+
/**
|
|
43
|
+
* Remove a WebChannel instance from the collection of open instances.
|
|
44
|
+
* @param webChannel
|
|
45
|
+
*/
|
|
46
|
+
removeOpenWebChannel(webChannel: WebChannel): void;
|
|
30
47
|
}
|
|
@@ -4,7 +4,7 @@ import { Logger, LogLevel } from '@firebase/logger';
|
|
|
4
4
|
import { FirebaseError, getDefaultEmulatorHostnameAndPort, isCloudWorkstation, pingServer, updateEmulatorBanner, deepEqual, createMockUserToken, getModularInstance } from '@firebase/util';
|
|
5
5
|
import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
|
|
6
6
|
|
|
7
|
-
const A = "4.7.
|
|
7
|
+
const A = "4.7.17";
|
|
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 P = "11.
|
|
68
|
+
let P = "11.9.0";
|
|
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, isCloudWorkstation, pingServer, updateEmulatorBanner, deepEqual, createMockUserToken, getModularInstance } from '@firebase/util';
|
|
5
5
|
import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
|
|
6
6
|
|
|
7
|
-
const A = "4.7.
|
|
7
|
+
const A = "4.7.17";
|
|
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 P = "11.
|
|
68
|
+
let P = "11.9.0";
|
|
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.
|
|
13
|
+
const version$1 = "4.7.17";
|
|
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.
|
|
66
|
+
const version = "11.9.0";
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
package/dist/lite/index.node.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { FirebaseError, getDefaultEmulatorHostnameAndPort, isCloudWorkstation, p
|
|
|
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.
|
|
9
|
+
const version$1 = "4.7.17";
|
|
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.
|
|
62
|
+
const version = "11.9.0";
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
@@ -8,7 +8,7 @@ import { FirebaseError as _, isCloudWorkstation as c, base64 as l, DecodeBase64S
|
|
|
8
8
|
|
|
9
9
|
import { Integer as P } from "@firebase/webchannel-wrapper/bloom-blob";
|
|
10
10
|
|
|
11
|
-
const R = "4.7.
|
|
11
|
+
const R = "4.7.17";
|
|
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 I = "11.
|
|
72
|
+
let I = "11.9.0";
|
|
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.
|
|
3
|
+
"version": "4.7.17",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=18.0.0"
|
|
6
6
|
},
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
"@firebase/app": "0.x"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
|
-
"@firebase/app": "0.13.
|
|
116
|
-
"@firebase/app-compat": "0.4.
|
|
115
|
+
"@firebase/app": "0.13.1",
|
|
116
|
+
"@firebase/app-compat": "0.4.1",
|
|
117
117
|
"@firebase/auth": "1.10.6",
|
|
118
118
|
"@rollup/plugin-alias": "5.1.1",
|
|
119
119
|
"@rollup/plugin-json": "6.1.0",
|