@rpcbase/client 0.164.0 → 0.166.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,8 @@ import debug from "debug"
|
|
|
4
4
|
import {useState, useEffect} from "react"
|
|
5
5
|
import useSearchParam from "react-use/lib/useSearchParam"
|
|
6
6
|
import isEmail from "validator/lib/isEmail"
|
|
7
|
-
import page from "page"
|
|
8
7
|
|
|
8
|
+
import page from "../../page"
|
|
9
9
|
import post from "../../helpers/post"
|
|
10
10
|
import {reconnect as rts_reconnect} from "../../rts/rts"
|
|
11
11
|
import {set_is_signed_in, setUid, set_tenant_id} from "../index"
|
package/auth/SignOut/index.js
CHANGED
|
@@ -3,10 +3,10 @@ import assert from "assert"
|
|
|
3
3
|
import {useState, useEffect} from "react"
|
|
4
4
|
import {ActivityIndicator} from "react-native"
|
|
5
5
|
import Alert from "react-bootstrap/Alert"
|
|
6
|
-
import page from "page"
|
|
7
6
|
|
|
8
7
|
import authConfig from "@rpcbase/dot-rb/auth"
|
|
9
8
|
|
|
9
|
+
import page from "../../page"
|
|
10
10
|
import {sign_out} from "../sign_out"
|
|
11
11
|
|
|
12
12
|
import post from "../../helpers/post"
|
package/package.json
CHANGED
package/page.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/* @flow */
|
|
2
2
|
import page from "page"
|
|
3
3
|
|
|
4
|
-
import {hashStateMiddleware} from "
|
|
4
|
+
import {hashStateMiddleware} from "./hashState"
|
|
5
5
|
|
|
6
|
+
// custom event handler to get hash state changes when navigating with url
|
|
6
7
|
page(hashStateMiddleware)
|
|
7
8
|
|
|
8
9
|
export default page
|