@entropic-bond/firebase 1.13.4 → 1.13.5

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.
@@ -1,4 +1,5 @@
1
1
  import { CollectionReference, DocumentData, Query } from 'firebase/firestore';
2
+
2
3
  export type FirebaseQuery = CollectionReference<DocumentData> | Query<DocumentData>;
3
4
  export interface FirebaseConfig {
4
5
  apiKey?: string;
@@ -25,10 +26,10 @@ export declare class FirebaseHelper {
25
26
  static get emulator(): EmulatorConfig;
26
27
  private constructor();
27
28
  static get instance(): FirebaseHelper;
28
- firestore(): import("@firebase/firestore").Firestore;
29
- storage(): import("@firebase/storage").FirebaseStorage;
30
- auth(): import("@firebase/auth").Auth;
31
- functions(): import("@firebase/functions").Functions;
29
+ firestore(): import('@firebase/firestore').Firestore;
30
+ storage(): import('@firebase/storage').FirebaseStorage;
31
+ auth(): import('@firebase/auth').Auth;
32
+ functions(): import('@firebase/functions').Functions;
32
33
  static setRegion(region: string): void;
33
34
  private static _instance;
34
35
  private static _firebaseConfig;
@@ -1,4 +1,5 @@
1
1
  import { Persistent } from 'entropic-bond';
2
+
2
3
  interface Name {
3
4
  firstName: string;
4
5
  lastName: string;
@@ -1,6 +1,7 @@
1
- import { WhereFilterOp } from 'firebase/firestore';
2
- import { Collections, DataSource, DocumentObject, QueryObject, QueryOperator } from 'entropic-bond';
3
1
  import { EmulatorConfig } from '../firebase-helper';
2
+ import { Collections, DataSource, DocumentObject, QueryObject, QueryOperator } from 'entropic-bond';
3
+ import { WhereFilterOp } from 'firebase/firestore';
4
+
4
5
  export declare class FirebaseDatasource extends DataSource {
5
6
  constructor(emulator?: EmulatorConfig);
6
7
  findById(id: string, collectionName: string): Promise<DocumentObject>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@entropic-bond/firebase",
3
3
  "type": "module",
4
- "version": "1.13.4",
4
+ "version": "1.13.5",
5
5
  "description": "Firebase plugins for Entropic Bond",
6
6
  "main": "./lib/entropic-bond-firebase.umd.cjs",
7
7
  "module": "./lib/entropic-bond-firebase.js",
@@ -57,15 +57,15 @@
57
57
  "@semantic-release/git": "^10.0.1",
58
58
  "@types/node": "^20.11.17",
59
59
  "git-branch-is": "^4.0.0",
60
- "husky": "^9.0.10",
61
- "semantic-release": "^23.0.2",
60
+ "husky": "^9.0.11",
61
+ "semantic-release": "^23.0.7",
62
62
  "typescript": "^5.3.3",
63
63
  "vite-plugin-dts": "^3.7.2",
64
64
  "vitest": "^1.2.2",
65
65
  "xhr2": "^0.2.1"
66
66
  },
67
67
  "dependencies": {
68
- "entropic-bond": "^1.50.4",
69
- "firebase": "^10.8.0"
68
+ "entropic-bond": "^1.50.5",
69
+ "firebase": "^10.6.0"
70
70
  }
71
71
  }