@rpcbase/client 0.14.0 → 0.17.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.
@@ -69,7 +69,7 @@ const SignIn = ({name, logo}) => {
69
69
 
70
70
  <h1 className="h4 mt-3 mb-3 fw-normal">Sign In</h1>
71
71
  <p className="text-start text-muted">
72
- Use your email and password to sign in. Don't have an account ?
72
+ Use your email and password to sign in.<br />Don't have an account?
73
73
  <a href="/signup" className="ms-1">Sign up here</a>
74
74
  </p>
75
75
 
@@ -99,20 +99,22 @@ const SignIn = ({name, logo}) => {
99
99
  <label htmlFor="input-password">Password</label>
100
100
  </div>
101
101
 
102
- <div className="checkbox mt-3 mb-3 text-start">
102
+ <div className="checkbox mt-3 mb-1 text-start">
103
103
  <label style={{cursor: "pointer", userSelect: "none"}}>
104
104
  <input
105
+ className="me-1"
105
106
  type="checkbox"
106
107
  value="remember-me"
107
108
  defaultChecked /> Remember me
108
109
  </label>
109
110
  </div>
110
111
 
111
- <button className="w-100 btn btn-lg btn-primary" type="submit" onClick={onSubmit}>Sign In</button>
112
-
113
- <div className="mt-3 text-start w-100">
112
+ <div className="mt-2 text-start w-100">
114
113
  <a href={`/forgot-password${forgotUrlParam && "#" + forgotUrlParam}`}>Forgot your password?</a>
115
114
  </div>
115
+
116
+ <button className="mt-4 mb-3 w-100 btn btn-lg btn-primary" type="submit" onClick={onSubmit}>Sign In</button>
117
+
116
118
  </form>
117
119
 
118
120
  <hr />
package/helpers/post.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /* @flow */
2
2
  import axios from "axios"
3
3
 
4
- import config from "config"
4
+ import env from "env"
5
5
 
6
- const {BASE_URL} = config
6
+ const {BASE_URL} = env
7
7
 
8
8
  const client = axios.create({
9
9
  withCredentials: true,
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@rpcbase/client",
3
- "version": "0.14.0",
3
+ "version": "0.17.0",
4
4
  "scripts": {
5
5
  "test": "echo \"Error: no test specified\" && exit 0"
6
6
  },
7
7
  "dependencies": {
8
8
  "axios": "0.27.2"
9
9
  }
10
- }
10
+ }
package/rpc_post.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /* @flow */
2
2
  import axios from "axios"
3
3
 
4
- import config from "config"
4
+ import env from "env"
5
5
 
6
- const {BASE_URL} = config
6
+ const {BASE_URL} = env
7
7
 
8
8
  const client = axios.create({
9
9
  withCredentials: true,