Skip to content

Commit 181d3b0

Browse files
committed
updated DecodedEvent type
1 parent bc2ddaf commit 181d3b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/vue-web3-auth.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export declare function createWeb3Auth(options: Options): Plugin_2;
3939

4040
declare type DecodedEvent = {
4141
eventName: string;
42-
args: [] | {};
42+
args: any;
4343
};
4444

4545
export declare function disconnect(): Promise<void>;

lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export type ParseEvents = {
111111

112112
export type DecodedEvent = {
113113
eventName: string
114-
args: [] | {}
114+
args: any
115115
}
116116

117117
export type WatchContractEvent = {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kolirt/vue-web3-auth",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Web3 authentication for Vue3 apps based on WalletConnect v2",
55
"author": "kolirt",
66
"license": "MIT",

0 commit comments

Comments
 (0)