decane-connect-kit 2.6.0 → 2.6.2

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.
package/dist/index.cjs CHANGED
@@ -2908,7 +2908,7 @@ function buildAuthUrl(clientId, scopes) {
2908
2908
  return url.toString();
2909
2909
  }
2910
2910
  function loginWithKingsChatPopup(opts) {
2911
- const scopes = opts.scopes ?? ["send_chat_message"];
2911
+ const scopes = opts.scopes ?? ["profile"];
2912
2912
  const popup = window.open(
2913
2913
  buildAuthUrl(opts.clientId, scopes),
2914
2914
  "decane-kingschat",
@@ -3488,7 +3488,7 @@ async function createDecaneConnect(config) {
3488
3488
  let persisted = loadPersisted(PERSIST_KEY);
3489
3489
  let ethProvider = null;
3490
3490
  const persistSession = config.persistSession !== false;
3491
- const serverAssistedRecovery = config.serverAssistedRecovery !== false;
3491
+ const serverAssistedRecovery = true;
3492
3492
  const SESSION_KEY = sessionPersistKey(config.apiKey);
3493
3493
  function persistLiveSession() {
3494
3494
  if (!persistSession) return;