Socket
Socket
Sign inDemoInstall

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.4 to 0.1.5

10

index.js

@@ -36,4 +36,4 @@ 'use strcit';

//获取gsid
get_gc = async (json) => {
const data = await this.request('POST','/bc/game/start',json);
get_gc = async (gsid,json) => {
const data = await this.request('POST',`/bc/game/${gsid}/start`,json);
return data;

@@ -48,8 +48,8 @@ }

query_amount = async (gsid,json) => {
const data = await this.request('POST',`/bc/game/${gsid}/cq`,json);
const data = await this.request('POST',`/bc/game/${gsid}/query`,json);
return data;
}
//状态迁移 (本手牌结束)
game_relay = async (json) => {
const data = await this.request('POST','/bc/game/relay',json);
game_relay = async (gsid,json) => {
const data = await this.request('POST',`/bc/game/${gsid}/relay`,json);
return data;

@@ -56,0 +56,0 @@ }

{
"name": "cosmos-rest",
"version": "0.1.4",
"version": "0.1.5",
"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