File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @socket.tech/plugin" ,
3- "version" : " 1.3.4-alpha " ,
3+ "version" : " 1.3.4" ,
44 "main" : " dist/index.js" ,
55 "module" : " dist/index.es.js" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -167,19 +167,11 @@ export interface WidgetProps {
167167 */
168168 onSubmit ?: ( data : transactionDetails ) => void ;
169169
170- onApprove ?: ( data : approveDetails ) => void ;
171170 /**
172- * txHash,
173- * context: {
174- * type:
175- * symbol:
176- * icon:
177- * },
178- * transactionConfig: {
179- * fromChain,
180- * toChain
181- * }
182- */
171+ * This function is called twice, once when the approval is iniated and after it is completed
172+ * @param {approveDetails } data
173+ */
174+ onApprove ?: ( data : approveDetails ) => void ;
183175
184176 /**
185177 * Fee Params to collect fees
You can’t perform that action at this time.
0 commit comments