@arcblock/did-connect-react 3.2.16 → 3.2.17

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.
@@ -94,7 +94,7 @@ function qe(q = Qe, X = "ls", oe = {}, T = {}) {
94
94
  }), Je = de(T.refreshTokenStorageKey, "ls");
95
95
  function pe({ ...I }) {
96
96
  const r = Object.assign({}, I);
97
- w(r.serviceHost) && (r.serviceHost = D), w(r.locale) && (r.locale = ""), w(r.action) && (r.action = "login"), w(r.prefix) && (r.prefix = Ni), w(r.appendAuthServicePrefix) && (r.appendAuthServicePrefix = !1), w(r.extraParams) && (r.extraParams = {}), w(r.options) && (r.options = {}), w(r.autoConnect) && (r.autoConnect = !0), w(r.autoDisconnect) && (r.autoDisconnect = !0), w(r.useSocket) && (r.useSocket = !0), w(r.timeout) && (r.timeout = Wi * 1e3), w(r.webWalletUrl) && (r.webWalletUrl = void 0), w(r.protectedRoutes) && (r.protectedRoutes = ["*"]), w(r.apiOptions) && (r.apiOptions = {}), w(r.lazyRefreshToken) && (r.lazyRefreshToken = !1);
97
+ w(r.serviceHost) && (r.serviceHost = D), w(r.locale) && (r.locale = ""), w(r.action) && (r.action = "login"), w(r.prefix) && (r.prefix = Ni), w(r.appendAuthServicePrefix) && (r.appendAuthServicePrefix = !1), w(r.extraParams) && (r.extraParams = {}), w(r.options) && (r.options = {}), w(r.autoConnect) && (r.autoConnect = !1), w(r.autoDisconnect) && (r.autoDisconnect = !0), w(r.useSocket) && (r.useSocket = !0), w(r.timeout) && (r.timeout = Wi * 1e3), w(r.webWalletUrl) && (r.webWalletUrl = void 0), w(r.protectedRoutes) && (r.protectedRoutes = ["*"]), w(r.apiOptions) && (r.apiOptions = {}), w(r.lazyRefreshToken) && (r.lazyRefreshToken = !1);
98
98
  const { connectApi: k, connectHolder: ie } = xi(), [eo, fe] = mi(0), y = si(), { requestStorageAccess: oo } = Vi(), { palette: io } = Qo(), B = new URLSearchParams(window.location.search), s = Ie({
99
99
  extraParams: {},
100
100
  options: {},
@@ -1,4 +1,4 @@
1
- const o = "3.2.16", s = {
1
+ const o = "3.2.17", s = {
2
2
  version: o
3
3
  };
4
4
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/did-connect-react",
3
- "version": "3.2.16",
3
+ "version": "3.2.17",
4
4
  "description": "Client side library to work with DID Connect by ArcBlock.",
5
5
  "keywords": [
6
6
  "react",
@@ -32,10 +32,10 @@
32
32
  "url": "https://github.com/ArcBlock/ux/issues"
33
33
  },
34
34
  "dependencies": {
35
- "@arcblock/bridge": "3.2.16",
35
+ "@arcblock/bridge": "3.2.17",
36
36
  "@arcblock/did": "^1.27.15",
37
- "@arcblock/icons": "3.2.16",
38
- "@arcblock/react-hooks": "3.2.16",
37
+ "@arcblock/icons": "3.2.17",
38
+ "@arcblock/react-hooks": "3.2.17",
39
39
  "@arcblock/ws": "^1.27.15",
40
40
  "@blocklet/constant": "^1.17.5",
41
41
  "@fontsource/lexend": "^5.2.9",
@@ -81,5 +81,5 @@
81
81
  "eslint-plugin-react-hooks": "^4.6.2",
82
82
  "jest": "^29.7.0"
83
83
  },
84
- "gitHead": "cc7ec117370b11df3e5e1b60120af8f5e2e82cb7"
84
+ "gitHead": "5f9c8a00065316075847d5b5e5a56874f0929f6e"
85
85
  }
@@ -174,7 +174,7 @@ function createSessionContext(
174
174
  props.options = {};
175
175
  }
176
176
  if (isUndefined(props.autoConnect)) {
177
- props.autoConnect = true;
177
+ props.autoConnect = false;
178
178
  }
179
179
  if (isUndefined(props.autoDisconnect)) {
180
180
  props.autoDisconnect = true;