@rpcbase/client 0.73.0 → 0.75.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.
@@ -74,7 +74,7 @@ const SetNewPassword = ({name, logo}) => {
74
74
 
75
75
  <h1 className="h4 mt-3 mb-3 fw-normal">New Password</h1>
76
76
  <p className="text-start text-muted">
77
- Passwords must use at least 12 characters.
77
+ Passwords must use at least 12 characters
78
78
  </p>
79
79
 
80
80
  {error && (
@@ -94,6 +94,7 @@ const SetNewPassword = ({name, logo}) => {
94
94
  <input type="password"
95
95
  className="form-control"
96
96
  id="input-password1"
97
+ autoFocus
97
98
  placeholder="Password"
98
99
  disabled={isLoading || isSuccess}
99
100
  value={password1}
package/hashState.js CHANGED
@@ -38,9 +38,9 @@ const apply_hash_state = (payload) => {
38
38
  const str = encodeHashState(payload)
39
39
 
40
40
  if (str === EMPTY_STATE_TOKEN) {
41
- history.replaceState(null, null, window.location.pathname)
41
+ history.replaceState(null, null, window.location.pathname + window.location.search)
42
42
  } else {
43
- history.replaceState(null, null, `${window.location.pathname}#${encodeHashState(payload)}`)
43
+ history.replaceState(null, null, `${window.location.pathname}${window.location.search}#${encodeHashState(payload)}`)
44
44
  }
45
45
  }
46
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/client",
3
- "version": "0.73.0",
3
+ "version": "0.75.0",
4
4
  "scripts": {
5
5
  "build-firebase": "webpack -c firebase/webpack.config.js",
6
6
  "build": "yarn build-firebase",