mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 11:11:01 +00:00
1 line
4.0 KiB
Plaintext
1 line
4.0 KiB
Plaintext
{"dependencies":[{"name":"./util.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":18,"index":148},"end":{"line":4,"column":38,"index":168}}],"key":"RHtkf1pyimtRfZWAvWBZ833kE8E=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.createHeaderExtended = createHeaderExtended;\n const util_js_1 = require(_dependencyMap[0], \"./util.js\");\n function createHeaderExtended(registry, header, validators, author) {\n // an instance of the base extrinsic for us to extend\n const HeaderBase = registry.createClass('Header');\n class Implementation extends HeaderBase {\n #author;\n constructor(registry, header, validators, author) {\n super(registry, header);\n this.#author = author || (0, util_js_1.extractAuthor)(this.digest, validators || []);\n this.createdAtHash = header?.createdAtHash;\n }\n /**\n * @description Convenience method, returns the author for the block\n */\n get author() {\n return this.#author;\n }\n }\n return new Implementation(registry, header, validators, author);\n }\n});","lineCount":28,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"createHeaderExtended"],[7,30,3,28],[7,33,3,31,"createHeaderExtended"],[7,53,3,51],[8,2,4,0],[8,8,4,6,"util_js_1"],[8,17,4,15],[8,20,4,18,"require"],[8,27,4,25],[8,28,4,25,"_dependencyMap"],[8,42,4,25],[8,58,4,37],[8,59,4,38],[9,2,5,0],[9,11,5,9,"createHeaderExtended"],[9,31,5,29,"createHeaderExtended"],[9,32,5,30,"registry"],[9,40,5,38],[9,42,5,40,"header"],[9,48,5,46],[9,50,5,48,"validators"],[9,60,5,58],[9,62,5,60,"author"],[9,68,5,66],[9,70,5,68],[10,4,6,4],[11,4,7,4],[11,10,7,10,"HeaderBase"],[11,20,7,20],[11,23,7,23,"registry"],[11,31,7,31],[11,32,7,32,"createClass"],[11,43,7,43],[11,44,7,44],[11,52,7,52],[11,53,7,53],[12,4,8,4],[12,10,8,10,"Implementation"],[12,24,8,24],[12,33,8,33,"HeaderBase"],[12,43,8,43],[12,44,8,44],[13,6,9,8],[13,7,9,9,"author"],[13,13,9,15],[14,6,10,8,"constructor"],[14,17,10,19,"constructor"],[14,18,10,20,"registry"],[14,26,10,28],[14,28,10,30,"header"],[14,34,10,36],[14,36,10,38,"validators"],[14,46,10,48],[14,48,10,50,"author"],[14,54,10,56],[14,56,10,58],[15,8,11,12],[15,13,11,17],[15,14,11,18,"registry"],[15,22,11,26],[15,24,11,28,"header"],[15,30,11,34],[15,31,11,35],[16,8,12,12],[16,12,12,16],[16,13,12,17],[16,14,12,18,"author"],[16,20,12,24],[16,23,12,27,"author"],[16,29,12,33],[16,33,12,37],[16,34,12,38],[16,35,12,39],[16,37,12,41,"util_js_1"],[16,46,12,50],[16,47,12,51,"extractAuthor"],[16,60,12,64],[16,62,12,66],[16,66,12,70],[16,67,12,71,"digest"],[16,73,12,77],[16,75,12,79,"validators"],[16,85,12,89],[16,89,12,93],[16,91,12,95],[16,92,12,96],[17,8,13,12],[17,12,13,16],[17,13,13,17,"createdAtHash"],[17,26,13,30],[17,29,13,33,"header"],[17,35,13,39],[17,37,13,41,"createdAtHash"],[17,50,13,54],[18,6,14,8],[19,6,15,8],[20,0,16,0],[21,0,17,0],[22,6,18,8],[22,10,18,12,"author"],[22,16,18,18,"author"],[22,17,18,18],[22,19,18,21],[23,8,19,12],[23,15,19,19],[23,19,19,23],[23,20,19,24],[23,21,19,25,"author"],[23,27,19,31],[24,6,20,8],[25,4,21,4],[26,4,22,4],[26,11,22,11],[26,15,22,15,"Implementation"],[26,29,22,29],[26,30,22,30,"registry"],[26,38,22,38],[26,40,22,40,"header"],[26,46,22,46],[26,48,22,48,"validators"],[26,58,22,58],[26,60,22,60,"author"],[26,66,22,66],[26,67,22,67],[27,2,23,0],[28,0,23,1],[28,3]],"functionMap":{"names":["<global>","createHeaderExtended","Implementation","Implementation#constructor","Implementation#get__author"],"mappings":"AAA;ACI;ICG;QCE;SDI;QEI;SFE;KDC;CDE"},"hasCjsExports":true},"type":"js/module"}]} |