@fishjam-cloud/react-native-client 0.14.1 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -788,7 +788,8 @@ class RNFishjamClient: FishjamClientListener {
788
788
  }
789
789
 
790
790
  func onJoinError(metadata: Any) {
791
- connectPromise?.reject("E_MEMBRANE_CONNECT", "Failed to join room")
791
+ let reason = (metadata as? [String: Any])?["reason"] as? String ?? "Unknown error"
792
+ connectPromise?.reject("E_MEMBRANE_CONNECT", "Failed to join room, reason: \(reason)")
792
793
  connectPromise = nil
793
794
  }
794
795
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishjam-cloud/react-native-client",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "description": "A React Native client for Fishjam",
5
5
  "author": "Fishjam Team",
6
6
  "license": "Apache-2.0",
@@ -59,7 +59,7 @@
59
59
  "pod-install": "^0.3.4",
60
60
  "react-dom": "^18.3.1",
61
61
  "ts-proto": "^2.6.1",
62
- "typedoc": "^0.27.9",
62
+ "typedoc": "^0.28.1",
63
63
  "typedoc-plugin-mark-react-functional-components": "^0.2.2",
64
64
  "typescript": "^5.8.2"
65
65
  },