@rpcbase/client 0.132.0 → 0.133.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.
package/apiClient.js CHANGED
@@ -4,9 +4,6 @@ import axios from "axios"
4
4
  import getBaseUrl from "./getBaseUrl"
5
5
  import getTenantId from "./auth/getTenantId"
6
6
 
7
- console.log("BAGGGG", getTenantId)
8
-
9
-
10
7
  const apiClient = axios.create({
11
8
  baseURL: getBaseUrl(),
12
9
  withCredentials: true,
package/auth/getUid.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /* @flow */
2
2
  import {Platform} from "react-native"
3
3
 
4
- import {getUid as _getUid} from "./index"
4
+ import {getUid} from "./index"
5
5
 
6
- const getUidFn = Platform.OS === "web" ? _getUid : () => {
6
+ const getUidFn = Platform.OS === "web" ? getUid : () => {
7
7
  console.warn("native should not call getUid, use userId from AuthContext")
8
8
  return null
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/client",
3
- "version": "0.132.0",
3
+ "version": "0.133.0",
4
4
  "scripts": {
5
5
  "build-firebase": "webpack -c firebase/webpack.config.js",
6
6
  "build": "yarn build-firebase",