File tree Expand file tree Collapse file tree 4 files changed +26
-5
lines changed
examples/react-native-example Expand file tree Collapse file tree 4 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " meshconnectrnsdkexample" ,
3- "version" : " 2.1.23 " ,
3+ "version" : " 2.1.24 " ,
44 "private" : true ,
55 "scripts" : {
66 "preinstall" : " ./scripts/preinstall" ,
4141 "engines" : {
4242 "node" : " >=18"
4343 }
44- }
44+ }
Original file line number Diff line number Diff line change 11{
2- "version" : " 2.1.23 " ,
2+ "version" : " 2.1.24 " ,
33 "name" : " @meshconnect/react-native-link-sdk" ,
44 "description" : " Mesh Connect React Native SDK." ,
55 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ exports[`LinkConnect Component renders correctly when linkToken is provided 1`]
5151 domStorageEnabled = { true }
5252 injectedJavaScript = "
5353 window.meshSdkPlatform='reactNative';
54- window.meshSdkVersion='2.1.23 ';
54+ window.meshSdkVersion='2.1.24 ';
5555 "
5656 javaScriptEnabled = { true }
5757 onLoadEnd = { [Function ]}
Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ export type LinkEventType =
2121 | FundingOptionsUpdated
2222 | FundingOptionsViewed
2323 | GasIncreaseWarning
24- | ExecuteFundingStep ;
24+ | ExecuteFundingStep
25+ | LinkTransferQrGenerated
26+ | HomePageMethodSelected ;
2527
2628const LINK_EVENT_TYPE_KEYS = [
2729 'integrationConnected' ,
@@ -60,6 +62,8 @@ const LINK_EVENT_TYPE_KEYS = [
6062 'fundingOptionsUpdated' ,
6163 'fundingOptionsViewed' ,
6264 'gasIncreaseWarning' ,
65+ 'linkTransferQRGenerated' ,
66+ 'methodSelected' ,
6367] as const ;
6468
6569export const mappedLinkEvents : Record < string , string > = {
@@ -327,3 +331,20 @@ export interface ExecuteFundingStep {
327331 errorMessage ?: string ;
328332 } ;
329333}
334+
335+ export interface LinkTransferQrGenerated {
336+ type : 'linkTransferQRGenerated' ;
337+ payload : {
338+ token ?: string ;
339+ network ?: string ;
340+ toAddress ?: string ;
341+ qrUrl ?: string ;
342+ } ;
343+ }
344+
345+ export interface HomePageMethodSelected {
346+ type : 'methodSelected' ;
347+ payload : {
348+ method : 'embedded' | 'manual' | 'buy' ;
349+ } ;
350+ }
You can’t perform that action at this time.
0 commit comments