@firebase/database 0.12.2-pr5646.2abc5e854 → 0.12.2

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.
Files changed (109) hide show
  1. package/dist/index.esm2017.js +1 -1
  2. package/dist/index.esm5.js +1 -1
  3. package/dist/index.node.cjs.js +3 -7
  4. package/dist/index.node.cjs.js.map +1 -1
  5. package/dist/index.standalone.js +2 -6
  6. package/dist/index.standalone.js.map +1 -1
  7. package/package.json +6 -16
  8. package/dist/node-esm/index.node.esm.js +0 -13984
  9. package/dist/node-esm/index.node.esm.js.map +0 -1
  10. package/dist/node-esm/package.json +0 -1
  11. package/dist/node-esm/src/api/Database.d.ts +0 -130
  12. package/dist/node-esm/src/api/OnDisconnect.d.ts +0 -110
  13. package/dist/node-esm/src/api/Reference.d.ts +0 -122
  14. package/dist/node-esm/src/api/Reference_impl.d.ts +0 -1093
  15. package/dist/node-esm/src/api/ServerValue.d.ts +0 -30
  16. package/dist/node-esm/src/api/Transaction.d.ts +0 -83
  17. package/dist/node-esm/src/api/test_access.d.ts +0 -31
  18. package/dist/node-esm/src/api.d.ts +0 -18
  19. package/dist/node-esm/src/api.standalone.d.ts +0 -29
  20. package/dist/node-esm/src/core/AppCheckTokenProvider.d.ts +0 -30
  21. package/dist/node-esm/src/core/AuthTokenProvider.d.ts +0 -49
  22. package/dist/node-esm/src/core/CompoundWrite.d.ts +0 -81
  23. package/dist/node-esm/src/core/PersistentConnection.d.ts +0 -135
  24. package/dist/node-esm/src/core/ReadonlyRestClient.d.ts +0 -60
  25. package/dist/node-esm/src/core/Repo.d.ts +0 -143
  26. package/dist/node-esm/src/core/RepoInfo.d.ts +0 -55
  27. package/dist/node-esm/src/core/ServerActions.d.ts +0 -52
  28. package/dist/node-esm/src/core/SnapshotHolder.d.ts +0 -26
  29. package/dist/node-esm/src/core/SparseSnapshotTree.d.ts +0 -64
  30. package/dist/node-esm/src/core/SyncPoint.d.ts +0 -91
  31. package/dist/node-esm/src/core/SyncTree.d.ts +0 -159
  32. package/dist/node-esm/src/core/WriteTree.d.ts +0 -205
  33. package/dist/node-esm/src/core/operation/AckUserWrite.d.ts +0 -36
  34. package/dist/node-esm/src/core/operation/ListenComplete.d.ts +0 -26
  35. package/dist/node-esm/src/core/operation/Merge.d.ts +0 -33
  36. package/dist/node-esm/src/core/operation/Operation.d.ts +0 -45
  37. package/dist/node-esm/src/core/operation/Overwrite.d.ts +0 -28
  38. package/dist/node-esm/src/core/snap/ChildrenNode.d.ts +0 -112
  39. package/dist/node-esm/src/core/snap/IndexMap.d.ts +0 -43
  40. package/dist/node-esm/src/core/snap/LeafNode.d.ts +0 -83
  41. package/dist/node-esm/src/core/snap/Node.d.ts +0 -126
  42. package/dist/node-esm/src/core/snap/childSet.d.ts +0 -32
  43. package/dist/node-esm/src/core/snap/comparators.d.ts +0 -19
  44. package/dist/node-esm/src/core/snap/indexes/Index.d.ts +0 -50
  45. package/dist/node-esm/src/core/snap/indexes/KeyIndex.d.ts +0 -34
  46. package/dist/node-esm/src/core/snap/indexes/PathIndex.d.ts +0 -29
  47. package/dist/node-esm/src/core/snap/indexes/PriorityIndex.d.ts +0 -33
  48. package/dist/node-esm/src/core/snap/indexes/ValueIndex.d.ts +0 -31
  49. package/dist/node-esm/src/core/snap/nodeFromJSON.d.ts +0 -24
  50. package/dist/node-esm/src/core/snap/snap.d.ts +0 -23
  51. package/dist/node-esm/src/core/stats/StatsCollection.d.ts +0 -26
  52. package/dist/node-esm/src/core/stats/StatsListener.d.ts +0 -30
  53. package/dist/node-esm/src/core/stats/StatsManager.d.ts +0 -20
  54. package/dist/node-esm/src/core/stats/StatsReporter.d.ts +0 -28
  55. package/dist/node-esm/src/core/storage/DOMStorageWrapper.d.ts +0 -46
  56. package/dist/node-esm/src/core/storage/MemoryStorage.d.ts +0 -27
  57. package/dist/node-esm/src/core/storage/storage.d.ts +0 -22
  58. package/dist/node-esm/src/core/util/EventEmitter.d.ts +0 -39
  59. package/dist/node-esm/src/core/util/ImmutableTree.d.ts +0 -117
  60. package/dist/node-esm/src/core/util/NextPushId.d.ts +0 -33
  61. package/dist/node-esm/src/core/util/OnlineMonitor.d.ts +0 -31
  62. package/dist/node-esm/src/core/util/Path.d.ts +0 -94
  63. package/dist/node-esm/src/core/util/ServerValues.d.ts +0 -56
  64. package/dist/node-esm/src/core/util/SortedMap.d.ts +0 -324
  65. package/dist/node-esm/src/core/util/Tree.d.ts +0 -105
  66. package/dist/node-esm/src/core/util/VisibilityMonitor.d.ts +0 -23
  67. package/dist/node-esm/src/core/util/libs/parser.d.ts +0 -32
  68. package/dist/node-esm/src/core/util/misc.d.ts +0 -19
  69. package/dist/node-esm/src/core/util/util.d.ts +0 -176
  70. package/dist/node-esm/src/core/util/validation.d.ts +0 -70
  71. package/dist/node-esm/src/core/version.d.ts +0 -23
  72. package/dist/node-esm/src/core/view/CacheNode.d.ts +0 -41
  73. package/dist/node-esm/src/core/view/Change.d.ts +0 -46
  74. package/dist/node-esm/src/core/view/ChildChangeAccumulator.d.ts +0 -22
  75. package/dist/node-esm/src/core/view/CompleteChildSource.d.ts +0 -55
  76. package/dist/node-esm/src/core/view/Event.d.ts +0 -64
  77. package/dist/node-esm/src/core/view/EventGenerator.d.ts +0 -42
  78. package/dist/node-esm/src/core/view/EventQueue.d.ts +0 -67
  79. package/dist/node-esm/src/core/view/EventRegistration.d.ts +0 -87
  80. package/dist/node-esm/src/core/view/QueryParams.d.ts +0 -97
  81. package/dist/node-esm/src/core/view/View.d.ts +0 -59
  82. package/dist/node-esm/src/core/view/ViewCache.d.ts +0 -32
  83. package/dist/node-esm/src/core/view/ViewProcessor.d.ts +0 -32
  84. package/dist/node-esm/src/core/view/filter/IndexedFilter.d.ts +0 -35
  85. package/dist/node-esm/src/core/view/filter/LimitedFilter.d.ts +0 -41
  86. package/dist/node-esm/src/core/view/filter/NodeFilter.d.ts +0 -54
  87. package/dist/node-esm/src/core/view/filter/RangedFilter.d.ts +0 -45
  88. package/dist/node-esm/src/index.d.ts +0 -28
  89. package/dist/node-esm/src/index.node.d.ts +0 -17
  90. package/dist/node-esm/src/index.standalone.d.ts +0 -17
  91. package/dist/node-esm/src/realtime/BrowserPollConnection.d.ts +0 -198
  92. package/dist/node-esm/src/realtime/Connection.d.ts +0 -102
  93. package/dist/node-esm/src/realtime/Constants.d.ts +0 -27
  94. package/dist/node-esm/src/realtime/Transport.d.ts +0 -58
  95. package/dist/node-esm/src/realtime/TransportManager.d.ts +0 -44
  96. package/dist/node-esm/src/realtime/WebSocketConnection.d.ts +0 -127
  97. package/dist/node-esm/src/realtime/polling/PacketReceiver.d.ts +0 -38
  98. package/dist/node-esm/src/register.d.ts +0 -1
  99. package/dist/node-esm/test/compound_write.test.d.ts +0 -17
  100. package/dist/node-esm/test/connection.test.d.ts +0 -17
  101. package/dist/node-esm/test/exp/integration.test.d.ts +0 -17
  102. package/dist/node-esm/test/helpers/EventAccumulator.d.ts +0 -35
  103. package/dist/node-esm/test/helpers/util.d.ts +0 -22
  104. package/dist/node-esm/test/node.test.d.ts +0 -17
  105. package/dist/node-esm/test/path.test.d.ts +0 -17
  106. package/dist/node-esm/test/pushid.test.d.ts +0 -17
  107. package/dist/node-esm/test/repoinfo.test.d.ts +0 -17
  108. package/dist/node-esm/test/sortedmap.test.d.ts +0 -17
  109. package/dist/node-esm/test/sparsesnapshottree.test.d.ts +0 -17
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 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
- */
17
- export {};
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 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
- */
17
- export declare function createTestApp(): import("@firebase/app").FirebaseApp;
@@ -1,35 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 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
- */
17
- export declare const EventAccumulatorFactory: {
18
- waitsForCount: (maxCount: any) => EventAccumulator;
19
- waitsForExactCount: (maxCount: any) => EventAccumulator;
20
- };
21
- export declare class EventAccumulator {
22
- condition: Function;
23
- eventData: any[];
24
- promise: any;
25
- resolve: any;
26
- reject: any;
27
- private onResetFxn;
28
- private onEventFxn;
29
- constructor(condition: Function);
30
- addEvent(eventData?: any): void;
31
- reset(condition?: Function): void;
32
- onEvent(cb: Function): void;
33
- onReset(cb: Function): void;
34
- _testCondition(): any;
35
- }
@@ -1,22 +0,0 @@
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
- */
17
- export declare const TEST_PROJECT: any;
18
- export declare const DATABASE_ADDRESS: any;
19
- export declare const DATABASE_URL: any;
20
- export declare function testRepoInfo(url: any): import("../../src/core/RepoInfo").RepoInfo;
21
- export declare function repoInfoForConnectionTest(): import("../../src/core/RepoInfo").RepoInfo;
22
- export declare function shuffle(arr: any, randFn?: () => number): void;
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 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
- */
17
- export {};
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 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
- */
17
- export {};
@@ -1,17 +0,0 @@
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
- */
17
- export {};
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 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
- */
17
- export {};
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 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
- */
17
- export {};
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 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
- */
17
- export {};