Skip to content

Commit

Permalink
updated Firebase JS SDKs (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
suntrix authored Nov 23, 2021
1 parent a1b99ce commit 0ff3444
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion firebase-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-common": "1.4.3",
"firebase": "8.10.0",
"firebase": "9.4.1",
"kotlin": "1.5.31",
"kotlinx-coroutines-core": "1.5.2"
}
Expand Down
2 changes: 1 addition & 1 deletion firebase-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-app": "1.4.3",
"firebase": "8.10.0",
"firebase": "9.4.1",
"kotlin": "1.5.31",
"kotlinx-coroutines-core": "1.5.2"
}
Expand Down
2 changes: 1 addition & 1 deletion firebase-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ kotlin {

val jsMain by getting {
dependencies {
api(npm("firebase", "8.7.1"))
api(npm("firebase", "9.4.1"))
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion firebase-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-multiplatform-sdk",
"dependencies": {
"firebase": "8.10.0",
"firebase": "9.4.1",
"kotlin": "1.5.31",
"kotlinx-coroutines-core": "1.5.2",
"kotlinx-serialization-kotlinx-serialization-runtime": "1.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c) 2020 GitLive Ltd. Use of this source code is governed by the Apache 2.0 license.
*/

@file:JsModule("firebase/app")
@file:JsModule("firebase/compat/app")

package dev.gitlive.firebase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,24 @@ package dev.gitlive.firebase

import kotlin.js.Promise

@JsModule("firebase/functions")
@JsModule("firebase/compat/functions")
@JsName("default")
external object functions

@JsModule("firebase/auth")
@JsModule("firebase/compat/auth")
@JsName("default")
external object auth

@JsModule("firebase/database")
@JsModule("firebase/compat/database")
@JsName("default")
external object database

@JsModule("firebase/firestore")
@JsModule("firebase/compat/firestore")
@JsName("default")
external object firestore

@JsModule("firebase/remote-config")
@JsModule("firebase/compat/remote-config")
@JsName("default")
external object remoteConfig

typealias SnapshotCallback = (data: firebase.database.DataSnapshot, b: String?) -> Unit
Expand Down
2 changes: 1 addition & 1 deletion firebase-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-app": "1.4.3",
"firebase": "8.10.0",
"firebase": "9.4.1",
"kotlin": "1.5.31",
"kotlinx-coroutines-core": "1.5.2"
}
Expand Down
2 changes: 1 addition & 1 deletion firebase-database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-app": "1.4.3",
"firebase": "8.10.0",
"firebase": "9.4.1",
"kotlin": "1.5.31",
"kotlinx-coroutines-core": "1.5.2"
}
Expand Down
2 changes: 1 addition & 1 deletion firebase-firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-app": "1.4.3",
"firebase": "8.10.0",
"firebase": "9.4.1",
"kotlin": "1.5.31",
"kotlinx-coroutines-core": "1.5.2"
}
Expand Down
2 changes: 1 addition & 1 deletion firebase-functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
"dependencies": {
"@gitlive/firebase-app": "1.4.3",
"firebase": "8.10.0",
"firebase": "9.4.1",
"kotlin": "1.5.31",
"kotlinx-coroutines-core": "1.5.2"
}
Expand Down

0 comments on commit 0ff3444

Please sign in to comment.