File tree Expand file tree Collapse file tree
features/confirmation/views/ConfirmTransactionRequest Expand file tree Collapse file tree Original file line number Diff line number Diff line change 148148 "confirmation.confirmButton" : {
149149 "message" : " Confirm"
150150 },
151- "confirmation.title" : {
151+ "confirmation.signAndSendTransaction. title" : {
152152 "message" : " Transaction request"
153153 },
154+ "confirmation.signTransaction.title" : {
155+ "message" : " Signing request"
156+ },
157+ "confirmation.sendAndConfirmTransaction.title" : {
158+ "message" : " Sending and confirming transaction"
159+ },
154160 "confirmation.advanced.unknownInstruction" : {
155161 "message" : " Unknown"
156162 },
Original file line number Diff line number Diff line change 4848 "confirmation.advanced.hide" : " Hide advanced" ,
4949 "confirmation.cancelButton" : " Cancel" ,
5050 "confirmation.confirmButton" : " Confirm" ,
51- "confirmation.title" : " Transaction request" ,
51+ "confirmation.signAndSendTransaction.title" : " Transaction request" ,
52+ "confirmation.signTransaction.title" : " Signing request" ,
53+ "confirmation.sendAndConfirmTransaction.title" : " Sending and confirming transaction" ,
5254 "confirmation.advanced.unknownInstruction" : " Unknown" ,
5355 "confirmation.advanced.programId" : " Program ID" ,
5456 "confirmation.advanced.data" : " Data" ,
8486 "transactionScan.errors.insufficientSol" : " Account does not have enough SOL to perform the operation." ,
8587 "transactionScan.errors.slippageToleranceExceeded" : " The transaction was reverted because the slippage tolerance was exceeded." ,
8688 "transactionScan.errors.unknownError" : " An unknown error occurred."
87- }
89+ }
Original file line number Diff line number Diff line change 77 "url" : " https://github.com/MetaMask/snap-solana-wallet.git"
88 },
99 "source" : {
10- "shasum" : " 0G8PXZNx7ioU2jbDWfX7Qv94bxORrt2q1mgWZj/ajow =" ,
10+ "shasum" : " rx+CMYlfj25LOq11FMftpUP3nc+J+mO7C64XS2cmrGw =" ,
1111 "location" : {
1212 "npm" : {
1313 "filePath" : " dist/bundle.js" ,
Original file line number Diff line number Diff line change @@ -185,14 +185,6 @@ export const ListAccountAssetsResponseStruct = array(CaipAssetTypeStruct);
185185
186186export const SubmitRequestMethodStruct = enums ( Object . values ( SolMethod ) ) ;
187187
188- export const SendAndConfirmTransactionParamsStruct = object ( {
189- base64EncodedTransactionMessage : string ( ) ,
190- } ) ;
191-
192- export type SendAndConfirmTransactionParams = Infer <
193- typeof SendAndConfirmTransactionParamsStruct
194- > ;
195-
196188export const NetworkStruct = enums ( Object . values ( Network ) ) ;
197189
198190export const Curenc = enums ( [
Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ export const ConfirmTransactionRequest = ({
4242 ) : null }
4343 < Box alignment = "center" center >
4444 < Box > { null } </ Box >
45- < Heading size = "lg" > { translate ( 'confirmation.title' ) } </ Heading >
45+ < Heading size = "lg" >
46+ { translate ( `confirmation.${ context . method } .title` ) }
47+ </ Heading >
4648 < Box > { null } </ Box >
4749 </ Box >
4850 { context . preferences . simulateOnChainActions ? (
You can’t perform that action at this time.
0 commit comments