Skip to content

Commit 593daa7

Browse files
committed
chore: updates types
1 parent ef82833 commit 593daa7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

types/src/walletconnect-handler.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @property {string} projectId
77
* @property {{ name: string, description: string, url: string, icons: string[] }} metadata
88
* @property {string} [relayUrl]
9-
* @property {{ appId: string, apiKey: string, baseUrl?: string }} [payConfig]
9+
* @property {{ appId: string, apiKey?: string, baseUrl?: string }} [payConfig]
1010
* @property {object} [signConfig]
1111
*/
1212
/**
@@ -29,7 +29,7 @@ export default class WalletConnectHandler {
2929
/**
3030
* @returns {import('@reown/walletkit').WalletKit | null}
3131
*/
32-
get walletkit(): import("@reown/walletkit").WalletKit | null;
32+
get walletkit(): import("@reown/walletkit").default | null;
3333
/**
3434
* @returns {import('@reown/walletkit').IWalletKitPay | null}
3535
*/
@@ -163,7 +163,7 @@ export type WalletConnectConfig = {
163163
relayUrl?: string;
164164
payConfig?: {
165165
appId: string;
166-
apiKey: string;
166+
apiKey?: string;
167167
baseUrl?: string;
168168
};
169169
signConfig?: object;

types/src/wdk-manager.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default class WDK extends EventEmitter<any> {
109109
*
110110
* @returns {import('@reown/walletkit').WalletKit | null}
111111
*/
112-
get walletkit(): import("@reown/walletkit").WalletKit | null;
112+
get walletkit(): import("@reown/walletkit").default | null;
113113
/**
114114
* The WalletConnect Pay client. Available after initWalletConnect with payConfig.
115115
*

0 commit comments

Comments
 (0)