otter-bridge
Advanced tools
Comparing version 0.0.3-alpha.15 to 0.0.3-alpha.16
@@ -49,6 +49,3 @@ declare enum GameType { | ||
}>; | ||
showRewardDialog(params: IRewardInfo): Promise<{ | ||
status: string; | ||
rawInfo: string; | ||
}>; | ||
showRewardDialog(params: IRewardInfo): Promise<void>; | ||
} | ||
@@ -91,3 +88,3 @@ | ||
taskId: number; | ||
taskName: string; | ||
taskTrackDesc: string; | ||
taskType: string; | ||
@@ -94,0 +91,0 @@ rewardImg: string; |
{ | ||
"name": "otter-bridge", | ||
"version": "0.0.3-alpha.15", | ||
"version": "0.0.3-alpha.16", | ||
"description": "Otter game web jsbridge", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -178,5 +178,3 @@ import URI from "urijs"; | ||
async showRewardDialog( | ||
params: IRewardInfo, | ||
): Promise<{ status: string; rawInfo: string }> { | ||
async showRewardDialog(params: IRewardInfo): Promise<void> { | ||
return await OtterBridge.instance.callHandler( | ||
@@ -233,3 +231,3 @@ BridgeHandler.HANDLER_ENUM.showRewardDialog, | ||
taskId: number; | ||
taskName: string; | ||
taskTrackDesc: string; | ||
taskType: string; | ||
@@ -236,0 +234,0 @@ rewardImg: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
41918
788