Skip to content

Commit 821acda

Browse files
committed
v1.3.4
1 parent d60e36c commit 821acda

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

src/types/index.d.ts

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)