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

Commit a3b9ac7

Browse files
committed
Fixed linting problems and build of demo package
1 parent 2d9dc6d commit a3b9ac7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"firebase-functions": "^2.0.5",
13-
"nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-7.3.0.tgz",
13+
"nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-7.3.1.tgz",
1414
"nativescript-theme-core": "^1.0.4",
1515
"nativescript-unit-test-runner": "^0.3.4",
1616
"tns-core-modules": "^4.2.1"
@@ -37,4 +37,4 @@
3737
"build.plugin": "cd ../src && npm run build",
3838
"ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**' --exclude '**/typings/**'"
3939
}
40-
}
40+
}

src/firebase.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ firebase.init = arg => {
312312
const firebaseAuth = com.google.firebase.auth.FirebaseAuth.getInstance();
313313

314314
if (arg.onAuthStateChanged) {
315-
firebase.addAuthStateListener(arg.onAuthStateChanged)
315+
firebase.addAuthStateListener(arg.onAuthStateChanged);
316316
}
317317

318318
// Listen to auth state changes

src/firebase.ios.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,18 +1572,18 @@ firebase.firestore.WriteBatch = (nativeWriteBatch: FIRWriteBatch): firestore.Wri
15721572
fixSpecialFields(data);
15731573
nativeWriteBatch.setDataForDocumentMerge(<any>data, documentRef.ios, options && options.merge);
15741574
return this;
1575-
};
1575+
}
15761576

15771577
public update = (documentRef: firestore.DocumentReference, data: firestore.UpdateData): firestore.WriteBatch => {
15781578
fixSpecialFields(data);
15791579
nativeWriteBatch.updateDataForDocument(<any>data, documentRef.ios);
15801580
return this;
1581-
};
1581+
}
15821582

15831583
public delete = (documentRef: firestore.DocumentReference): firestore.WriteBatch => {
15841584
nativeWriteBatch.deleteDocument(documentRef.ios);
15851585
return this;
1586-
};
1586+
}
15871587

15881588
commit(): Promise<void> {
15891589
return new Promise<void>((resolve, reject) => {

0 commit comments

Comments
 (0)