@firebase/database 0.12.0-canary.45db2b747 → 0.12.0-canary.5823d0bac
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.esm2017.js +6 -2
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +1 -1
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +1 -1
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/src/core/view/EventRegistration.d.ts +1 -1
- package/dist/test/helpers/util.d.ts +16 -0
- package/package.json +10 -10
package/dist/internal.d.ts
CHANGED
|
@@ -2871,7 +2871,7 @@ export declare function update(ref: DatabaseReference, values: object): Promise<
|
|
|
2871
2871
|
|
|
2872
2872
|
/**
|
|
2873
2873
|
* A user callback. Callbacks issues from the Legacy SDK maintain references
|
|
2874
|
-
*
|
|
2874
|
+
* to the original user-issued callbacks, which allows equality
|
|
2875
2875
|
* comparison by reference even though this callbacks are wrapped before
|
|
2876
2876
|
* they can be passed to the firebase@exp SDK.
|
|
2877
2877
|
*
|
|
@@ -22,7 +22,7 @@ import { CancelEvent, Event } from './Event';
|
|
|
22
22
|
import { QueryParams } from './QueryParams';
|
|
23
23
|
/**
|
|
24
24
|
* A user callback. Callbacks issues from the Legacy SDK maintain references
|
|
25
|
-
*
|
|
25
|
+
* to the original user-issued callbacks, which allows equality
|
|
26
26
|
* comparison by reference even though this callbacks are wrapped before
|
|
27
27
|
* they can be passed to the firebase@exp SDK.
|
|
28
28
|
*
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
1
17
|
export declare const TEST_PROJECT: any;
|
|
2
18
|
export declare const DATABASE_ADDRESS: any;
|
|
3
19
|
export declare const DATABASE_URL: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/database",
|
|
3
|
-
"version": "0.12.0-canary.
|
|
3
|
+
"version": "0.12.0-canary.5823d0bac",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.node.cjs.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
|
15
15
|
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
|
16
|
-
"prettier": "prettier --write '*.js' '*.ts' '@(
|
|
16
|
+
"prettier": "prettier --write '*.js' '*.ts' '@(src|test)/**/*.ts'",
|
|
17
17
|
"build": "rollup -c rollup.config.js && yarn api-report",
|
|
18
18
|
"build:deps": "lerna run --scope @firebase/'{app,database}' --include-dependencies build",
|
|
19
19
|
"dev": "rollup -c -w",
|
|
@@ -26,21 +26,21 @@
|
|
|
26
26
|
"api-report": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/extract-public-api.ts --package database --packageRoot . --typescriptDts ./dist/src/index.d.ts --rollupDts ./dist/private.d.ts --untrimmedRollupDts ./dist/internal.d.ts --publicDts ./dist/public.d.ts && yarn api-report:api-json",
|
|
27
27
|
"api-report:api-json": "rm -rf temp && api-extractor run --local --verbose",
|
|
28
28
|
"doc": "api-documenter markdown --input temp --output docs",
|
|
29
|
-
"typings:public": "node ../../scripts/
|
|
29
|
+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/public.d.ts"
|
|
30
30
|
},
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"peerDependencies": {},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@firebase/logger": "0.2.6-canary.
|
|
35
|
-
"@firebase/util": "1.3.0-canary.
|
|
36
|
-
"@firebase/component": "0.5.6-canary.
|
|
37
|
-
"@firebase/auth-interop-types": "0.1.6-canary.
|
|
38
|
-
"faye-websocket": "0.11.
|
|
34
|
+
"@firebase/logger": "0.2.6-canary.5823d0bac",
|
|
35
|
+
"@firebase/util": "1.3.0-canary.5823d0bac",
|
|
36
|
+
"@firebase/component": "0.5.6-canary.5823d0bac",
|
|
37
|
+
"@firebase/auth-interop-types": "0.1.6-canary.5823d0bac",
|
|
38
|
+
"faye-websocket": "0.11.4",
|
|
39
39
|
"tslib": "^2.1.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@firebase/app": "0.7.0-canary.
|
|
43
|
-
"rollup": "2.
|
|
42
|
+
"@firebase/app": "0.7.0-canary.5823d0bac",
|
|
43
|
+
"rollup": "2.56.3",
|
|
44
44
|
"rollup-plugin-typescript2": "0.30.0",
|
|
45
45
|
"typescript": "4.2.2"
|
|
46
46
|
},
|