File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -153,8 +153,8 @@ radius.next(23);
153153import { get } from ' geofirex' ;
154154
155155async function getCars {
156- const query = geo .collection (' cities ' ).within (... )
157- const cities = await get (query )
156+ const query = geo .collection (' cars ' ).within (... )
157+ const cars = await get (query )
158158}
159159```
160160
Original file line number Diff line number Diff line change 11{
22 "name" : " geofirex" ,
3- "version" : " 0.0.2 " ,
3+ "version" : " 0.0.3 " ,
44 "description" : " Realtime Firestore GeoQueries with RxJS" ,
55 "main" : " dist/index.cjs.js" ,
66 "module" : " dist/index.esm.js" ,
3131 ],
3232 "author" : " Jeff Delaney" ,
3333 "license" : " ISC" ,
34- "dependencies" : {},
3534 "peerDependencies" : {
3635 "rxjs" : " ^6.2.1" ,
3736 "firebase" : " 5.2.0"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { GeoFirePoint } from './geohash';
66export class GeoFireClient {
77 constructor ( private app : firestore . FirebaseApp ) { }
88 /**
9- * Creates reference to a Firestre collection that can be used to make geo-queries and perform writes
9+ * Creates reference to a Firestore collection that can be used to make geo-queries and perform writes
1010 * If you pass a query, any subsequent geo-queries will be limited to this subset of documents
1111 * @param {string } path path to collection
1212 * @param {QueryFn } query? Firestore query id ref => ref.orderBy('foo').limit(5)
You can’t perform that action at this time.
0 commit comments