Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cosmos-rest

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosmos-rest - npm Package Compare versions

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;

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc