@firebase/firestore-compat 0.3.3 → 0.3.4-canary.2e22d5bb6
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 +11 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm2017.js +1 -1
- package/dist/index.esm5.js +1 -1
- package/dist/index.node.cjs.js +1 -1
- package/dist/index.rn.js +1 -1
- package/dist/node-esm/index.node.esm.js +1 -1
- package/dist/node-esm/test/util/settings.d.ts +4 -2
- package/dist/src/index.d.ts +2 -1
- package/dist/test/util/settings.d.ts +4 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @firebase/firestore-compat
|
|
2
2
|
|
|
3
|
+
## 0.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`36558bd2e`](https://github.com/firebase/firebase-js-sdk/commit/36558bd2e68e1ba3fb31d85ef997ab9ddf692d50) [#7024](https://github.com/firebase/firebase-js-sdk/pull/7024) - Relaxing query validation performed by the SDK
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`36558bd2e`](https://github.com/firebase/firebase-js-sdk/commit/36558bd2e68e1ba3fb31d85ef997ab9ddf692d50), [`b5f86b1a3`](https://github.com/firebase/firebase-js-sdk/commit/b5f86b1a305b3067fed12b024938f0c3f47de2ef), [`c59f537b1`](https://github.com/firebase/firebase-js-sdk/commit/c59f537b1262b5d7997291b8c1e9324d378effb6), [`67c5a0dc5`](https://github.com/firebase/firebase-js-sdk/commit/67c5a0dc55237391afceb956280cb04cfeaac66f), [`b30186ffc`](https://github.com/firebase/firebase-js-sdk/commit/b30186ffc15cd441521c8f43d3f9a7a4e9ce8820)]:
|
|
10
|
+
- @firebase/firestore@3.8.4
|
|
11
|
+
- @firebase/util@1.9.3
|
|
12
|
+
- @firebase/component@0.6.4
|
|
13
|
+
|
|
3
14
|
## 0.3.3
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/dist/index.cjs.js
CHANGED
|
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
|
|
13
13
|
|
|
14
14
|
const name = "@firebase/firestore-compat";
|
|
15
|
-
const version = "0.3.
|
|
15
|
+
const version = "0.3.4-canary.2e22d5bb6";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @license
|
package/dist/index.esm2017.js
CHANGED
package/dist/index.esm5.js
CHANGED
package/dist/index.node.cjs.js
CHANGED
|
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
|
|
13
13
|
|
|
14
14
|
const name = "@firebase/firestore-compat";
|
|
15
|
-
const version = "0.3.
|
|
15
|
+
const version = "0.3.4-canary.2e22d5bb6";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @license
|
package/dist/index.rn.js
CHANGED
|
@@ -14,8 +14,10 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import * as firestore from '@firebase/firestore-types';
|
|
18
17
|
export declare const USE_EMULATOR: boolean;
|
|
19
|
-
export declare const DEFAULT_SETTINGS:
|
|
18
|
+
export declare const DEFAULT_SETTINGS: {
|
|
19
|
+
host: string;
|
|
20
|
+
ssl: boolean;
|
|
21
|
+
};
|
|
20
22
|
export declare const DEFAULT_PROJECT_ID: any;
|
|
21
23
|
export declare const ALT_PROJECT_ID = "test-db2";
|
package/dist/src/index.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ declare module '@firebase/app-compat' {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
|
|
52
|
-
import { type WithFieldValue, type DocumentReference, type CollectionReference, type DocumentData, type Query, type EmulatorMockTokenOptions, type PersistenceSettings, type AggregateQuerySnapshot, type AggregateField, type DocumentSnapshot, type QuerySnapshot, type Firestore, type FirestoreSettings, type LoadBundleTask, type FirestoreError, type Unsubscribe, type SnapshotListenOptions, type QueryConstraint, type Transaction, type TransactionOptions, type PartialWithFieldValue, type SetOptions, type IndexConfiguration, type UpdateData, type FieldPath, type WriteBatch } from "@firebase/firestore";
|
|
52
|
+
import { type WithFieldValue, type DocumentReference, type CollectionReference, type DocumentData, type Query, type EmulatorMockTokenOptions, type PersistenceSettings, type AggregateQuerySnapshot, type AggregateField, type DocumentSnapshot, type QuerySnapshot, type Firestore, type FirestoreSettings, type LoadBundleTask, type FirestoreError, type Unsubscribe, type SnapshotListenOptions, type QueryCompositeFilterConstraint, type QueryNonFilterConstraint, type QueryConstraint, type Transaction, type TransactionOptions, type PartialWithFieldValue, type SetOptions, type IndexConfiguration, type UpdateData, type FieldPath, type WriteBatch } from "@firebase/firestore";
|
|
53
53
|
declare module "@firebase/firestore" {
|
|
54
54
|
function addDoc<T>(reference: types.CollectionReference<T>, data: WithFieldValue<T>): Promise<DocumentReference<T>>;
|
|
55
55
|
function clearIndexedDbPersistence(firestore: types.FirebaseFirestore): Promise<void>;
|
|
@@ -111,6 +111,7 @@ declare module "@firebase/firestore" {
|
|
|
111
111
|
complete?: () => void;
|
|
112
112
|
}): Unsubscribe;
|
|
113
113
|
function onSnapshotsInSync(firestore: types.FirebaseFirestore, onSync: () => void): Unsubscribe;
|
|
114
|
+
function query<T>(query: types.Query<T>, compositeFilter: QueryCompositeFilterConstraint, ...queryConstraints: QueryNonFilterConstraint[]): Query<T>;
|
|
114
115
|
function query<T>(query: types.Query<T>, ...queryConstraints: QueryConstraint[]): Query<T>;
|
|
115
116
|
function queryEqual<T>(left: types.Query<T>, right: types.Query<T>): boolean;
|
|
116
117
|
function runTransaction<T>(firestore: types.FirebaseFirestore, updateFunction: (transaction: Transaction) => Promise<T>, options?: TransactionOptions): Promise<T>;
|
|
@@ -14,8 +14,10 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import * as firestore from '@firebase/firestore-types';
|
|
18
17
|
export declare const USE_EMULATOR: boolean;
|
|
19
|
-
export declare const DEFAULT_SETTINGS:
|
|
18
|
+
export declare const DEFAULT_SETTINGS: {
|
|
19
|
+
host: string;
|
|
20
|
+
ssl: boolean;
|
|
21
|
+
};
|
|
20
22
|
export declare const DEFAULT_PROJECT_ID: any;
|
|
21
23
|
export declare const ALT_PROJECT_ID = "test-db2";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore-compat",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4-canary.2e22d5bb6",
|
|
4
4
|
"description": "The Cloud Firestore component of the Firebase JS SDK.",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.node.cjs.js",
|
|
@@ -44,17 +44,17 @@
|
|
|
44
44
|
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../firestore/dist/index.d.ts -o dist/src/index.d.ts -a -r Firestore:types.FirebaseFirestore -r CollectionReference:types.CollectionReference -r DocumentReference:types.DocumentReference -r Query:types.Query -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/firestore"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@firebase/app-compat": "0.
|
|
47
|
+
"@firebase/app-compat": "0.2.4-canary.2e22d5bb6"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@firebase/component": "0.6.
|
|
51
|
-
"@firebase/firestore": "3.8.
|
|
52
|
-
"@firebase/util": "1.9.
|
|
53
|
-
"@firebase/firestore-types": "2.5.1",
|
|
50
|
+
"@firebase/component": "0.6.4-canary.2e22d5bb6",
|
|
51
|
+
"@firebase/firestore": "3.8.4-canary.2e22d5bb6",
|
|
52
|
+
"@firebase/util": "1.9.3-canary.2e22d5bb6",
|
|
53
|
+
"@firebase/firestore-types": "2.5.1-canary.2e22d5bb6",
|
|
54
54
|
"tslib": "^2.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@firebase/app-compat": "0.2.
|
|
57
|
+
"@firebase/app-compat": "0.2.4-canary.2e22d5bb6",
|
|
58
58
|
"@types/eslint": "7.29.0",
|
|
59
59
|
"rollup": "2.79.1",
|
|
60
60
|
"rollup-plugin-sourcemaps": "0.6.3",
|