Socket
Socket
Sign inDemoInstall

stampery

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stampery - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

13

index.js

@@ -32,3 +32,3 @@ // Generated by IcedCoffeeScript 108.0.7

Stampery.prototype.stamp = function(fileName, fileHash, cb) {
Stampery.prototype.stamp = function(fileName, fileHash, extra, cb) {
var data, err, formData, res, ___iced_passed_deferral, __iced_deferrals, __iced_k;

@@ -38,5 +38,4 @@ __iced_k = __iced_k_noop;

formData = {
sig: '',
pendingSignatures: JSON.stringify([]),
fileName: fileName
fileName: fileName,
extra: JSON.stringify(extra)
};

@@ -75,3 +74,3 @@ if (typeof fileHash !== 'string') {

})(),
lineno: 38
lineno: 37
}));

@@ -107,3 +106,3 @@ __iced_deferrals._fulfill();

})(),
lineno: 43
lineno: 42
}));

@@ -138,3 +137,3 @@ __iced_deferrals._fulfill();

})(),
lineno: 47
lineno: 46
}));

@@ -141,0 +140,0 @@ __iced_deferrals._fulfill();

{
"name": "stampery",
"version": "1.0.2",
"version": "1.0.3",
"description": "Stampery API for NodeJS. Notarize all your data using the blockchain",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -23,3 +23,3 @@ Stampery

var data = new Buffer('Create a proof of this using the blockchain')
stampery.stamp('test.txt', data, function(err, fileHash) { })
stampery.stamp('test.txt', data, {someother: 'extradata'}, function(err, fileHash) { })
stampery.get(hash, function(err, stamp) { })

@@ -26,0 +26,0 @@ stampery.proof(hash, function(err, proof) { })

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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