UNPKG

keybase-proofs

Version:

Publicly-verifiable proofs of identity

42 lines (30 loc) 1.51 kB
// Generated by IcedCoffeeScript 108.0.11 (function() { var Base, UpdatePassphraseHash, constants, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; Base = require('./base').Base; constants = require('./constants').constants; exports.UpdatePassphraseHash = UpdatePassphraseHash = (function(_super) { __extends(UpdatePassphraseHash, _super); function UpdatePassphraseHash(obj) { this.update_passphrase_hash = obj.update_passphrase_hash; UpdatePassphraseHash.__super__.constructor.call(this, obj); } UpdatePassphraseHash.prototype._type = function() { return constants.sig_types.update_passphrase_hash; }; UpdatePassphraseHash.prototype._required_sections = function() { return UpdatePassphraseHash.__super__._required_sections.call(this).concat(["update_passphrase_hash"]); }; UpdatePassphraseHash.prototype._v_customize_json = function(ret) { return ret.body.update_passphrase_hash = this.update_passphrase_hash; }; UpdatePassphraseHash.prototype._json = function() { return UpdatePassphraseHash.__super__._json.call(this, { expire_in: 24 * 60 * 60 }); }; return UpdatePassphraseHash; })(Base); }).call(this);