@rpcbase/client 0.37.0 → 0.39.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.
@@ -4,8 +4,10 @@ import {ActivityIndicator} from "react-native"
4
4
  import page from "page"
5
5
 
6
6
  import post from "../../helpers/post"
7
+
7
8
  import {set_is_signed_in, set_uid} from "../index"
8
9
 
10
+
9
11
  const SignOut = ({
10
12
  onSuccess = () => null
11
13
  }) => {
package/helpers/post.js CHANGED
@@ -1,9 +1,7 @@
1
1
  /* @flow */
2
2
  import axios from "axios"
3
3
 
4
- import env from "env"
5
-
6
- const {BASE_URL} = env
4
+ import {BASE_URL} from "env"
7
5
 
8
6
  const client = axios.create({
9
7
  withCredentials: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/client",
3
- "version": "0.37.0",
3
+ "version": "0.39.0",
4
4
  "scripts": {
5
5
  "test": "echo \"Error: no test specified\" && exit 0"
6
6
  },
package/rpc_post.js CHANGED
@@ -7,10 +7,7 @@ import _set from "lodash/set"
7
7
  import get_txn_id from "@rpcbase/std/get_txn_id"
8
8
  import {add_local_txn} from "@rpcbase/realtime-state-client"
9
9
 
10
- import env from "env"
11
-
12
-
13
- const {BASE_URL} = env
10
+ import {BASE_URL} from "env"
14
11
 
15
12
  const client = axios.create({
16
13
  withCredentials: true,