@firebase/firestore-compat 0.3.3 → 0.3.4-canary.547348ba5

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 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.3";
15
+ const version = "0.3.4-canary.547348ba5";
16
16
 
17
17
  /**
18
18
  * @license
@@ -4,7 +4,7 @@ import { getModularInstance } from '@firebase/util';
4
4
  import { Component } from '@firebase/component';
5
5
 
6
6
  const name = "@firebase/firestore-compat";
7
- const version = "0.3.3";
7
+ const version = "0.3.4-canary.547348ba5";
8
8
 
9
9
  /**
10
10
  * @license
@@ -5,7 +5,7 @@ import { getModularInstance } from '@firebase/util';
5
5
  import { Component } from '@firebase/component';
6
6
 
7
7
  const name = "@firebase/firestore-compat";
8
- const version = "0.3.3";
8
+ const version = "0.3.4-canary.547348ba5";
9
9
 
10
10
  /**
11
11
  * @license
@@ -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.3";
15
+ const version = "0.3.4-canary.547348ba5";
16
16
 
17
17
  /**
18
18
  * @license
package/dist/index.rn.js CHANGED
@@ -4,7 +4,7 @@ import { getModularInstance } from '@firebase/util';
4
4
  import { Component } from '@firebase/component';
5
5
 
6
6
  const name = "@firebase/firestore-compat";
7
- const version = "0.3.3";
7
+ const version = "0.3.4-canary.547348ba5";
8
8
 
9
9
  /**
10
10
  * @license
@@ -4,7 +4,7 @@ import { getModularInstance } from '@firebase/util';
4
4
  import { Component } from '@firebase/component';
5
5
 
6
6
  const name = "@firebase/firestore-compat";
7
- const version = "0.3.3";
7
+ const version = "0.3.4-canary.547348ba5";
8
8
 
9
9
  /**
10
10
  * @license
@@ -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: firestore.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";
@@ -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: firestore.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",
3
+ "version": "0.3.4-canary.547348ba5",
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.x"
47
+ "@firebase/app-compat": "0.2.4-canary.547348ba5"
48
48
  },
49
49
  "dependencies": {
50
- "@firebase/component": "0.6.3",
51
- "@firebase/firestore": "3.8.3",
52
- "@firebase/util": "1.9.2",
53
- "@firebase/firestore-types": "2.5.1",
50
+ "@firebase/component": "0.6.4-canary.547348ba5",
51
+ "@firebase/firestore": "3.8.4-canary.547348ba5",
52
+ "@firebase/util": "1.9.3-canary.547348ba5",
53
+ "@firebase/firestore-types": "2.5.1-canary.547348ba5",
54
54
  "tslib": "^2.1.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@firebase/app-compat": "0.2.3",
57
+ "@firebase/app-compat": "0.2.4-canary.547348ba5",
58
58
  "@types/eslint": "7.29.0",
59
59
  "rollup": "2.79.1",
60
60
  "rollup-plugin-sourcemaps": "0.6.3",