Skip to content

Commit

Permalink
v1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
salil-naik committed Jan 11, 2024
1 parent d60e36c commit 821acda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@socket.tech/plugin",
"version": "1.3.4-alpha",
"version": "1.3.4",
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
Expand Down
16 changes: 4 additions & 12 deletions src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,19 +167,11 @@ export interface WidgetProps {
*/
onSubmit?: (data: transactionDetails) => void;

onApprove?: (data: approveDetails) => void;
/**
* txHash,
* context: {
* type:
* symbol:
* icon:
* },
* transactionConfig: {
* fromChain,
* toChain
* }
*/
* This function is called twice, once when the approval is iniated and after it is completed
* @param {approveDetails} data
*/
onApprove?: (data: approveDetails) => void;

/**
* Fee Params to collect fees
Expand Down

0 comments on commit 821acda

Please sign in to comment.