Skip to content

updated Firebase JS SDKs #254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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