File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ export class WebWalletConnector extends Connector {
139139 callbackData,
140140 approvalRequests,
141141 sessionTypedData,
142+ theme : this . _options . theme ,
142143 } )
143144 } catch ( error ) {
144145 if (
Original file line number Diff line number Diff line change @@ -42,6 +42,12 @@ type ConnectWebwalletProps = {
4242 theme ?: Theme
4343}
4444
45+ type ConnectAndSignSessionProps = ConnectWebwalletProps & {
46+ callbackData ?: string
47+ approvalRequests : ApprovalRequest [ ]
48+ sessionTypedData : TypedData
49+ }
50+
4551export type WebWalletStarknetWindowObject = StarknetWindowObject & {
4652 getLoginStatus ( ) : Promise < LoginStatus >
4753 connectWebwallet ( props ?: ConnectWebwalletProps ) : Promise < {
@@ -59,11 +65,8 @@ export type WebWalletStarknetWindowObject = StarknetWindowObject & {
5965 callbackData,
6066 approvalRequests,
6167 sessionTypedData,
62- } : {
63- callbackData ?: string
64- approvalRequests : ApprovalRequest [ ]
65- sessionTypedData : TypedData
66- } ) : Promise < ConnectAndSignSessionOutput >
68+ theme,
69+ } : ConnectAndSignSessionProps ) : Promise < ConnectAndSignSessionOutput >
6770}
6871
6972export const getArgentStarknetWindowObject = (
@@ -82,7 +85,6 @@ export const getArgentStarknetWindowObject = (
8285 } )
8386 } ,
8487 connectAndSignSession : ( props ) => {
85- console . log ( "connectAndSignSession" , props )
8688 return proxyLink . connectAndSignSession . mutate ( props )
8789 } ,
8890 connectWebwalletSSO : ( token , authorizedPartyId ) => {
You can’t perform that action at this time.
0 commit comments