Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 1982cc4

Browse files
lint
1 parent e2da843 commit 1982cc4

File tree

4 files changed

+18
-14
lines changed

4 files changed

+18
-14
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
- [Firebase iOS SDK Changelog](https://firebase.google.com/support/release-notes/ios)
44
- [Firebase Android SDK Changelog](https://firebase.google.com/support/release-notes/android)
55

6+
## 9.0.2 (2019, July 9)
7+
[Fixes & Enhancements](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/milestone/106?closed=1)
8+
9+
610
## 9.0.1 (2019, June 18)
711
[Fixes & Enhancements](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/milestone/105?closed=1)
812

src/firebase.android.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,17 +1986,17 @@ class FirestoreWriteBatch implements firestore.WriteBatch {
19861986
this.nativeWriteBatch.set(documentRef.android, firebase.toValue(data));
19871987
}
19881988
return this;
1989-
};
1989+
}
19901990

19911991
public update = (documentRef: firestore.DocumentReference, data: firestore.UpdateData): firestore.WriteBatch => {
19921992
this.nativeWriteBatch.update(documentRef.android, firebase.toValue(data));
19931993
return this;
1994-
};
1994+
}
19951995

19961996
public delete = (documentRef: firestore.DocumentReference): firestore.WriteBatch => {
19971997
this.nativeWriteBatch.delete(documentRef.android);
19981998
return this;
1999-
};
1999+
}
20002000

20012001
public commit(): Promise<void> {
20022002
return new Promise<void>((resolve, reject) => {
@@ -2441,7 +2441,7 @@ firebase.firestore.getCollection = (collectionPath: string, options?: firestore.
24412441
let source = com.google.firebase.firestore.Source.DEFAULT;
24422442
if (options && options.source) {
24432443
if (options.source === "cache") {
2444-
source = com.google.firebase.firestore.Source.CACHE
2444+
source = com.google.firebase.firestore.Source.CACHE;
24452445
} else if (options.source === "server") {
24462446
source = com.google.firebase.firestore.Source.SERVER;
24472447
}
@@ -2488,7 +2488,7 @@ firebase.firestore.getDocument = (collectionPath: string, documentPath: string,
24882488
let source = com.google.firebase.firestore.Source.DEFAULT;
24892489
if (options && options.source) {
24902490
if (options.source === "cache") {
2491-
source = com.google.firebase.firestore.Source.CACHE
2491+
source = com.google.firebase.firestore.Source.CACHE;
24922492
} else if (options.source === "server") {
24932493
source = com.google.firebase.firestore.Source.SERVER;
24942494
}

src/firebase.ios.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1679,18 +1679,18 @@ firebase.firestore.WriteBatch = (nativeWriteBatch: FIRWriteBatch): firestore.Wri
16791679
fixSpecialFields(data);
16801680
nativeWriteBatch.setDataForDocumentMerge(<any>data, documentRef.ios, options && options.merge);
16811681
return this;
1682-
};
1682+
}
16831683

16841684
public update = (documentRef: firestore.DocumentReference, data: firestore.UpdateData): firestore.WriteBatch => {
16851685
fixSpecialFields(data);
16861686
nativeWriteBatch.updateDataForDocument(<any>data, documentRef.ios);
16871687
return this;
1688-
};
1688+
}
16891689

16901690
public delete = (documentRef: firestore.DocumentReference): firestore.WriteBatch => {
16911691
nativeWriteBatch.deleteDocument(documentRef.ios);
16921692
return this;
1693-
};
1693+
}
16941694

16951695
commit(): Promise<void> {
16961696
return new Promise<void>((resolve, reject) => {
@@ -1716,19 +1716,19 @@ firebase.firestore.Transaction = (nativeTransaction: FIRTransaction): firestore.
17161716
public get = (documentRef: firestore.DocumentReference): DocumentSnapshot => {
17171717
const docSnapshot: FIRDocumentSnapshot = nativeTransaction.getDocumentError(documentRef.ios);
17181718
return new DocumentSnapshot(docSnapshot);
1719-
};
1719+
}
17201720

17211721
public set = (documentRef: firestore.DocumentReference, data: firestore.DocumentData, options?: firestore.SetOptions): firestore.Transaction => {
17221722
fixSpecialFields(data);
17231723
nativeTransaction.setDataForDocumentMerge(<any>data, documentRef.ios, options && options.merge);
17241724
return this;
1725-
};
1725+
}
17261726

17271727
public update = (documentRef: firestore.DocumentReference, data: firestore.UpdateData): firestore.Transaction => {
17281728
fixSpecialFields(data);
17291729
nativeTransaction.updateDataForDocument(<any>data, documentRef.ios);
17301730
return this;
1731-
};
1731+
}
17321732

17331733
public delete = (documentRef: firestore.DocumentReference): firestore.Transaction => {
17341734
nativeTransaction.deleteDocument(documentRef.ios);
@@ -2117,7 +2117,7 @@ firebase.firestore.getCollection = (collectionPath: string, options?: firestore.
21172117
let source = FIRFirestoreSource.Default;
21182118
if (options && options.source) {
21192119
if (options.source === "cache") {
2120-
source = FIRFirestoreSource.Cache
2120+
source = FIRFirestoreSource.Cache;
21212121
} else if (options.source === "server") {
21222122
source = FIRFirestoreSource.Server;
21232123
}
@@ -2156,7 +2156,7 @@ firebase.firestore.getDocument = (collectionPath: string, documentPath: string,
21562156
let source = FIRFirestoreSource.Default;
21572157
if (options && options.source) {
21582158
if (options.source === "cache") {
2159-
source = FIRFirestoreSource.Cache
2159+
source = FIRFirestoreSource.Cache;
21602160
} else if (options.source === "server") {
21612161
source = FIRFirestoreSource.Server;
21622162
}

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-plugin-firebase",
3-
"version": "9.0.1",
3+
"version": "9.0.2",
44
"description": "Fire. Base. Firebase!",
55
"main": "firebase",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)