mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 13:31:00 +00:00
auto-commit for 9f0f8e53-0005-474a-b8c0-62af81dd2fd1
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[],"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.formatDecimal = formatDecimal;\n const NUMBER_REGEX = new RegExp('(\\\\d+?)(?=(\\\\d{3})+(?!\\\\d)|$)', 'g');\n /**\n * @name formatDecimal\n * @description Formats a number into string format with thousand separators\n */\n function formatDecimal(value, separator = ',') {\n // We can do this by adjusting the regx, however for the sake of clarity\n // we rather strip and re-add the negative sign in the output\n const isNegative = value[0].startsWith('-');\n const matched = isNegative ? value.substring(1).match(NUMBER_REGEX) : value.match(NUMBER_REGEX);\n return matched ? `${isNegative ? '-' : ''}${matched.join(separator)}` : value;\n }\n});","lineCount":20,"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,"formatDecimal"],[7,23,3,21],[7,26,3,24,"formatDecimal"],[7,39,3,37],[8,2,4,0],[8,8,4,6,"NUMBER_REGEX"],[8,20,4,18],[8,23,4,21],[8,27,4,25,"RegExp"],[8,33,4,31],[8,34,4,32],[8,65,4,63],[8,67,4,65],[8,70,4,68],[8,71,4,69],[9,2,5,0],[10,0,6,0],[11,0,7,0],[12,0,8,0],[13,2,9,0],[13,11,9,9,"formatDecimal"],[13,24,9,22,"formatDecimal"],[13,25,9,23,"value"],[13,30,9,28],[13,32,9,30,"separator"],[13,41,9,39],[13,44,9,42],[13,47,9,45],[13,49,9,47],[14,4,10,4],[15,4,11,4],[16,4,12,4],[16,10,12,10,"isNegative"],[16,20,12,20],[16,23,12,23,"value"],[16,28,12,28],[16,29,12,29],[16,30,12,30],[16,31,12,31],[16,32,12,32,"startsWith"],[16,42,12,42],[16,43,12,43],[16,46,12,46],[16,47,12,47],[17,4,13,4],[17,10,13,10,"matched"],[17,17,13,17],[17,20,13,20,"isNegative"],[17,30,13,30],[17,33,14,10,"value"],[17,38,14,15],[17,39,14,16,"substring"],[17,48,14,25],[17,49,14,26],[17,50,14,27],[17,51,14,28],[17,52,14,29,"match"],[17,57,14,34],[17,58,14,35,"NUMBER_REGEX"],[17,70,14,47],[17,71,14,48],[17,74,15,10,"value"],[17,79,15,15],[17,80,15,16,"match"],[17,85,15,21],[17,86,15,22,"NUMBER_REGEX"],[17,98,15,34],[17,99,15,35],[18,4,16,4],[18,11,16,11,"matched"],[18,18,16,18],[18,21,17,10],[18,24,17,13,"isNegative"],[18,34,17,23],[18,37,17,26],[18,40,17,29],[18,43,17,32],[18,45,17,34],[18,48,17,37,"matched"],[18,55,17,44],[18,56,17,45,"join"],[18,60,17,49],[18,61,17,50,"separator"],[18,70,17,59],[18,71,17,60],[18,73,17,62],[18,76,18,10,"value"],[18,81,18,15],[19,2,19,0],[20,0,19,1],[20,3]],"functionMap":{"names":["<global>","formatDecimal"],"mappings":"AAA;ACQ;CDU"},"hasCjsExports":true},"type":"js/module"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[],"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.createSeedDeriveFn = createSeedDeriveFn;\n function createSeedDeriveFn(fromSeed, derive) {\n return (keypair, {\n chainCode,\n isHard\n }) => {\n if (!isHard) {\n throw new Error('A soft key was found in the path and is not supported');\n }\n return fromSeed(derive(keypair.secretKey.subarray(0, 32), chainCode));\n };\n }\n});","lineCount":19,"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,"createSeedDeriveFn"],[7,28,3,26],[7,31,3,29,"createSeedDeriveFn"],[7,49,3,47],[8,2,4,0],[8,11,4,9,"createSeedDeriveFn"],[8,29,4,27,"createSeedDeriveFn"],[8,30,4,28,"fromSeed"],[8,38,4,36],[8,40,4,38,"derive"],[8,46,4,44],[8,48,4,46],[9,4,5,4],[9,11,5,11],[9,12,5,12,"keypair"],[9,19,5,19],[9,21,5,21],[10,6,5,23,"chainCode"],[10,15,5,32],[11,6,5,34,"isHard"],[12,4,5,41],[12,5,5,42],[12,10,5,47],[13,6,6,8],[13,10,6,12],[13,11,6,13,"isHard"],[13,17,6,19],[13,19,6,21],[14,8,7,12],[14,14,7,18],[14,18,7,22,"Error"],[14,23,7,27],[14,24,7,28],[14,79,7,83],[14,80,7,84],[15,6,8,8],[16,6,9,8],[16,13,9,15,"fromSeed"],[16,21,9,23],[16,22,9,24,"derive"],[16,28,9,30],[16,29,9,31,"keypair"],[16,36,9,38],[16,37,9,39,"secretKey"],[16,46,9,48],[16,47,9,49,"subarray"],[16,55,9,57],[16,56,9,58],[16,57,9,59],[16,59,9,61],[16,61,9,63],[16,62,9,64],[16,64,9,66,"chainCode"],[16,73,9,75],[16,74,9,76],[16,75,9,77],[17,4,10,4],[17,5,10,5],[18,2,11,0],[19,0,11,1],[19,3]],"functionMap":{"names":["<global>","createSeedDeriveFn","<anonymous>"],"mappings":"AAA;ACG;WCC;KDK;CDC"},"hasCjsExports":true},"type":"js/module"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"./encode.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":18,"index":185},"end":{"line":4,"column":40,"index":207}}],"key":"6FztT/DfTVBhkTe+9OSAQ47EebM=","exportNames":["*"],"imports":1}},{"name":"./isAddress.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":21,"index":359},"end":{"line":6,"column":46,"index":384}}],"key":"HJOiVYZeMv7xEsFn+JcFJa1E1z8=","exportNames":["*"],"imports":1}},{"name":"./isChecksum.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":8,"column":22,"index":546},"end":{"line":8,"column":48,"index":572}}],"key":"LS1hVyaYjysoPUQtgSPrwwrwJvY=","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.isEthereumChecksum = exports.isEthereumAddress = exports.ethereumEncode = void 0;\n var encode_js_1 = require(_dependencyMap[0], \"./encode.js\");\n Object.defineProperty(exports, \"ethereumEncode\", {\n enumerable: true,\n get: function () {\n return encode_js_1.ethereumEncode;\n }\n });\n var isAddress_js_1 = require(_dependencyMap[1], \"./isAddress.js\");\n Object.defineProperty(exports, \"isEthereumAddress\", {\n enumerable: true,\n get: function () {\n return isAddress_js_1.isEthereumAddress;\n }\n });\n var isChecksum_js_1 = require(_dependencyMap[2], \"./isChecksum.js\");\n Object.defineProperty(exports, \"isEthereumChecksum\", {\n enumerable: true,\n get: function () {\n return isChecksum_js_1.isEthereumChecksum;\n }\n });\n});","lineCount":29,"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,"isEthereumChecksum"],[7,28,3,26],[7,31,3,29,"exports"],[7,38,3,36],[7,39,3,37,"isEthereumAddress"],[7,56,3,54],[7,59,3,57,"exports"],[7,66,3,64],[7,67,3,65,"ethereumEncode"],[7,81,3,79],[7,84,3,82],[7,89,3,87],[7,90,3,88],[8,2,4,0],[8,6,4,4,"encode_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,60,4,39],[8,61,4,40],[9,2,5,0,"Object"],[9,8,5,6],[9,9,5,7,"defineProperty"],[9,23,5,21],[9,24,5,22,"exports"],[9,31,5,29],[9,33,5,31],[9,49,5,47],[9,51,5,49],[10,4,5,51,"enumerable"],[10,14,5,61],[10,16,5,63],[10,20,5,67],[11,4,5,69,"get"],[11,7,5,72],[11,9,5,74],[11,18,5,74,"get"],[11,19,5,74],[11,21,5,86],[12,6,5,88],[12,13,5,95,"encode_js_1"],[12,24,5,106],[12,25,5,107,"ethereumEncode"],[12,39,5,121],[13,4,5,123],[14,2,5,125],[14,3,5,126],[14,4,5,127],[15,2,6,0],[15,6,6,4,"isAddress_js_1"],[15,20,6,18],[15,23,6,21,"require"],[15,30,6,28],[15,31,6,28,"_dependencyMap"],[15,45,6,28],[15,66,6,45],[15,67,6,46],[16,2,7,0,"Object"],[16,8,7,6],[16,9,7,7,"defineProperty"],[16,23,7,21],[16,24,7,22,"exports"],[16,31,7,29],[16,33,7,31],[16,52,7,50],[16,54,7,52],[17,4,7,54,"enumerable"],[17,14,7,64],[17,16,7,66],[17,20,7,70],[18,4,7,72,"get"],[18,7,7,75],[18,9,7,77],[18,18,7,77,"get"],[18,19,7,77],[18,21,7,89],[19,6,7,91],[19,13,7,98,"isAddress_js_1"],[19,27,7,112],[19,28,7,113,"isEthereumAddress"],[19,45,7,130],[20,4,7,132],[21,2,7,134],[21,3,7,135],[21,4,7,136],[22,2,8,0],[22,6,8,4,"isChecksum_js_1"],[22,21,8,19],[22,24,8,22,"require"],[22,31,8,29],[22,32,8,29,"_dependencyMap"],[22,46,8,29],[22,68,8,47],[22,69,8,48],[23,2,9,0,"Object"],[23,8,9,6],[23,9,9,7,"defineProperty"],[23,23,9,21],[23,24,9,22,"exports"],[23,31,9,29],[23,33,9,31],[23,53,9,51],[23,55,9,53],[24,4,9,55,"enumerable"],[24,14,9,65],[24,16,9,67],[24,20,9,71],[25,4,9,73,"get"],[25,7,9,76],[25,9,9,78],[25,18,9,78,"get"],[25,19,9,78],[25,21,9,90],[26,6,9,92],[26,13,9,99,"isChecksum_js_1"],[26,28,9,114],[26,29,9,115,"isEthereumChecksum"],[26,47,9,133],[27,4,9,135],[28,2,9,137],[28,3,9,138],[28,4,9,139],[29,0,9,140],[29,3]],"functionMap":{"names":["<global>","Object.defineProperty$argument_2.get"],"mappings":"AAA;0ECI,kDD;6ECE,wDD;8ECE,0DD"},"hasCjsExports":true},"type":"js/module"}]}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"rxjs","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":15,"index":131},"end":{"line":4,"column":30,"index":146}}],"key":"atDzfUGaJNRNtwyVumomzH/5ygw=","exportNames":["*"],"imports":1}},{"name":"../util/index.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":19,"index":167},"end":{"line":5,"column":46,"index":194}}],"key":"H94lp+EitftSFqDHaenrSs5zKB0=","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.currentPoints = currentPoints;\n const rxjs_1 = require(_dependencyMap[0], \"rxjs\");\n const index_js_1 = require(_dependencyMap[1], \"../util/index.js\");\n /**\n * @name currentPoints\n * @description Retrieve the staking overview, including elected and points earned.\n * @example\n * ```javascript\n * const currentPoints = await api.derive.staking.currentPoints();\n * console.log(currentPoints.toHuman());\n * ```\n */\n function currentPoints(instanceId, api) {\n return (0, index_js_1.memo)(instanceId, () => api.derive.session.indexes().pipe((0, rxjs_1.switchMap)(({\n activeEra\n }) => api.query.staking.erasRewardPoints(activeEra))));\n }\n});","lineCount":24,"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,"currentPoints"],[7,23,3,21],[7,26,3,24,"currentPoints"],[7,39,3,37],[8,2,4,0],[8,8,4,6,"rxjs_1"],[8,14,4,12],[8,17,4,15,"require"],[8,24,4,22],[8,25,4,22,"_dependencyMap"],[8,39,4,22],[8,50,4,29],[8,51,4,30],[9,2,5,0],[9,8,5,6,"index_js_1"],[9,18,5,16],[9,21,5,19,"require"],[9,28,5,26],[9,29,5,26,"_dependencyMap"],[9,43,5,26],[9,66,5,45],[9,67,5,46],[10,2,6,0],[11,0,7,0],[12,0,8,0],[13,0,9,0],[14,0,10,0],[15,0,11,0],[16,0,12,0],[17,0,13,0],[18,0,14,0],[19,2,15,0],[19,11,15,9,"currentPoints"],[19,24,15,22,"currentPoints"],[19,25,15,23,"instanceId"],[19,35,15,33],[19,37,15,35,"api"],[19,40,15,38],[19,42,15,40],[20,4,16,4],[20,11,16,11],[20,12,16,12],[20,13,16,13],[20,15,16,15,"index_js_1"],[20,25,16,25],[20,26,16,26,"memo"],[20,30,16,30],[20,32,16,32,"instanceId"],[20,42,16,42],[20,44,16,44],[20,50,16,50,"api"],[20,53,16,53],[20,54,16,54,"derive"],[20,60,16,60],[20,61,16,61,"session"],[20,68,16,68],[20,69,16,69,"indexes"],[20,76,16,76],[20,77,16,77],[20,78,16,78],[20,79,16,79,"pipe"],[20,83,16,83],[20,84,16,84],[20,85,16,85],[20,86,16,86],[20,88,16,88,"rxjs_1"],[20,94,16,94],[20,95,16,95,"switchMap"],[20,104,16,104],[20,106,16,106],[20,107,16,107],[21,6,16,109,"activeEra"],[22,4,16,119],[22,5,16,120],[22,10,16,125,"api"],[22,13,16,128],[22,14,16,129,"query"],[22,19,16,134],[22,20,16,135,"staking"],[22,27,16,142],[22,28,16,143,"erasRewardPoints"],[22,44,16,159],[22,45,16,160,"activeEra"],[22,54,16,169],[22,55,16,170],[22,56,16,171],[22,57,16,172],[22,58,16,173],[23,2,17,0],[24,0,17,1],[24,3]],"functionMap":{"names":["<global>","currentPoints","<anonymous>"],"mappings":"AAA;ACc;4CCC,gID;CDC"},"hasCjsExports":true},"type":"js/module"}]}
|
||||
Reference in New Issue
Block a user