New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ether-pudding

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ether-pudding - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

4

build/ether-pudding.js

@@ -284,3 +284,3 @@ (function() {

contract_class["new"] = function() {
var args, callback, instance;
var args, callback;
args = Array.prototype.slice.call(arguments);

@@ -295,3 +295,3 @@ callback = args.pop();

});
return instance = old_new.apply(contract_class, arguments);
return old_new.apply(contract_class, args);
};

@@ -298,0 +298,0 @@ return contract_class;

/*! ether-pudding 08-07-2015 */
(function(){var a;a=function(a,b){var c;return c=function(){function c(){}return c.global_defaults={},c.whisk=function(d,e,f){var g;return"object"==typeof e&&(f=e,e=null),g=b.eth.contract(d),g=c.inject_defaults(g,f),g=c.synchronize_contract(g),g=c.make_nicer_new(g,e),null!=a&&(g=c.promisify_contract(g)),g},c.defaults=function(a){var b,d;null==a&&(a={});for(b in a)d=a[b],c.global_defaults[b]=d;return c.global_defaults},c.merge=function(){var a,b,c,d,e,f;for(d={},a=0,c=arguments.length;c>a;a++){e=arguments[a];for(b in e)f=e[b],d[b]=f}return d},c.inject_defaults=function(a,b){var d,e,f;return e=a.at,f=a["new"],d=function(d){return function(e,f){var g,h,i,j,k,l,m,n,o;for(null==f&&(f={}),m=d.merge(b,f),n=a.abi,j=0,l=n.length;l>j;j++)if(g=n[j],i=g.name,h=e[i],null!=h){e[i]=c.inject_defaults_into_function(e,h,m);for(k in h)o=h[k],e[i][k]=o;e[i].sendTransaction=c.inject_defaults_into_function(e,h.sendTransaction,m),e[i].call=c.inject_defaults_into_function(e,h.call,m)}return e}}(this),a.at=function(b,c){var f;return null==c&&(c={}),f=e.call(a,b),d(f,c)},a["new"]=function(e){return function(){var g,h,i,j;return g=Array.prototype.slice.call(arguments),h=g.pop(),"object"==typeof g[g.length-1]&&"object"==typeof g[g.length-2]?(i=g.pop(),j=g.pop()):(i={},j="object"===g[g.length-1]?g.pop():{}),j=e.merge(c.global_defaults,b,j),g.push(j,function(a,b){return null!=a?void h(a):h(null,d(b))}),f.apply(a,g)}}(this),a},c.inject_defaults_into_function=function(a,b,d){return function(e){return function(){var f,g,h,i;return f=Array.prototype.slice.call(arguments),g=f.pop(),i=e.merge(c.global_defaults,d),"object"==typeof f[f.length-1]&&(h=f.pop(),i=e.merge(i,h)),f.push(i,g),b.apply(a,f)}}(this)},c.promisify_contract=function(b){var c,d,e;return c=b.at,d=b["new"],e=function(b){var c,d,e,f;for(e in b)if(c=b[e],"object"==typeof c||"function"==typeof c){for(d in c)f=c[d],("object"==typeof c||"function"==typeof c)&&(c[d]=a.promisify(f,b));b[e]=a.promisify(c,b)}return b},b.at=function(a,d){var f;return null==d&&(d={}),f=c.call(b,a,d),e(f)},b["new"]=a.promisify(function(){var a,c;return a=Array.prototype.slice.call(arguments),c=a.pop(),a.push(function(a,b){return null!=a&&c(a),c(null,e(b))}),d.apply(b,a)}),b},c.make_nicer_new=function(a,b){var c;return null==b&&(b=""),c=a["new"],a["new"]=function(){var d,e,f,g;return d=Array.prototype.slice.call(arguments),e=d.pop(),"object"==typeof d[d.length-1]&&"object"==typeof d[d.length-2]?(f=d.pop(),g=d.pop()):(f={},g="object"===d[d.length-1]?d.pop():{}),null==g.data&&(g.data=b),d.push(g,f,e),c.apply(a,d)},a},c.synchronize_function=function(a,c){var d,e,f;return e=null,f=240,d=0,function(){var g,h,i;return g=Array.prototype.slice.call(arguments),h=g.pop(),i=function(a,c){var g,i;return null!=a?void h(a,c):(i=c,e=null,g=function(){return b.eth.getTransaction(i,function(a,b){return null==a?(null!=b.blockHash&&(clearInterval(e),h(null,i)),d>=f&&(clearInterval(e),h("Transaction "+i+" wasn't processed in "+d+" attempts!",i)),d+=1):void 0})},e=setInterval(g,1e3),g())},g.push(i),c.apply(a,g)}},c.synchronize_contract=function(a){var b,d,e;return b=a.at,d=a["new"],e=function(b){var d,e,f,g,h,i,j,k;for(j=a.abi,g=0,i=j.length;i>g;g++)if(d=j[g],f=d.name,e=b[f],null!=e){b[f]=c.synchronize_function(b,e);for(h in e)k=e[h],b[f][h]=k}return b},a.at=function(c,d){var f;return null==d&&(d={}),f=b.call(a,c,d),e(f)},a["new"]=function(){var b,c,f;return b=Array.prototype.slice.call(arguments),c=b.pop(),b.push(function(a,b){return null!=a?void c(a):c(null,e(b))}),f=d.apply(a,arguments)},a},c}()},"undefined"!=typeof module&&null!==module&&null!=module.exports?module.exports=a(require("bluebird"),require("web3")):window.Pudding=a(Promise,web3)}).call(this);
(function(){var a;a=function(a,b){var c;return c=function(){function c(){}return c.global_defaults={},c.whisk=function(d,e,f){var g;return"object"==typeof e&&(f=e,e=null),g=b.eth.contract(d),g=c.inject_defaults(g,f),g=c.synchronize_contract(g),g=c.make_nicer_new(g,e),null!=a&&(g=c.promisify_contract(g)),g},c.defaults=function(a){var b,d;null==a&&(a={});for(b in a)d=a[b],c.global_defaults[b]=d;return c.global_defaults},c.merge=function(){var a,b,c,d,e,f;for(d={},a=0,c=arguments.length;c>a;a++){e=arguments[a];for(b in e)f=e[b],d[b]=f}return d},c.inject_defaults=function(a,b){var d,e,f;return e=a.at,f=a["new"],d=function(d){return function(e,f){var g,h,i,j,k,l,m,n,o;for(null==f&&(f={}),m=d.merge(b,f),n=a.abi,j=0,l=n.length;l>j;j++)if(g=n[j],i=g.name,h=e[i],null!=h){e[i]=c.inject_defaults_into_function(e,h,m);for(k in h)o=h[k],e[i][k]=o;e[i].sendTransaction=c.inject_defaults_into_function(e,h.sendTransaction,m),e[i].call=c.inject_defaults_into_function(e,h.call,m)}return e}}(this),a.at=function(b,c){var f;return null==c&&(c={}),f=e.call(a,b),d(f,c)},a["new"]=function(e){return function(){var g,h,i,j;return g=Array.prototype.slice.call(arguments),h=g.pop(),"object"==typeof g[g.length-1]&&"object"==typeof g[g.length-2]?(i=g.pop(),j=g.pop()):(i={},j="object"===g[g.length-1]?g.pop():{}),j=e.merge(c.global_defaults,b,j),g.push(j,function(a,b){return null!=a?void h(a):h(null,d(b))}),f.apply(a,g)}}(this),a},c.inject_defaults_into_function=function(a,b,d){return function(e){return function(){var f,g,h,i;return f=Array.prototype.slice.call(arguments),g=f.pop(),i=e.merge(c.global_defaults,d),"object"==typeof f[f.length-1]&&(h=f.pop(),i=e.merge(i,h)),f.push(i,g),b.apply(a,f)}}(this)},c.promisify_contract=function(b){var c,d,e;return c=b.at,d=b["new"],e=function(b){var c,d,e,f;for(e in b)if(c=b[e],"object"==typeof c||"function"==typeof c){for(d in c)f=c[d],("object"==typeof c||"function"==typeof c)&&(c[d]=a.promisify(f,b));b[e]=a.promisify(c,b)}return b},b.at=function(a,d){var f;return null==d&&(d={}),f=c.call(b,a,d),e(f)},b["new"]=a.promisify(function(){var a,c;return a=Array.prototype.slice.call(arguments),c=a.pop(),a.push(function(a,b){return null!=a&&c(a),c(null,e(b))}),d.apply(b,a)}),b},c.make_nicer_new=function(a,b){var c;return null==b&&(b=""),c=a["new"],a["new"]=function(){var d,e,f,g;return d=Array.prototype.slice.call(arguments),e=d.pop(),"object"==typeof d[d.length-1]&&"object"==typeof d[d.length-2]?(f=d.pop(),g=d.pop()):(f={},g="object"===d[d.length-1]?d.pop():{}),null==g.data&&(g.data=b),d.push(g,f,e),c.apply(a,d)},a},c.synchronize_function=function(a,c){var d,e,f;return e=null,f=240,d=0,function(){var g,h,i;return g=Array.prototype.slice.call(arguments),h=g.pop(),i=function(a,c){var g,i;return null!=a?void h(a,c):(i=c,e=null,g=function(){return b.eth.getTransaction(i,function(a,b){return null==a?(null!=b.blockHash&&(clearInterval(e),h(null,i)),d>=f&&(clearInterval(e),h("Transaction "+i+" wasn't processed in "+d+" attempts!",i)),d+=1):void 0})},e=setInterval(g,1e3),g())},g.push(i),c.apply(a,g)}},c.synchronize_contract=function(a){var b,d,e;return b=a.at,d=a["new"],e=function(b){var d,e,f,g,h,i,j,k;for(j=a.abi,g=0,i=j.length;i>g;g++)if(d=j[g],f=d.name,e=b[f],null!=e){b[f]=c.synchronize_function(b,e);for(h in e)k=e[h],b[f][h]=k}return b},a.at=function(c,d){var f;return null==d&&(d={}),f=b.call(a,c,d),e(f)},a["new"]=function(){var b,c;return b=Array.prototype.slice.call(arguments),c=b.pop(),b.push(function(a,b){return null!=a?void c(a):c(null,e(b))}),d.apply(a,b)},a},c}()},"undefined"!=typeof module&&null!==module&&null!=module.exports?module.exports=a(require("bluebird"),require("web3")):window.Pudding=a(Promise,web3)}).call(this);
{
"name": "ether-pudding",
"version": "0.0.6",
"version": "0.0.7",
"description": "Pudding - a (more) delightful Ethereum contract abstraction",

@@ -5,0 +5,0 @@ "author": "Tim Coulter",

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