@firebase/data-connect 0.6.0-20260408221811 → 0.6.0
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/index.cjs.js +12 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.node.cjs.js +12 -4
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +12 -4
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/network/stream/streamTransport.d.ts +2 -0
- package/dist/node-esm/src/network/stream/wire.d.ts +4 -4
- package/dist/src/network/stream/streamTransport.d.ts +2 -0
- package/dist/src/network/stream/wire.d.ts +4 -4
- package/package.json +2 -2
|
@@ -91,6 +91,8 @@ export declare abstract class AbstractDataConnectStreamTransport extends Abstrac
|
|
|
91
91
|
private closeTimeoutFinished;
|
|
92
92
|
/** current auth uid. used to detect if a different user logs in */
|
|
93
93
|
private authUid;
|
|
94
|
+
/** Flag to ensure we wait for the initial auth state once per connection attempt. */
|
|
95
|
+
private hasWaitedForInitialAuth;
|
|
94
96
|
/**
|
|
95
97
|
* Tracks a query execution request, storing the request body and creating and storing a promise that
|
|
96
98
|
* will be resolved when the response is received.
|
|
@@ -46,10 +46,10 @@ export interface StreamRequest {
|
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
48
|
export interface StreamRequestHeaders {
|
|
49
|
-
/** used to initially authenticate or re-authenticate */
|
|
50
|
-
|
|
51
|
-
/** used to initially
|
|
52
|
-
|
|
49
|
+
/** used to initially authenticate or re-authenticate user */
|
|
50
|
+
'X-Firebase-Auth-Token'?: string;
|
|
51
|
+
/** used to initially attest app */
|
|
52
|
+
'X-Firebase-App-Check'?: string;
|
|
53
53
|
/** SDK telemetry header */
|
|
54
54
|
'X-Goog-Api-Client'?: string;
|
|
55
55
|
/** firebase appid */
|
|
@@ -91,6 +91,8 @@ export declare abstract class AbstractDataConnectStreamTransport extends Abstrac
|
|
|
91
91
|
private closeTimeoutFinished;
|
|
92
92
|
/** current auth uid. used to detect if a different user logs in */
|
|
93
93
|
private authUid;
|
|
94
|
+
/** Flag to ensure we wait for the initial auth state once per connection attempt. */
|
|
95
|
+
private hasWaitedForInitialAuth;
|
|
94
96
|
/**
|
|
95
97
|
* Tracks a query execution request, storing the request body and creating and storing a promise that
|
|
96
98
|
* will be resolved when the response is received.
|
|
@@ -46,10 +46,10 @@ export interface StreamRequest {
|
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
48
|
export interface StreamRequestHeaders {
|
|
49
|
-
/** used to initially authenticate or re-authenticate */
|
|
50
|
-
|
|
51
|
-
/** used to initially
|
|
52
|
-
|
|
49
|
+
/** used to initially authenticate or re-authenticate user */
|
|
50
|
+
'X-Firebase-Auth-Token'?: string;
|
|
51
|
+
/** used to initially attest app */
|
|
52
|
+
'X-Firebase-App-Check'?: string;
|
|
53
53
|
/** SDK telemetry header */
|
|
54
54
|
'X-Goog-Api-Client'?: string;
|
|
55
55
|
/** firebase appid */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/data-connect",
|
|
3
|
-
"version": "0.6.0
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.node.cjs.js",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"tslib": "^2.1.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@firebase/app": "0.14.
|
|
58
|
+
"@firebase/app": "0.14.11",
|
|
59
59
|
"rollup": "2.79.2",
|
|
60
60
|
"rollup-plugin-typescript2": "0.36.0",
|
|
61
61
|
"typescript": "5.5.4"
|