@entropic-bond/firebase 1.13.2 → 1.13.3

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 (41) hide show
  1. package/README.md +0 -0
  2. package/lib/auth/firebase-auth.d.ts +20 -0
  3. package/lib/auth/firebase-auth.spec.d.ts +1 -0
  4. package/lib/cloud-functions/firebase-cloud-functions.d.ts +7 -0
  5. package/lib/cloud-functions/firebase-cloud-functions.spec.d.ts +6 -0
  6. package/lib/cloud-storage/firebase-cloud-storage.d.ts +10 -0
  7. package/lib/cloud-storage/firebase-cloud-storage.spec.d.ts +1 -0
  8. package/lib/entropic-bond-firebase.js +23777 -0
  9. package/lib/entropic-bond-firebase.umd.cjs +3677 -0
  10. package/lib/firebase-helper.d.ts +38 -0
  11. package/lib/index.d.ts +5 -0
  12. package/lib/mocks/test-user.d.ts +49 -0
  13. package/lib/store/firebase-datasource.d.ts +19 -0
  14. package/lib/store/firebase-datasource.spec.d.ts +1 -0
  15. package/package.json +4 -1
  16. package/.firebaserc +0 -5
  17. package/.github/workflows/release.yml +0 -27
  18. package/CHANGELOG.md +0 -338
  19. package/firebase.json +0 -30
  20. package/firestore.indexes.json +0 -4
  21. package/firestore.rules +0 -8
  22. package/functions/package-lock.json +0 -2344
  23. package/functions/package.json +0 -26
  24. package/functions/src/index.ts +0 -33
  25. package/functions/tsconfig.json +0 -19
  26. package/src/auth/firebase-auth.spec.ts +0 -90
  27. package/src/auth/firebase-auth.ts +0 -212
  28. package/src/cloud-functions/firebase-cloud-functions.spec.ts +0 -47
  29. package/src/cloud-functions/firebase-cloud-functions.ts +0 -25
  30. package/src/cloud-storage/firebase-cloud-storage.spec.ts +0 -135
  31. package/src/cloud-storage/firebase-cloud-storage.ts +0 -67
  32. package/src/firebase-helper.ts +0 -92
  33. package/src/index.ts +0 -5
  34. package/src/mocks/mock-data.json +0 -148
  35. package/src/mocks/test-user.ts +0 -121
  36. package/src/store/firebase-datasource.spec.ts +0 -555
  37. package/src/store/firebase-datasource.ts +0 -146
  38. package/storage.rules +0 -8
  39. package/tsconfig-build.json +0 -7
  40. package/tsconfig.json +0 -30
  41. package/vite.config.ts +0 -23
@@ -0,0 +1,38 @@
1
+ import { CollectionReference, DocumentData, Query } from 'firebase/firestore';
2
+ export type FirebaseQuery = CollectionReference<DocumentData> | Query<DocumentData>;
3
+ export interface FirebaseConfig {
4
+ apiKey?: string;
5
+ authDomain?: string;
6
+ projectId: string;
7
+ databaseURL?: string;
8
+ storageBucket?: string;
9
+ messagingSenderId?: string;
10
+ appId?: string;
11
+ measurementId?: string;
12
+ }
13
+ export interface EmulatorConfig {
14
+ host: string;
15
+ firestorePort: number;
16
+ storagePort: number;
17
+ authPort: number;
18
+ functionsPort: number;
19
+ emulate: boolean;
20
+ }
21
+ export declare class FirebaseHelper {
22
+ static setFirebaseConfig(config: FirebaseConfig): void;
23
+ private static defaultEmulatorConfig;
24
+ static useEmulator(emulatorConfig?: Partial<EmulatorConfig>): void;
25
+ static get emulator(): EmulatorConfig;
26
+ private constructor();
27
+ 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;
32
+ static setRegion(region: string): void;
33
+ private static _instance;
34
+ private static _firebaseConfig;
35
+ private static _emulatorConfig;
36
+ private static _region;
37
+ private _firebaseApp;
38
+ }
package/lib/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ export * from './store/firebase-datasource';
2
+ export * from './firebase-helper';
3
+ export * from './cloud-storage/firebase-cloud-storage';
4
+ export * from './auth/firebase-auth';
5
+ export * from './cloud-functions/firebase-cloud-functions';
@@ -0,0 +1,49 @@
1
+ import { Persistent } from 'entropic-bond';
2
+ interface Name {
3
+ firstName: string;
4
+ lastName: string;
5
+ ancestorName?: {
6
+ father?: string;
7
+ mother?: string;
8
+ };
9
+ }
10
+ export declare class SubClass extends Persistent {
11
+ set year(value: number | undefined);
12
+ get year(): number | undefined;
13
+ private _year;
14
+ }
15
+ export declare class TestUser extends Persistent {
16
+ set name(value: Name | undefined);
17
+ get name(): Name | undefined;
18
+ set age(value: number | undefined);
19
+ get age(): number | undefined;
20
+ set admin(value: boolean | undefined);
21
+ get admin(): boolean | undefined;
22
+ set skills(value: string[] | undefined);
23
+ get skills(): string[] | undefined;
24
+ set documentRef(value: SubClass | undefined);
25
+ get documentRef(): SubClass | undefined;
26
+ set manyRefs(value: SubClass[]);
27
+ get manyRefs(): SubClass[];
28
+ set derived(value: DerivedUser | undefined);
29
+ get derived(): DerivedUser | undefined;
30
+ set manyDerived(value: DerivedUser[] | undefined);
31
+ get manyDerived(): DerivedUser[] | undefined;
32
+ set colleagues(value: TestUser[]);
33
+ get colleagues(): TestUser[];
34
+ private _colleagues;
35
+ private _name;
36
+ private _age;
37
+ private _admin;
38
+ private _skills;
39
+ private _documentRef;
40
+ private _manyRefs;
41
+ private _derived;
42
+ private _manyDerived;
43
+ }
44
+ export declare class DerivedUser extends TestUser {
45
+ set salary(value: number | undefined);
46
+ get salary(): number | undefined;
47
+ private _salary;
48
+ }
49
+ export {};
@@ -0,0 +1,19 @@
1
+ import { WhereFilterOp } from 'firebase/firestore';
2
+ import { Collections, DataSource, DocumentObject, QueryObject, QueryOperator } from 'entropic-bond';
3
+ import { EmulatorConfig } from '../firebase-helper';
4
+ export declare class FirebaseDatasource extends DataSource {
5
+ constructor(emulator?: EmulatorConfig);
6
+ findById(id: string, collectionName: string): Promise<DocumentObject>;
7
+ save(collections: Collections): Promise<void>;
8
+ find(queryObject: QueryObject<DocumentObject>, collectionName: string): Promise<DocumentObject[]>;
9
+ count(queryObject: QueryObject<DocumentObject>, collectionName: string): Promise<number>;
10
+ delete(id: string, collectionName: string): Promise<void>;
11
+ next(maxDocs?: number): Promise<DocumentObject[]>;
12
+ private queryObjectToQueryConstraints;
13
+ toFirebaseOperator(operator: QueryOperator): WhereFilterOp;
14
+ private getFromQuery;
15
+ private _lastDocRetrieved;
16
+ private _lastConstraints;
17
+ private _lastLimit;
18
+ private _lastCollectionName;
19
+ }
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@entropic-bond/firebase",
3
3
  "type": "module",
4
- "version": "1.13.2",
4
+ "version": "1.13.3",
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",
@@ -12,6 +12,9 @@
12
12
  "types": "./lib/index.d.ts"
13
13
  }
14
14
  },
15
+ "files": [
16
+ "lib"
17
+ ],
15
18
  "publishConfig": {
16
19
  "access": "public",
17
20
  "branches": [
package/.firebaserc DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "projects": {
3
- "default": "demo-test"
4
- }
5
- }
@@ -1,27 +0,0 @@
1
- name: Entropic Bond for Firebase Release
2
-
3
- on:
4
- push:
5
- branches:
6
- - "master"
7
-
8
- jobs:
9
- build:
10
- runs-on: ubuntu-latest
11
-
12
- steps:
13
- - uses: actions/checkout@v3
14
- with:
15
- persist-credentials: false
16
-
17
- - uses: actions/setup-node@v3
18
- with:
19
- node-version: "20.x"
20
- - run: npm ci
21
- - run: npm install -g firebase-tools
22
- - run: npm test
23
- - run: npm run build
24
- - run: npx semantic-release
25
- env:
26
- GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
27
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/CHANGELOG.md DELETED
@@ -1,338 +0,0 @@
1
- ## [1.13.1](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.13.0...v1.13.1) (2024-02-08)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * import filename ([5aa22ce](https://github.com/entropic-bond/entropic-bond-firebase/commit/5aa22ce991c4645569468fc57e1b07af1000c04e))
7
-
8
- # [1.13.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.12.1...v1.13.0) (2024-02-08)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * types entry ([598e2a3](https://github.com/entropic-bond/entropic-bond-firebase/commit/598e2a311aff85caa679523a3b76036b460de48e))
14
-
15
-
16
- ### Features
17
-
18
- * esm and cjs ([d8d6647](https://github.com/entropic-bond/entropic-bond-firebase/commit/d8d66478dbfcd9e2d15e9def2e6265b5b5249e8e))
19
-
20
- ## [1.12.1](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.12.0...v1.12.1) (2024-02-06)
21
-
22
-
23
- ### Bug Fixes
24
-
25
- * esm ([588b99f](https://github.com/entropic-bond/entropic-bond-firebase/commit/588b99f5e7bc7c00715d377dc0e187af5321f61f))
26
-
27
- # [1.12.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.11.1...v1.12.0) (2024-02-03)
28
-
29
-
30
- ### Features
31
-
32
- * refresh token ([317cd2c](https://github.com/entropic-bond/entropic-bond-firebase/commit/317cd2cc27aeb5dda3232c5571cd53586922420a))
33
- * refresh token _ ([5f9f463](https://github.com/entropic-bond/entropic-bond-firebase/commit/5f9f463286e7988b0f6ead2baf04c219e1afad02))
34
-
35
- ## [1.11.1](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.11.0...v1.11.1) (2023-06-26)
36
-
37
-
38
- ### Bug Fixes
39
-
40
- * contains operator ([8dd3e4b](https://github.com/entropic-bond/entropic-bond-firebase/commit/8dd3e4b38542e6767bd41bc7ca543e5cf94f1b72))
41
-
42
- # [1.11.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.10.0...v1.11.0) (2023-06-23)
43
-
44
-
45
- ### Features
46
-
47
- * containsAny ([56afd92](https://github.com/entropic-bond/entropic-bond-firebase/commit/56afd92d984341a7e4fee0eca02c5c9a1c6df02e))
48
-
49
- # [1.10.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.9.2...v1.10.0) (2023-06-21)
50
-
51
-
52
- ### Features
53
-
54
- * or queries ([be8c94b](https://github.com/entropic-bond/entropic-bond-firebase/commit/be8c94b31f87133310b15c549b654a24dc924fa5))
55
-
56
- ## [1.9.2](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.9.1...v1.9.2) (2023-05-28)
57
-
58
-
59
- ### Bug Fixes
60
-
61
- * add password to resendVerificationEmail ([5d837b7](https://github.com/entropic-bond/entropic-bond-firebase/commit/5d837b7cd4ac05e73d0e0b4fef511267553dc628))
62
-
63
- ## [1.9.1](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.9.0...v1.9.1) (2023-05-25)
64
-
65
-
66
- ### Bug Fixes
67
-
68
- * typo ([7df4f93](https://github.com/entropic-bond/entropic-bond-firebase/commit/7df4f93e7abb1f9aff6e6026c3635ca8dcde66b9))
69
-
70
- # [1.9.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.8.2...v1.9.0) (2023-05-25)
71
-
72
-
73
- ### Features
74
-
75
- * implement resendVerificationLink ([c32538d](https://github.com/entropic-bond/entropic-bond-firebase/commit/c32538d65ec09a027bb9694d17440d4d9e83419a))
76
-
77
- ## [1.8.2](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.8.1...v1.8.2) (2023-04-10)
78
-
79
-
80
- ### Bug Fixes
81
-
82
- * auth is always emulating ([4371135](https://github.com/entropic-bond/entropic-bond-firebase/commit/43711359df8e916727cf6491743f20ea7fc6bb40))
83
-
84
- ## [1.8.1](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.8.0...v1.8.1) (2023-04-09)
85
-
86
-
87
- ### Bug Fixes
88
-
89
- * remove node-fetch ([8ce4007](https://github.com/entropic-bond/entropic-bond-firebase/commit/8ce4007738b38f00fe74c5376b766a83d18ef5bd))
90
-
91
-
92
- ### Reverts
93
-
94
- * Revert "chore(release): 1.8.0 [skip ci]" ([40f02b7](https://github.com/entropic-bond/entropic-bond-firebase/commit/40f02b7752f7818e487098174fd57842429f8c8e))
95
-
96
- ## [1.7.9](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.7.8...v1.7.9) (2022-11-14)
97
-
98
-
99
- ### Bug Fixes
100
-
101
- * missing password error message code ([3335b5b](https://github.com/entropic-bond/entropic-bond-firebase/commit/3335b5bf1216eb741f9292c2f8585a84380a5364))
102
-
103
- ## [1.7.8](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.7.7...v1.7.8) (2022-10-17)
104
-
105
-
106
- ### Bug Fixes
107
-
108
- * update entropic-bond version ([1fd014a](https://github.com/entropic-bond/entropic-bond-firebase/commit/1fd014abb8341f0a426709d4201d0f6f99110ca5))
109
-
110
- ## [1.7.7](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.7.6...v1.7.7) (2022-10-16)
111
-
112
-
113
- ### Bug Fixes
114
-
115
- * npm-upgrade ([12f0aa3](https://github.com/entropic-bond/entropic-bond-firebase/commit/12f0aa3fe19e20b8fba7ca13b247e4694d7a62fa))
116
-
117
- ## [1.7.6](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.7.5...v1.7.6) (2022-10-15)
118
-
119
-
120
- ### Bug Fixes
121
-
122
- * retrieveFunction and callFunction ([22bb6bc](https://github.com/entropic-bond/entropic-bond-firebase/commit/22bb6bc3f5d7d78afcbe5b94c634109c37d2283f))
123
-
124
- ## [1.7.5](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.7.4...v1.7.5) (2022-10-12)
125
-
126
-
127
- ### Bug Fixes
128
-
129
- * missing generic for custom claims ([f8ae047](https://github.com/entropic-bond/entropic-bond-firebase/commit/f8ae0472f972b9f8db84a2c4101432da92233fc2))
130
-
131
- ## [1.7.4](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.7.3...v1.7.4) (2022-10-12)
132
-
133
-
134
- ### Bug Fixes
135
-
136
- * implement generic custom claims ([90267ac](https://github.com/entropic-bond/entropic-bond-firebase/commit/90267ac882f939c0170aa5d09caab0a09822ff0b))
137
-
138
- ## [1.7.3](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.7.2...v1.7.3) (2022-10-05)
139
-
140
-
141
- ### Bug Fixes
142
-
143
- * change parameter order in FirebaseCloudFunctions constructor ([c857a99](https://github.com/entropic-bond/entropic-bond-firebase/commit/c857a99847cee156aac3e855e5cd0cfd99a23c9d))
144
-
145
- ## [1.7.2](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.7.1...v1.7.2) (2022-08-22)
146
-
147
-
148
- ### Bug Fixes
149
-
150
- * only build functions on test ([4985cb0](https://github.com/entropic-bond/entropic-bond-firebase/commit/4985cb0c7891acc1c244875bf85a9011c65d4ab1))
151
-
152
- ## [1.7.1](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.7.0...v1.7.1) (2022-08-22)
153
-
154
-
155
- ### Bug Fixes
156
-
157
- * export cloud functions ([4f72d86](https://github.com/entropic-bond/entropic-bond-firebase/commit/4f72d865a90451b3547b98f0fbb1a299d3c788cb))
158
-
159
- # [1.7.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.6.4...v1.7.0) (2022-08-22)
160
-
161
-
162
- ### Bug Fixes
163
-
164
- * testing cloud functions in deployment fails ([1fc6693](https://github.com/entropic-bond/entropic-bond-firebase/commit/1fc669324c327023b5e2c2d0866c154bf17d87bb))
165
-
166
-
167
- ### Features
168
-
169
- * cloud functions ([2b06883](https://github.com/entropic-bond/entropic-bond-firebase/commit/2b068836d3cfb6c54d83889a3fb4e68d3954c1f3))
170
-
171
- ## [1.6.4](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.6.3...v1.6.4) (2022-06-25)
172
-
173
-
174
- ### Bug Fixes
175
-
176
- * resetEmailPassword promise not failing ([0584747](https://github.com/entropic-bond/entropic-bond-firebase/commit/058474729251866580d6b2c03be4ce73056fdd95))
177
-
178
- ## [1.6.3](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.6.2...v1.6.3) (2022-06-25)
179
-
180
-
181
- ### Bug Fixes
182
-
183
- * error messages for reset email password ([f3318c3](https://github.com/entropic-bond/entropic-bond-firebase/commit/f3318c38a3964965a595d979b6f08f06f50c2732))
184
-
185
- ## [1.6.2](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.6.1...v1.6.2) (2022-06-12)
186
-
187
-
188
- ### Bug Fixes
189
-
190
- * subCollection ([f12d784](https://github.com/entropic-bond/entropic-bond-firebase/commit/f12d784c5248bba266350cdc2e86b0f41c7d5501))
191
-
192
- ## [1.6.1](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.6.0...v1.6.1) (2022-05-28)
193
-
194
-
195
- ### Bug Fixes
196
-
197
- * upgrade ts@4.7 and jest@28 ([5ac87df](https://github.com/entropic-bond/entropic-bond-firebase/commit/5ac87df4d759e005b39074256147d42f034fc35d))
198
-
199
- # [1.6.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.5.5...v1.6.0) (2022-04-08)
200
-
201
-
202
- ### Features
203
-
204
- * reset password ([efbb623](https://github.com/entropic-bond/entropic-bond-firebase/commit/efbb623cc359d675faae21f9e936eb87b8499018))
205
-
206
- ## [1.5.5](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.5.4...v1.5.5) (2022-03-01)
207
-
208
-
209
- ### Bug Fixes
210
-
211
- * introduce measurementId in FirebaseConfig ([98e8023](https://github.com/entropic-bond/entropic-bond-firebase/commit/98e8023afdccb7ca3b9d55db1189d67d7e32deab))
212
-
213
- ## [1.5.4](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.5.3...v1.5.4) (2022-01-14)
214
-
215
-
216
- ### Bug Fixes
217
-
218
- * npm update ([243e0f9](https://github.com/entropic-bond/entropic-bond-firebase/commit/243e0f97c0c8acb25a474c58e1c4e7d1c0beb213))
219
- * remove utils ([4fba5a4](https://github.com/entropic-bond/entropic-bond-firebase/commit/4fba5a401263f62e7fd9a147fcc491ae1fbb4732))
220
- * update node for CI ([00158d6](https://github.com/entropic-bond/entropic-bond-firebase/commit/00158d60941a4393a8ee1373548e7e42ff6d9289))
221
-
222
- ## [1.5.3](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.5.2...v1.5.3) (2021-09-16)
223
-
224
-
225
- ### Bug Fixes
226
-
227
- * providerId ([556abb3](https://github.com/entropic-bond/entropic-bond-firebase/commit/556abb31f3d26f2c015338d6624f35aaa3502c91))
228
-
229
- ## [1.5.2](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.5.1...v1.5.2) (2021-09-16)
230
-
231
-
232
- ### Bug Fixes
233
-
234
- * unlinkProvider ([b4b52c8](https://github.com/entropic-bond/entropic-bond-firebase/commit/b4b52c8af4c0fe32301f0c7109e99872330e95d8))
235
-
236
- ## [1.5.1](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.5.0...v1.5.1) (2021-09-14)
237
-
238
-
239
- ### Bug Fixes
240
-
241
- * type ([36ed663](https://github.com/entropic-bond/entropic-bond-firebase/commit/36ed66356d89412a1d35cb60622c8b5a7c9fc0ab))
242
-
243
- # [1.5.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.4.1...v1.5.0) (2021-09-10)
244
-
245
-
246
- ### Features
247
-
248
- * twitter signup ([74069f2](https://github.com/entropic-bond/entropic-bond-firebase/commit/74069f256712426a4e32fdf843d5f3db505904e0))
249
-
250
- ## [1.4.1](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.4.0...v1.4.1) (2021-09-02)
251
-
252
-
253
- ### Bug Fixes
254
-
255
- * bug in emulate ([f35c236](https://github.com/entropic-bond/entropic-bond-firebase/commit/f35c23645926e621918b44639d0c935e32122a6b))
256
-
257
- # [1.4.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.3.0...v1.4.0) (2021-08-30)
258
-
259
-
260
- ### Bug Fixes
261
-
262
- * npm update ([090a43e](https://github.com/entropic-bond/entropic-bond-firebase/commit/090a43e1186cba7a343efc11363c7571ec27ee6c))
263
- * update entropic-bond v1.13.0 ([31ab248](https://github.com/entropic-bond/entropic-bond-firebase/commit/31ab2483f47ba85dd0c880b026a9ec68151fd74b))
264
-
265
-
266
- ### Features
267
-
268
- * upgrade to firebase 9 ([cd559de](https://github.com/entropic-bond/entropic-bond-firebase/commit/cd559de46bb2d8b96161bed92fec591800a1ca26))
269
-
270
- # [1.3.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.2.2...v1.3.0) (2021-07-31)
271
-
272
-
273
- ### Features
274
-
275
- * scoped to npm entropic-bond organization ([a90bcd5](https://github.com/entropic-bond/entropic-bond-firebase/commit/a90bcd52bc352c034b108a2b5d1f8474c82ae326))
276
-
277
- ## [1.2.2](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.2.1...v1.2.2) (2021-07-23)
278
-
279
-
280
- ### Bug Fixes
281
-
282
- * downgrade ES5 ([25d207d](https://github.com/entropic-bond/entropic-bond-firebase/commit/25d207dba55e2b0ee38b72d6fb05ee3350bdf3b4))
283
- * npm upgrade to do ES5 downgrade ([91919d9](https://github.com/entropic-bond/entropic-bond-firebase/commit/91919d911a36463102ef0f98f87d996e49b501c4))
284
-
285
- ## [1.2.1](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.2.0...v1.2.1) (2021-07-22)
286
-
287
-
288
- ### Bug Fixes
289
-
290
- * auth errors ([182f1b6](https://github.com/entropic-bond/entropic-bond-firebase/commit/182f1b616ffca722765675dceeb2f1d895ad82dc))
291
-
292
- # [1.2.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.1.2...v1.2.0) (2021-07-22)
293
-
294
-
295
- ### Bug Fixes
296
-
297
- * empty test not passing ([1f72d85](https://github.com/entropic-bond/entropic-bond-firebase/commit/1f72d85cded5b1ab7bf48918ba4ef0d3473cc937))
298
-
299
-
300
- ### Features
301
-
302
- * auth ([aebcdaa](https://github.com/entropic-bond/entropic-bond-firebase/commit/aebcdaa725a103b6b6b7f52be44ee10d35ae5e3c))
303
- * new reference format ([b681087](https://github.com/entropic-bond/entropic-bond-firebase/commit/b681087862d9ea3aaf759df42603f932f3c4a1d1))
304
- * save in batch ([9c28657](https://github.com/entropic-bond/entropic-bond-firebase/commit/9c28657392ee6a73b642a894475da32221a05cea))
305
-
306
- ## [1.1.2](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.1.1...v1.1.2) (2021-06-23)
307
-
308
-
309
- ### Bug Fixes
310
-
311
- * problem with package-lock ([959f7c4](https://github.com/entropic-bond/entropic-bond-firebase/commit/959f7c45cd0c219216a17c2e92329d440f29c766))
312
-
313
- ## [1.1.1](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.1.0...v1.1.1) (2021-06-21)
314
-
315
-
316
- ### Bug Fixes
317
-
318
- * forceExit ([034cdd3](https://github.com/entropic-bond/entropic-bond-firebase/commit/034cdd36bf94c35bb9827ce2660d036c80f8990c))
319
- * QueryObject refactor ([21de1e3](https://github.com/entropic-bond/entropic-bond-firebase/commit/21de1e3f939887c4b2f4e7ff49a5a5c842b3b356))
320
-
321
- # [1.1.0](https://github.com/entropic-bond/entropic-bond-firebase/compare/v1.0.0...v1.1.0) (2021-06-02)
322
-
323
-
324
- ### Features
325
-
326
- * cloud storage ([582c8ae](https://github.com/entropic-bond/entropic-bond-firebase/commit/582c8aedf74b6bc976d78c6d4875ef145c0d0e2b))
327
-
328
- # 1.0.0 (2021-05-28)
329
-
330
-
331
- ### Bug Fixes
332
-
333
- * npm test autolaunches emulators ([24a4d7f](https://github.com/entropic-bond/entropic-bond-firebase/commit/24a4d7f17dfa818476e0966127c408d23b27a79b))
334
-
335
-
336
- ### Features
337
-
338
- * emulators for testing ([67cf56a](https://github.com/entropic-bond/entropic-bond-firebase/commit/67cf56aff498e71516838b5da0f09f0fab5c786e))
package/firebase.json DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "emulators": {
3
- "auth": {
4
- "port": 9099
5
- },
6
- "firestore": {
7
- "port": 9080
8
- },
9
- "storage": {
10
- "port": 9199
11
- },
12
- "pubsub": {
13
- "port": 8085
14
- },
15
- "ui": {
16
- "enabled": true
17
- }
18
- },
19
- "firestore": {
20
- "rules": "firestore.rules",
21
- "indexes": "firestore.indexes.json"
22
- },
23
- "functions": {
24
- "predeploy": "npm --prefix \"$RESOURCE_DIR\" run install-build",
25
- "source": "functions"
26
- },
27
- "storage": {
28
- "rules": "storage.rules"
29
- }
30
- }
@@ -1,4 +0,0 @@
1
- {
2
- "indexes": [],
3
- "fieldOverrides": []
4
- }
package/firestore.rules DELETED
@@ -1,8 +0,0 @@
1
- rules_version = '2';
2
- service cloud.firestore {
3
- match /databases/{database}/documents {
4
- match /{document=**} {
5
- allow read, write
6
- }
7
- }
8
- }