-
Notifications
You must be signed in to change notification settings - Fork 542
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Current Behavior
After upgrading to current version of web3onboard/react, my code fails due to connect({})
Expected Behavior
should not fail since ConnectOptions allows for undefined autoSelect. Getting autoSelect is undefined in index.svelte.
Steps To Reproduce
Call the connect function with {}
What package is effected by this issue?
@web3-onboard/core
Is this a build or a runtime issue?
Runtime
Package Version
2.9.1
Node Version
20.11
What browsers are you seeing the problem on?
Firefox
Relevant log output
TypeError: autoSelect is undefined
4 Index.svelte:418
RxJS 14
instance$4 Index.svelte:415
init$1 index.mjs:2165
Index$1 index.2d3ace14.js:216334
create_if_block_20 index.2d3ace14.js:216795
p index.2d3ace14.js:218159
update index.mjs:1347
flush index.mjs:1307
promise callback*schedule_update index.mjs:1258
make_dirty index.mjs:2133
ctx index.mjs:2171
instance index.2d3ace14.js:218324
RxJS 26
dispatch$1 index.ts:117
setWalletModules actions.ts:216
connect$1 connect.ts:30
connect useConnectWallet.js:12
walletSelect useWeb3.tsx:165
React 23
["4aBH6"]< index.tsx:95
newRequire index.2d3ace14.js:71
<anonymous> index.2d3ace14.js:122
<anonymous> index.2d3ace14.js:145
Uncaught (in promise) TypeError: ctx[0] is undefined
create_fragment$4 Index.svelte:580
init$1 index.mjs:2180
Index$1 index.2d3ace14.js:216334
create_if_block_20 index.2d3ace14.js:216795
p index.2d3ace14.js:218159
update index.mjs:1347
flush index.mjs:1307
promise callback*schedule_update index.mjs:1258
make_dirty index.mjs:2133
ctx index.mjs:2171
instance index.2d3ace14.js:218324
RxJS 26
dispatch$1 index.ts:117
setWalletModules actions.ts:216
connect$1 connect.ts:30
connect useConnectWallet.js:12
walletSelect useWeb3.tsx:165
React 23
["4aBH6"]< index.tsx:95
newRequire index.2d3ace14.js:71
<anonymous> index.2d3ace14.js:122
<anonymous> index.2d3ace14.js:145
Index.svelte:580:6Anything else?
No response
Sanity Check
- If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working