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

node-papergame-api

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-papergame-api - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

17

index.js

@@ -44,3 +44,3 @@ const request = require('request-promise');

//console.log(response);
cb(response['success']);
cb(response);
// {"success":true,"amount":100,"to":"{ID кому}","current":56}

@@ -81,3 +81,3 @@

*/
txList(last_tx_id){
txList(last_tx_id,cb){

@@ -100,6 +100,10 @@ request(

var txs = response['tx_list'];
if(txs.length>0){
console.log('получено %s транзакций',txs.length);
}
if(txs.success){
var txs = response['tx_list'];
cb(false,txs);
}else {
cb(new Error('Не удалось получить txList'));
}
});

@@ -131,3 +135,2 @@ }

* Получить ссылку на перевод
* id кому перевод
* summa - сумма

@@ -134,0 +137,0 @@ */

{
"name": "node-papergame-api",
"version": "1.0.0",
"version": "1.0.1",
"description": "Papergame api wrapper",

@@ -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