mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 16:51:02 +00:00
1 line
3.6 KiB
Plaintext
1 line
3.6 KiB
Plaintext
{"dependencies":[{"name":"./util.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":42,"index":42}}],"key":"+UpHPazG/Yk8JnTjB6d2Eo+vUl4=","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 var _utilJs = 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, _utilJs.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":[[7,2,2,0,"exports"],[7,9,2,0],[7,10,2,0,"createHeaderExtended"],[7,30,2,0],[7,33,2,0,"createHeaderExtended"],[7,53,2,0],[8,2,1,0],[8,6,1,0,"_utilJs"],[8,13,1,0],[8,16,1,0,"require"],[8,23,1,0],[8,24,1,0,"_dependencyMap"],[8,38,1,0],[9,2,2,7],[9,11,2,16,"createHeaderExtended"],[9,31,2,36,"createHeaderExtended"],[9,32,2,37,"registry"],[9,40,2,45],[9,42,2,47,"header"],[9,48,2,53],[9,50,2,55,"validators"],[9,60,2,65],[9,62,2,67,"author"],[9,68,2,73],[9,70,2,75],[10,4,3,4],[11,4,4,4],[11,10,4,10,"HeaderBase"],[11,20,4,20],[11,23,4,23,"registry"],[11,31,4,31],[11,32,4,32,"createClass"],[11,43,4,43],[11,44,4,44],[11,52,4,52],[11,53,4,53],[12,4,5,4],[12,10,5,10,"Implementation"],[12,24,5,24],[12,33,5,33,"HeaderBase"],[12,43,5,43],[12,44,5,44],[13,6,6,8],[13,7,6,9,"author"],[13,13,6,15],[14,6,7,8,"constructor"],[14,17,7,19,"constructor"],[14,18,7,20,"registry"],[14,26,7,28],[14,28,7,30,"header"],[14,34,7,36],[14,36,7,38,"validators"],[14,46,7,48],[14,48,7,50,"author"],[14,54,7,56],[14,56,7,58],[15,8,8,12],[15,13,8,17],[15,14,8,18,"registry"],[15,22,8,26],[15,24,8,28,"header"],[15,30,8,34],[15,31,8,35],[16,8,9,12],[16,12,9,16],[16,13,9,17],[16,14,9,18,"author"],[16,20,9,24],[16,23,9,27,"author"],[16,29,9,33],[16,33,9,37],[16,37,9,37,"extractAuthor"],[16,44,9,50],[16,45,9,50,"extractAuthor"],[16,58,9,50],[16,60,9,51],[16,64,9,55],[16,65,9,56,"digest"],[16,71,9,62],[16,73,9,64,"validators"],[16,83,9,74],[16,87,9,78],[16,89,9,80],[16,90,9,81],[17,8,10,12],[17,12,10,16],[17,13,10,17,"createdAtHash"],[17,26,10,30],[17,29,10,33,"header"],[17,35,10,39],[17,37,10,41,"createdAtHash"],[17,50,10,54],[18,6,11,8],[19,6,12,8],[20,0,13,0],[21,0,14,0],[22,6,15,8],[22,10,15,12,"author"],[22,16,15,18,"author"],[22,17,15,18],[22,19,15,21],[23,8,16,12],[23,15,16,19],[23,19,16,23],[23,20,16,24],[23,21,16,25,"author"],[23,27,16,31],[24,6,17,8],[25,4,18,4],[26,4,19,4],[26,11,19,11],[26,15,19,15,"Implementation"],[26,29,19,29],[26,30,19,30,"registry"],[26,38,19,38],[26,40,19,40,"header"],[26,46,19,46],[26,48,19,48,"validators"],[26,58,19,58],[26,60,19,60,"author"],[26,66,19,66],[26,67,19,67],[27,2,20,0],[28,0,20,1],[28,3]],"functionMap":{"names":["<global>","createHeaderExtended","Implementation","Implementation#constructor","Implementation#get__author"],"mappings":"AAA;OCC;ICG;QCE;SDI;QEI;SFE;KDC;CDE"},"hasCjsExports":false},"type":"js/module"}]} |