cosmos-rest
Advanced tools
Comparing version 0.1.8 to 0.1.9
14
index.js
@@ -91,4 +91,4 @@ 'use strcit'; | ||
//获取游戏会话 | ||
recover_game = async (gsid) => { | ||
const data = await this.request('POST',`/bc/game/${gsid}/recover`); | ||
recover_game = async (gsid,json) => { | ||
const data = await this.request('POST',`/bc/game/${gsid}/recover`,json); | ||
return data; | ||
@@ -101,3 +101,13 @@ } | ||
} | ||
//帐号注册 | ||
register = async (json) => { | ||
const data = await this.request('POST',"/gc/player/register",json); | ||
return data; | ||
} | ||
//获取活动金额 | ||
get_activity_money = async (json) => { | ||
const data = await this.request('POST',"/gc/player/getactivitymoney",json); | ||
return data; | ||
} | ||
} | ||
export default Client; |
{ | ||
"name": "cosmos-rest", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "A js sdk for cosmos blockchain", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26199
260