@firebase/database 0.14.1 → 0.14.2-20230201003102
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/CHANGELOG.md +12 -0
- package/dist/index.cjs.js +13999 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.esm2017.js +11 -4
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +13 -5
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +12 -4
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js +11 -3
- package/dist/index.standalone.js.map +1 -1
- package/dist/internal.d.ts +2 -1
- package/dist/node-esm/index.node.esm.js +11 -4
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/core/RepoInfo.d.ts +2 -1
- package/dist/private.d.ts +2 -1
- package/dist/src/core/RepoInfo.d.ts +2 -1
- package/package.json +9 -5
|
@@ -24,6 +24,7 @@ export declare class RepoInfo {
|
|
|
24
24
|
readonly nodeAdmin: boolean;
|
|
25
25
|
readonly persistenceKey: string;
|
|
26
26
|
readonly includeNamespaceInQueryParams: boolean;
|
|
27
|
+
readonly isUsingEmulator: boolean;
|
|
27
28
|
private _host;
|
|
28
29
|
private _domain;
|
|
29
30
|
internalHost: string;
|
|
@@ -35,7 +36,7 @@ export declare class RepoInfo {
|
|
|
35
36
|
* @param nodeAdmin - Whether this instance uses Admin SDK credentials
|
|
36
37
|
* @param persistenceKey - Override the default session persistence storage key
|
|
37
38
|
*/
|
|
38
|
-
constructor(host: string, secure: boolean, namespace: string, webSocketOnly: boolean, nodeAdmin?: boolean, persistenceKey?: string, includeNamespaceInQueryParams?: boolean);
|
|
39
|
+
constructor(host: string, secure: boolean, namespace: string, webSocketOnly: boolean, nodeAdmin?: boolean, persistenceKey?: string, includeNamespaceInQueryParams?: boolean, isUsingEmulator?: boolean);
|
|
39
40
|
isCacheableHost(): boolean;
|
|
40
41
|
isCustomHost(): boolean;
|
|
41
42
|
get host(): string;
|
package/dist/private.d.ts
CHANGED
|
@@ -2178,6 +2178,7 @@ declare class RepoInfo {
|
|
|
2178
2178
|
readonly nodeAdmin: boolean;
|
|
2179
2179
|
readonly persistenceKey: string;
|
|
2180
2180
|
readonly includeNamespaceInQueryParams: boolean;
|
|
2181
|
+
readonly isUsingEmulator: boolean;
|
|
2181
2182
|
private _host;
|
|
2182
2183
|
private _domain;
|
|
2183
2184
|
internalHost: string;
|
|
@@ -2189,7 +2190,7 @@ declare class RepoInfo {
|
|
|
2189
2190
|
* @param nodeAdmin - Whether this instance uses Admin SDK credentials
|
|
2190
2191
|
* @param persistenceKey - Override the default session persistence storage key
|
|
2191
2192
|
*/
|
|
2192
|
-
constructor(host: string, secure: boolean, namespace: string, webSocketOnly: boolean, nodeAdmin?: boolean, persistenceKey?: string, includeNamespaceInQueryParams?: boolean);
|
|
2193
|
+
constructor(host: string, secure: boolean, namespace: string, webSocketOnly: boolean, nodeAdmin?: boolean, persistenceKey?: string, includeNamespaceInQueryParams?: boolean, isUsingEmulator?: boolean);
|
|
2193
2194
|
isCacheableHost(): boolean;
|
|
2194
2195
|
isCustomHost(): boolean;
|
|
2195
2196
|
get host(): string;
|
|
@@ -24,6 +24,7 @@ export declare class RepoInfo {
|
|
|
24
24
|
readonly nodeAdmin: boolean;
|
|
25
25
|
readonly persistenceKey: string;
|
|
26
26
|
readonly includeNamespaceInQueryParams: boolean;
|
|
27
|
+
readonly isUsingEmulator: boolean;
|
|
27
28
|
private _host;
|
|
28
29
|
private _domain;
|
|
29
30
|
internalHost: string;
|
|
@@ -35,7 +36,7 @@ export declare class RepoInfo {
|
|
|
35
36
|
* @param nodeAdmin - Whether this instance uses Admin SDK credentials
|
|
36
37
|
* @param persistenceKey - Override the default session persistence storage key
|
|
37
38
|
*/
|
|
38
|
-
constructor(host: string, secure: boolean, namespace: string, webSocketOnly: boolean, nodeAdmin?: boolean, persistenceKey?: string, includeNamespaceInQueryParams?: boolean);
|
|
39
|
+
constructor(host: string, secure: boolean, namespace: string, webSocketOnly: boolean, nodeAdmin?: boolean, persistenceKey?: string, includeNamespaceInQueryParams?: boolean, isUsingEmulator?: boolean);
|
|
39
40
|
isCacheableHost(): boolean;
|
|
40
41
|
isCustomHost(): boolean;
|
|
41
42
|
get host(): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/database",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.2-20230201003102",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.node.cjs.js",
|
|
@@ -17,7 +17,11 @@
|
|
|
17
17
|
},
|
|
18
18
|
"esm5": "./dist/index.esm5.js",
|
|
19
19
|
"standalone": "./dist/index.standalone.js",
|
|
20
|
-
"default": "./dist/index.esm2017.js"
|
|
20
|
+
"default": "./dist/index.esm2017.js",
|
|
21
|
+
"browser": {
|
|
22
|
+
"require": "./dist/index.cjs.js",
|
|
23
|
+
"import": "./dist/index.esm2017.js"
|
|
24
|
+
}
|
|
21
25
|
},
|
|
22
26
|
"./package.json": "./package.json"
|
|
23
27
|
},
|
|
@@ -46,14 +50,14 @@
|
|
|
46
50
|
"peerDependencies": {},
|
|
47
51
|
"dependencies": {
|
|
48
52
|
"@firebase/logger": "0.4.0",
|
|
49
|
-
"@firebase/util": "1.9.
|
|
50
|
-
"@firebase/component": "0.6.
|
|
53
|
+
"@firebase/util": "1.9.1-20230201003102",
|
|
54
|
+
"@firebase/component": "0.6.2-20230201003102",
|
|
51
55
|
"@firebase/auth-interop-types": "0.2.1",
|
|
52
56
|
"faye-websocket": "0.11.4",
|
|
53
57
|
"tslib": "^2.1.0"
|
|
54
58
|
},
|
|
55
59
|
"devDependencies": {
|
|
56
|
-
"@firebase/app": "0.9.
|
|
60
|
+
"@firebase/app": "0.9.2-20230201003102",
|
|
57
61
|
"rollup": "2.79.1",
|
|
58
62
|
"rollup-plugin-typescript2": "0.31.2",
|
|
59
63
|
"typescript": "4.7.4"
|