UNPKG

@overgold/light-client

Version:

## Установка переменных

731 lines (485 loc) 21.5 kB
/*! * decimal.js v10.4.3 * An arbitrary-precision Decimal type for JavaScript. * https://github.com/MikeMcl/decimal.js * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com> * MIT Licence */ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */ /*! ../../../errors */ /*! ../errors */ /*! ./ */ /*! ./_Symbol */ /*! ./_baseGetTag */ /*! ./_freeGlobal */ /*! ./_getPrototype */ /*! ./_getRawTag */ /*! ./_objectToString */ /*! ./_overArg */ /*! ./_root */ /*! ./_stream_duplex */ /*! ./_stream_readable */ /*! ./_stream_transform */ /*! ./_stream_writable */ /*! ./_wordlists */ /*! ./coinFormatting */ /*! ./constant */ /*! ./default-encoding */ /*! ./end-of-stream */ /*! ./formats */ /*! ./hash */ /*! ./httpClient */ /*! ./implementation */ /*! ./internal/streams/async_iterator */ /*! ./internal/streams/buffer_list */ /*! ./internal/streams/destroy */ /*! ./internal/streams/from */ /*! ./internal/streams/state */ /*! ./internal/streams/stream */ /*! ./isObjectLike */ /*! ./isPlainObject */ /*! ./lib */ /*! ./lib/_stream_duplex.js */ /*! ./lib/_stream_passthrough.js */ /*! ./lib/_stream_readable.js */ /*! ./lib/_stream_transform.js */ /*! ./lib/_stream_writable.js */ /*! ./lib/async */ /*! ./lib/internal/streams/end-of-stream.js */ /*! ./lib/internal/streams/pipeline.js */ /*! ./lib/sync */ /*! ./messages */ /*! ./parse */ /*! ./precondition */ /*! ./query */ /*! ./sha */ /*! ./sha1 */ /*! ./sha224 */ /*! ./sha256 */ /*! ./sha384 */ /*! ./sha512 */ /*! ./shams */ /*! ./stringify */ /*! ./sync */ /*! ./to-buffer */ /*! ./type */ /*! ./updateEnv */ /*! ./util.inspect */ /*! ./utils */ /*! ./wordlists/chinese_simplified.json */ /*! ./wordlists/chinese_traditional.json */ /*! ./wordlists/czech.json */ /*! ./wordlists/english.json */ /*! ./wordlists/french.json */ /*! ./wordlists/italian.json */ /*! ./wordlists/japanese.json */ /*! ./wordlists/korean.json */ /*! ./wordlists/portuguese.json */ /*! ./wordlists/spanish.json */ /*! axios */ /*! base64-js */ /*! bech32 */ /*! bip39 */ /*! buffer */ /*! call-bind/callBound */ /*! cipher-base */ /*! create-hash */ /*! create-hash/md5 */ /*! decimal.js */ /*! define-data-property */ /*! es-define-property */ /*! es-errors */ /*! es-errors/eval */ /*! es-errors/range */ /*! es-errors/ref */ /*! es-errors/syntax */ /*! es-errors/type */ /*! es-errors/uri */ /*! events */ /*! function-bind */ /*! get-intrinsic */ /*! gopd */ /*! has-property-descriptors */ /*! has-proto */ /*! has-symbols */ /*! hash-base */ /*! hasown */ /*! ieee754 */ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ /*! inherits */ /*! js-client */ /*! lodash/isError */ /*! long */ /*! md5.js */ /*! object-inspect */ /*! pbkdf2 */ /*! qs */ /*! randombytes */ /*! readable-stream */ /*! readable-stream/lib/_stream_duplex.js */ /*! readable-stream/lib/_stream_passthrough.js */ /*! readable-stream/lib/_stream_readable.js */ /*! readable-stream/lib/_stream_transform.js */ /*! readable-stream/lib/_stream_writable.js */ /*! readable-stream/lib/internal/streams/end-of-stream.js */ /*! readable-stream/lib/internal/streams/pipeline.js */ /*! ripemd160 */ /*! safe-buffer */ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ /*! set-function-length */ /*! sha.js */ /*! side-channel */ /*! src/ */ /*! src/data */ /*! stream */ /*! string_decoder */ /*! string_decoder/ */ /*! util */ /*! util-deprecate */ /*!**********************!*\ !*** ./src/index.ts ***! \**********************/ /*!**********************!*\ !*** util (ignored) ***! \**********************/ /*!**************************!*\ !*** ./src/lib/index.ts ***! \**************************/ /*!***************************!*\ !*** ./src/data/index.ts ***! \***************************/ /*!****************************!*\ !*** ./src/query/index.ts ***! \****************************/ /*!******************************!*\ !*** ./src/data/constant.ts ***! \******************************/ /*!*******************************!*\ !*** ./src/messages/index.ts ***! \*******************************/ /*!********************************!*\ !*** ./src/data/httpClient.ts ***! \********************************/ /*!********************************!*\ !*** ./src/data/type/index.ts ***! \********************************/ /*!********************************!*\ !*** ./util.inspect (ignored) ***! \********************************/ /*!*********************************!*\ !*** ./src/data/utils/index.ts ***! \*********************************/ /*!************************************!*\ !*** ./node_modules/gopd/index.js ***! \************************************/ /*!************************************!*\ !*** ./node_modules/sha.js/sha.js ***! \************************************/ /*!*************************************!*\ !*** ./node_modules/sha.js/hash.js ***! \*************************************/ /*!*************************************!*\ !*** ./node_modules/sha.js/sha1.js ***! \*************************************/ /*!*************************************!*\ !*** ./src/data/utils/updateEnv.ts ***! \*************************************/ /*!**************************************!*\ !*** ./node_modules/buffer/index.js ***! \**************************************/ /*!**************************************!*\ !*** ./node_modules/hasown/index.js ***! \**************************************/ /*!**************************************!*\ !*** ./node_modules/lodash/_root.js ***! \**************************************/ /*!**************************************!*\ !*** ./node_modules/md5.js/index.js ***! \**************************************/ /*!**************************************!*\ !*** ./node_modules/qs/lib/index.js ***! \**************************************/ /*!**************************************!*\ !*** ./node_modules/qs/lib/parse.js ***! \**************************************/ /*!**************************************!*\ !*** ./node_modules/qs/lib/utils.js ***! \**************************************/ /*!**************************************!*\ !*** ./node_modules/sha.js/index.js ***! \**************************************/ /*!***************************************!*\ !*** ./node_modules/es-errors/ref.js ***! \***************************************/ /*!***************************************!*\ !*** ./node_modules/es-errors/uri.js ***! \***************************************/ /*!***************************************!*\ !*** ./node_modules/events/events.js ***! \***************************************/ /*!***************************************!*\ !*** ./node_modules/ieee754/index.js ***! \***************************************/ /*!***************************************!*\ !*** ./node_modules/long/src/long.js ***! \***************************************/ /*!***************************************!*\ !*** ./node_modules/sha.js/sha224.js ***! \***************************************/ /*!***************************************!*\ !*** ./node_modules/sha.js/sha256.js ***! \***************************************/ /*!***************************************!*\ !*** ./node_modules/sha.js/sha384.js ***! \***************************************/ /*!***************************************!*\ !*** ./node_modules/sha.js/sha512.js ***! \***************************************/ /*!****************************************!*\ !*** ./node_modules/es-errors/eval.js ***! \****************************************/ /*!****************************************!*\ !*** ./node_modules/es-errors/type.js ***! \****************************************/ /*!****************************************!*\ !*** ./node_modules/lodash/_Symbol.js ***! \****************************************/ /*!****************************************!*\ !*** ./node_modules/lodash/isError.js ***! \****************************************/ /*!****************************************!*\ !*** ./node_modules/pbkdf2/browser.js ***! \****************************************/ /*!****************************************!*\ !*** ./node_modules/qs/lib/formats.js ***! \****************************************/ /*!*****************************************!*\ !*** ./node_modules/base64-js/index.js ***! \*****************************************/ /*!*****************************************!*\ !*** ./node_modules/bip39/src/index.js ***! \*****************************************/ /*!*****************************************!*\ !*** ./node_modules/call-bind/index.js ***! \*****************************************/ /*!*****************************************!*\ !*** ./node_modules/create-hash/md5.js ***! \*****************************************/ /*!*****************************************!*\ !*** ./node_modules/es-errors/index.js ***! \*****************************************/ /*!*****************************************!*\ !*** ./node_modules/es-errors/range.js ***! \*****************************************/ /*!*****************************************!*\ !*** ./node_modules/has-proto/index.js ***! \*****************************************/ /*!*****************************************!*\ !*** ./node_modules/hash-base/index.js ***! \*****************************************/ /*!*****************************************!*\ !*** ./node_modules/lodash/_overArg.js ***! \*****************************************/ /*!*****************************************!*\ !*** ./node_modules/ripemd160/index.js ***! \*****************************************/ /*!******************************************!*\ !*** ./node_modules/es-errors/syntax.js ***! \******************************************/ /*!******************************************!*\ !*** ./node_modules/pbkdf2/lib/async.js ***! \******************************************/ /*!******************************************!*\ !*** ./node_modules/qs/lib/stringify.js ***! \******************************************/ /*!******************************************!*\ !*** ./src/data/utils/coinFormatting.ts ***! \******************************************/ /*!*******************************************!*\ !*** ./node_modules/bech32/dist/index.js ***! \*******************************************/ /*!*******************************************!*\ !*** ./node_modules/cipher-base/index.js ***! \*******************************************/ /*!*******************************************!*\ !*** ./node_modules/has-symbols/index.js ***! \*******************************************/ /*!*******************************************!*\ !*** ./node_modules/has-symbols/shams.js ***! \*******************************************/ /*!*******************************************!*\ !*** ./node_modules/lodash/_getRawTag.js ***! \*******************************************/ /*!*******************************************!*\ !*** ./node_modules/safe-buffer/index.js ***! \*******************************************/ /*!********************************************!*\ !*** ./node_modules/decimal.js/decimal.js ***! \********************************************/ /*!********************************************!*\ !*** ./node_modules/lodash/_baseGetTag.js ***! \********************************************/ /*!********************************************!*\ !*** ./node_modules/lodash/_freeGlobal.js ***! \********************************************/ /*!********************************************!*\ !*** ./node_modules/side-channel/index.js ***! \********************************************/ /*!*********************************************!*\ !*** ./node_modules/call-bind/callBound.js ***! \*********************************************/ /*!*********************************************!*\ !*** ./node_modules/create-hash/browser.js ***! \*********************************************/ /*!*********************************************!*\ !*** ./node_modules/function-bind/index.js ***! \*********************************************/ /*!*********************************************!*\ !*** ./node_modules/get-intrinsic/index.js ***! \*********************************************/ /*!*********************************************!*\ !*** ./node_modules/lodash/isObjectLike.js ***! \*********************************************/ /*!*********************************************!*\ !*** ./node_modules/randombytes/browser.js ***! \*********************************************/ /*!**********************************************!*\ !*** ./node_modules/bip39/src/_wordlists.js ***! \**********************************************/ /*!**********************************************!*\ !*** ./node_modules/lodash/_getPrototype.js ***! \**********************************************/ /*!**********************************************!*\ !*** ./node_modules/lodash/isPlainObject.js ***! \**********************************************/ /*!**********************************************!*\ !*** ./node_modules/object-inspect/index.js ***! \**********************************************/ /*!**********************************************!*\ !*** ./node_modules/pbkdf2/lib/to-buffer.js ***! \**********************************************/ /*!************************************************!*\ !*** ./node_modules/lodash/_objectToString.js ***! \************************************************/ /*!************************************************!*\ !*** ./node_modules/util-deprecate/browser.js ***! \************************************************/ /*!*************************************************!*\ !*** ./node_modules/pbkdf2/lib/precondition.js ***! \*************************************************/ /*!*************************************************!*\ !*** ./node_modules/pbkdf2/lib/sync-browser.js ***! \*************************************************/ /*!*************************************************!*\ !*** ./node_modules/stream-browserify/index.js ***! \*************************************************/ /*!**************************************************!*\ !*** ./node_modules/es-define-property/index.js ***! \**************************************************/ /*!***************************************************!*\ !*** ./node_modules/axios/dist/browser/axios.cjs ***! \***************************************************/ /*!***************************************************!*\ !*** ./node_modules/inherits/inherits_browser.js ***! \***************************************************/ /*!***************************************************!*\ !*** ./node_modules/set-function-length/index.js ***! \***************************************************/ /*!****************************************************!*\ !*** ./node_modules/define-data-property/index.js ***! \****************************************************/ /*!*****************************************************!*\ !*** ./node_modules/bip39/src/wordlists/czech.json ***! \*****************************************************/ /*!*****************************************************!*\ !*** ./node_modules/js-client/dist/index.bundle.js ***! \*****************************************************/ /*!*****************************************************!*\ !*** ./node_modules/pbkdf2/lib/default-encoding.js ***! \*****************************************************/ /*!******************************************************!*\ !*** ./node_modules/bip39/src/wordlists/french.json ***! \******************************************************/ /*!******************************************************!*\ !*** ./node_modules/bip39/src/wordlists/korean.json ***! \******************************************************/ /*!******************************************************!*\ !*** ./node_modules/function-bind/implementation.js ***! \******************************************************/ /*!*******************************************************!*\ !*** ./node_modules/bip39/src/wordlists/english.json ***! \*******************************************************/ /*!*******************************************************!*\ !*** ./node_modules/bip39/src/wordlists/italian.json ***! \*******************************************************/ /*!*******************************************************!*\ !*** ./node_modules/bip39/src/wordlists/spanish.json ***! \*******************************************************/ /*!********************************************************!*\ !*** ./node_modules/bip39/src/wordlists/japanese.json ***! \********************************************************/ /*!********************************************************!*\ !*** ./node_modules/has-property-descriptors/index.js ***! \********************************************************/ /*!********************************************************!*\ !*** ./node_modules/readable-stream/errors-browser.js ***! \********************************************************/ /*!**********************************************************!*\ !*** ./node_modules/bip39/src/wordlists/portuguese.json ***! \**********************************************************/ /*!**********************************************************!*\ !*** ./node_modules/readable-stream/readable-browser.js ***! \**********************************************************/ /*!***********************************************************!*\ !*** ./node_modules/string_decoder/lib/string_decoder.js ***! \***********************************************************/ /*!************************************************************!*\ !*** ./node_modules/readable-stream/lib/_stream_duplex.js ***! \************************************************************/ /*!**************************************************************!*\ !*** ./node_modules/readable-stream/lib/_stream_readable.js ***! \**************************************************************/ /*!**************************************************************!*\ !*** ./node_modules/readable-stream/lib/_stream_writable.js ***! \**************************************************************/ /*!***************************************************************!*\ !*** ./node_modules/readable-stream/lib/_stream_transform.js ***! \***************************************************************/ /*!*****************************************************************!*\ !*** ./node_modules/readable-stream/lib/_stream_passthrough.js ***! \*****************************************************************/ /*!******************************************************************!*\ !*** ./node_modules/bip39/src/wordlists/chinese_simplified.json ***! \******************************************************************/ /*!*******************************************************************!*\ !*** ./node_modules/bip39/src/wordlists/chinese_traditional.json ***! \*******************************************************************/ /*!********************************************************************!*\ !*** ./node_modules/readable-stream/lib/internal/streams/state.js ***! \********************************************************************/ /*!**********************************************************************!*\ !*** ./node_modules/readable-stream/lib/internal/streams/destroy.js ***! \**********************************************************************/ /*!***********************************************************************!*\ !*** ./node_modules/readable-stream/lib/internal/streams/pipeline.js ***! \***********************************************************************/ /*!**************************************************************************!*\ !*** ./node_modules/readable-stream/lib/internal/streams/buffer_list.js ***! \**************************************************************************/ /*!***************************************************************************!*\ !*** ./node_modules/readable-stream/lib/internal/streams/from-browser.js ***! \***************************************************************************/ /*!****************************************************************************!*\ !*** ./node_modules/readable-stream/lib/internal/streams/end-of-stream.js ***! \****************************************************************************/ /*!*****************************************************************************!*\ !*** ./node_modules/readable-stream/lib/internal/streams/async_iterator.js ***! \*****************************************************************************/ /*!*****************************************************************************!*\ !*** ./node_modules/readable-stream/lib/internal/streams/stream-browser.js ***! \*****************************************************************************/