Skip to content

Commit c06033e

Browse files
[fix] Fixes a type & build issue (#991)
1 parent 039fcd3 commit c06033e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/coinbase/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/coinbase",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Coinbase Wallet module for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",

packages/coinbase/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function coinbaseWallet({
44
darkMode = false
55
}: {
66
darkMode?: boolean
7-
}): WalletInit {
7+
} = {}): WalletInit {
88
return ({ device }) =>
99
device.type === 'mobile'
1010
? {

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/common",
3-
"version": "2.0.8",
3+
"version": "2.0.9",
44
"scripts": {
55
"build": "rollup -c",
66
"dev": "rollup -c -w",

packages/common/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export interface WalletModule {
225225
/**
226226
* @returns the wallet interface associated with the module
227227
*/
228-
getInterface: (helpers?: GetInterfaceHelpers) => Promise<WalletInterface>
228+
getInterface: (helpers: GetInterfaceHelpers) => Promise<WalletInterface>
229229
}
230230

231231
export type GetInterfaceHelpers = {

0 commit comments

Comments
 (0)