File tree Expand file tree Collapse file tree 2 files changed +15
-17
lines changed Expand file tree Collapse file tree 2 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 7
7
"url" : " https://github.com/idriss-crypto/snap/tree/main/packages/snap"
8
8
},
9
9
"source" : {
10
- "shasum" : " jQRz6xTMZkvAIKyiDhlg+jfSsGovfrwf5Dzz6YZTcUA =" ,
10
+ "shasum" : " ex4V0QQ9VxWNiZsWbGUIPJeldu55HZ/iGRn4KeCEwOg =" ,
11
11
"location" : {
12
12
"npm" : {
13
13
"filePath" : " dist/bundle.js" ,
Original file line number Diff line number Diff line change @@ -62,44 +62,42 @@ export const onNameLookup: OnNameLookupHandler = async (request: {
62
62
} ;
63
63
64
64
export const onInstall : OnInstallHandler = async ( ) => {
65
+ console . log ( 'onInstall called' ) ;
65
66
await snap . request ( {
66
67
method : 'snap_dialog' ,
67
68
params : {
68
69
type : 'alert' ,
69
70
content : (
70
71
< Box >
71
- < Heading > Installation successful 🎉 </ Heading >
72
+ < Heading > You're all set! ✅ </ Heading >
72
73
< Text >
73
- MetaMask can now send to a number of social handles and domans.
74
+ Now you can use your favorite identifiers in the send flow
74
75
</ Text >
75
76
< Divider />
76
- < Row label = "IDriss " >
77
- < Text > username.x </ Text >
77
+ < Row label = "Twitter " >
78
+ < Text > [name].x / [name].twitter </ Text >
78
79
</ Row >
79
- < Row label = "" >
80
- < Text > username.twitter</ Text >
80
+ < Row label = "Email" >
81
+
82
+ </ Row >
83
+ < Row label = "Phone" >
84
+ < Text > +11234567890</ Text >
81
85
</ Row >
82
86
< Divider />
83
87
< Row label = "Farcaster" >
84
- < Text > username.fc</ Text >
85
- </ Row >
86
- < Row label = "" >
87
- < Text > username.farcaster</ Text >
88
+ < Text > [name].fc / [name].farcaster</ Text >
88
89
</ Row >
89
90
< Divider />
90
91
< Row label = "Lens" >
91
- < Text > username .lens</ Text >
92
+ < Text > [name] .lens</ Text >
92
93
</ Row >
93
94
< Divider />
94
95
< Row label = "Unstoppable Domains" >
95
- < Text > Valid UDs </ Text >
96
+ < Text > [name].[domain] </ Text >
96
97
</ Row >
97
98
< Divider />
98
99
< Row label = "ENS" >
99
- < Text >
100
- Valid ENS, given it does not resolve to a contract address on
101
- Mainnet
102
- </ Text >
100
+ < Text > [name].eth</ Text >
103
101
</ Row >
104
102
</ Box >
105
103
) ,
You can’t perform that action at this time.
0 commit comments