@airgap/coinlib-core 0.13.10 → 0.13.11-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -3
- package/actions/Action.d.ts +0 -24
- package/actions/Action.js +0 -119
- package/actions/Action.js.map +0 -1
- package/actions/LinkedAction.d.ts +0 -10
- package/actions/LinkedAction.js +0 -95
- package/actions/LinkedAction.js.map +0 -1
- package/actions/RepeatableAction.d.ts +0 -8
- package/actions/RepeatableAction.js +0 -92
- package/actions/RepeatableAction.js.map +0 -1
- package/actions/SimpleAction.d.ts +0 -7
- package/actions/SimpleAction.js +0 -80
- package/actions/SimpleAction.js.map +0 -1
- package/actions/StateMachine.d.ts +0 -9
- package/actions/StateMachine.js +0 -42
- package/actions/StateMachine.js.map +0 -1
- package/airgap-coinlib-core.min.js +0 -31685
- package/data/KeyPair.d.ts +0 -5
- package/data/KeyPair.js +0 -3
- package/data/KeyPair.js.map +0 -1
- package/data/Lazy.d.ts +0 -14
- package/data/Lazy.js +0 -83
- package/data/Lazy.js.map +0 -1
- package/data/RPCBody.d.ts +0 -7
- package/data/RPCBody.js +0 -16
- package/data/RPCBody.js.map +0 -1
- package/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.d.ts +0 -230
- package/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.js +0 -471
- package/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.js.map +0 -1
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.d.ts +0 -76
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.js +0 -455
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.js.map +0 -1
- package/dependencies/src/@stablelib/ed25519-1.0.3/packages/ed25519/ed25519.d.ts +0 -27
- package/dependencies/src/@stablelib/ed25519-1.0.3/packages/ed25519/ed25519.js +0 -848
- package/dependencies/src/@stablelib/ed25519-1.0.3/packages/ed25519/ed25519.js.map +0 -1
- package/dependencies/src/@stablelib/hash-1.0.1/packages/hash/hash.d.ts +0 -22
- package/dependencies/src/@stablelib/hash-1.0.1/packages/hash/hash.js +0 -14
- package/dependencies/src/@stablelib/hash-1.0.1/packages/hash/hash.js.map +0 -1
- package/dependencies/src/@stablelib/int-1.0.1/packages/int/int.d.ts +0 -29
- package/dependencies/src/@stablelib/int-1.0.1/packages/int/int.js +0 -63
- package/dependencies/src/@stablelib/int-1.0.1/packages/int/int.js.map +0 -1
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/random.d.ts +0 -36
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/random.js +0 -87
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/random.js.map +0 -1
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/browser.d.ts +0 -8
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/browser.js +0 -33
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/browser.js.map +0 -1
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/index.d.ts +0 -11
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/index.js +0 -5
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/index.js.map +0 -1
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/node.d.ts +0 -8
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/node.js +0 -43
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/node.js.map +0 -1
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/system.d.ts +0 -8
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/system.js +0 -37
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/system.js.map +0 -1
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.d.ts +0 -73
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.js +0 -552
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.js.map +0 -1
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.d.ts +0 -73
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.js +0 -552
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.js.map +0 -1
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.d.ts +0 -18
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.js +0 -29
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/codec.d.ts +0 -57
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/codec.js +0 -384
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/codec.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/constants.d.ts +0 -63
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/constants.js +0 -264
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/constants.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/decoder.d.ts +0 -5
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/decoder.js +0 -82
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/decoder.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/encoder.d.ts +0 -4
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/encoder.js +0 -67
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/encoder.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/error.d.ts +0 -89
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/error.js +0 -169
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/error.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/interface.d.ts +0 -9
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/interface.js +0 -3
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/interface.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/michelson/codec.d.ts +0 -42
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/michelson/codec.js +0 -270
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/michelson/codec.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/codec-proto14.d.ts +0 -15
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/codec-proto14.js +0 -80
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/codec-proto14.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/constants-proto14.d.ts +0 -12
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/constants-proto14.js +0 -184
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/constants-proto14.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.d.ts +0 -5
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.js +0 -81
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.d.ts +0 -4
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.js +0 -76
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/michelson/codec-proto14.d.ts +0 -14
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/michelson/codec-proto14.js +0 -150
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/michelson/codec-proto14.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/protocols.d.ts +0 -17
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/protocols.js +0 -41
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/protocols.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.d.ts +0 -150
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.js +0 -217
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging.d.ts +0 -26
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging.js +0 -115
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/uint8array-consumer.d.ts +0 -9
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/uint8array-consumer.js +0 -35
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/uint8array-consumer.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/utils.d.ts +0 -3
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/utils.js +0 -26
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/utils.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/validator.d.ts +0 -13
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/validator.js +0 -52
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/validator.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/version.d.ts +0 -4
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/version.js +0 -9
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/version.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/opkind.d.ts +0 -34
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/opkind.js +0 -39
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/opkind.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.d.ts +0 -1590
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.js +0 -35
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.js.map +0 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/constants.d.ts +0 -91
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/constants.js +0 -127
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/constants.js.map +0 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.d.ts +0 -145
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.js +0 -270
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.js.map +0 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.d.ts +0 -4
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.js +0 -33
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.js.map +0 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/taquito-utils.d.ts +0 -163
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/taquito-utils.js +0 -438
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/taquito-utils.js.map +0 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/validators.d.ts +0 -158
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/validators.js +0 -254
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/validators.js.map +0 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.d.ts +0 -24
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.js +0 -126
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.js.map +0 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/version.d.ts +0 -4
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/version.js +0 -9
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/version.js.map +0 -1
- package/dependencies/src/axios-0.19.0/index.d.ts +0 -152
- package/dependencies/src/axios-0.19.0/index.js +0 -1
- package/dependencies/src/axios-0.19.0/lib/adapters/http.js +0 -275
- package/dependencies/src/axios-0.19.0/lib/adapters/xhr.js +0 -174
- package/dependencies/src/axios-0.19.0/lib/axios.js +0 -53
- package/dependencies/src/axios-0.19.0/lib/cancel/Cancel.js +0 -19
- package/dependencies/src/axios-0.19.0/lib/cancel/CancelToken.js +0 -57
- package/dependencies/src/axios-0.19.0/lib/cancel/isCancel.js +0 -5
- package/dependencies/src/axios-0.19.0/lib/core/Axios.js +0 -86
- package/dependencies/src/axios-0.19.0/lib/core/InterceptorManager.js +0 -52
- package/dependencies/src/axios-0.19.0/lib/core/createError.js +0 -18
- package/dependencies/src/axios-0.19.0/lib/core/dispatchRequest.js +0 -86
- package/dependencies/src/axios-0.19.0/lib/core/enhanceError.js +0 -42
- package/dependencies/src/axios-0.19.0/lib/core/mergeConfig.js +0 -51
- package/dependencies/src/axios-0.19.0/lib/core/settle.js +0 -25
- package/dependencies/src/axios-0.19.0/lib/core/transformData.js +0 -20
- package/dependencies/src/axios-0.19.0/lib/defaults.js +0 -98
- package/dependencies/src/axios-0.19.0/lib/helpers/bind.js +0 -11
- package/dependencies/src/axios-0.19.0/lib/helpers/buildURL.js +0 -71
- package/dependencies/src/axios-0.19.0/lib/helpers/combineURLs.js +0 -14
- package/dependencies/src/axios-0.19.0/lib/helpers/cookies.js +0 -53
- package/dependencies/src/axios-0.19.0/lib/helpers/deprecatedMethod.js +0 -24
- package/dependencies/src/axios-0.19.0/lib/helpers/isAbsoluteURL.js +0 -14
- package/dependencies/src/axios-0.19.0/lib/helpers/isURLSameOrigin.js +0 -68
- package/dependencies/src/axios-0.19.0/lib/helpers/normalizeHeaderName.js +0 -12
- package/dependencies/src/axios-0.19.0/lib/helpers/parseHeaders.js +0 -53
- package/dependencies/src/axios-0.19.0/lib/helpers/spread.js +0 -27
- package/dependencies/src/axios-0.19.0/lib/utils.js +0 -334
- package/dependencies/src/axios-0.19.0/package.json +0 -85
- package/dependencies/src/base-x-3.0.7/src/index.d.ts +0 -10
- package/dependencies/src/base-x-3.0.7/src/index.js +0 -120
- package/dependencies/src/base64-js-1.3.1/index.js +0 -152
- package/dependencies/src/bech32-0.0.3/index.js +0 -139
- package/dependencies/src/bech32-1.1.3/index.js +0 -147
- package/dependencies/src/big-integer-1.6.45/BigInteger.d.ts +0 -2393
- package/dependencies/src/big-integer-1.6.45/BigInteger.js +0 -1452
- package/dependencies/src/bigi-1.4.2/lib/bigi.js +0 -1509
- package/dependencies/src/bigi-1.4.2/lib/convert.js +0 -91
- package/dependencies/src/bigi-1.4.2/lib/index.js +0 -6
- package/dependencies/src/bigi-1.4.2/package.json +0 -55
- package/dependencies/src/bignumber.js-9.0.0/bignumber.d.ts +0 -1829
- package/dependencies/src/bignumber.js-9.0.0/bignumber.js +0 -2902
- package/dependencies/src/bip32-2.0.4/src/bip32.js +0 -290
- package/dependencies/src/bip32-2.0.4/src/crypto.js +0 -26
- package/dependencies/src/bip32-2.0.4/src/index.js +0 -7
- package/dependencies/src/bip32-path-0.4.2/index.js +0 -96
- package/dependencies/src/bip39-2.5.0/index.js +0 -153
- package/dependencies/src/bip39-2.5.0/wordlists/chinese_simplified.json +0 -2050
- package/dependencies/src/bip39-2.5.0/wordlists/chinese_traditional.json +0 -2050
- package/dependencies/src/bip39-2.5.0/wordlists/english.json +0 -2050
- package/dependencies/src/bip39-2.5.0/wordlists/french.json +0 -2050
- package/dependencies/src/bip39-2.5.0/wordlists/italian.json +0 -2050
- package/dependencies/src/bip39-2.5.0/wordlists/japanese.json +0 -2050
- package/dependencies/src/bip39-2.5.0/wordlists/korean.json +0 -2050
- package/dependencies/src/bip39-2.5.0/wordlists/spanish.json +0 -2050
- package/dependencies/src/bip66-1.1.5/index.js +0 -113
- package/dependencies/src/bitcoin-ops-1.4.1/index.json +0 -120
- package/dependencies/src/bitcoin-ops-1.4.1/map.js +0 -9
- package/dependencies/src/bitcoinjs-message-2.1.1/index.js +0 -157
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/address.js +0 -109
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/block.js +0 -234
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/bufferWriter.js +0 -40
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/bufferutils.js +0 -65
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/coins.js +0 -53
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/crypto.js +0 -43
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/ecdsa.js +0 -161
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/ecpair.js +0 -155
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/ecsignature.js +0 -97
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/fastcurve.js +0 -92
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/hdnode.js +0 -363
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index.js +0 -24
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/networks.js +0 -214
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/script.js +0 -214
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/script_number.js +0 -68
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/index.js +0 -74
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/multisig/index.js +0 -4
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/multisig/input.js +0 -71
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/multisig/output.js +0 -64
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/nulldata.js +0 -39
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/pubkey/index.js +0 -4
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/pubkey/input.js +0 -39
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/pubkey/output.js +0 -33
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/pubkeyhash/index.js +0 -4
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/pubkeyhash/input.js +0 -51
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/pubkeyhash/output.js +0 -42
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/scripthash/index.js +0 -4
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/scripthash/input.js +0 -84
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/scripthash/output.js +0 -34
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/witnesscommitment/index.js +0 -3
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/witnesscommitment/output.js +0 -42
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/witnesspubkeyhash/index.js +0 -4
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/witnesspubkeyhash/input.js +0 -44
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/witnesspubkeyhash/output.js +0 -33
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/witnessscripthash/index.js +0 -4
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/witnessscripthash/input.js +0 -63
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/templates/witnessscripthash/output.js +0 -33
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/transaction.js +0 -1125
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/transaction_builder.js +0 -892
- package/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/types.js +0 -55
- package/dependencies/src/blake2b-6268e6dd678661e0acc4359e9171b97eb1ebf8ac/index.js +0 -313
- package/dependencies/src/blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/blake2b.js +0 -63
- package/dependencies/src/blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/index.js +0 -128
- package/dependencies/src/blakejs-1.1.0/blake2b.js +0 -273
- package/dependencies/src/blakejs-1.1.0/blake2s.js +0 -190
- package/dependencies/src/blakejs-1.1.0/index.js +0 -15
- package/dependencies/src/blakejs-1.1.0/util.js +0 -81
- package/dependencies/src/bn.js-4.11.8/lib/bn.js +0 -3427
- package/dependencies/src/brorand-1.1.0/index.js +0 -65
- package/dependencies/src/bs58-4.0.1/index.js +0 -4
- package/dependencies/src/bs58check-2.1.2/base.js +0 -50
- package/dependencies/src/bs58check-2.1.2/index.js +0 -12
- package/dependencies/src/bs58grscheck-2.1.2/base.js +0 -50
- package/dependencies/src/bs58grscheck-2.1.2/index.js +0 -12
- package/dependencies/src/buffer-5.6.0/index.d.ts +0 -186
- package/dependencies/src/buffer-5.6.0/index.js +0 -1794
- package/dependencies/src/buffer-equals-1.0.4/index.js +0 -26
- package/dependencies/src/cbor-sync-1.0.4/index.d.ts +0 -11
- package/dependencies/src/cbor-sync-1.0.4/index.js +0 -632
- package/dependencies/src/cipher-base-1.0.4/index.js +0 -99
- package/dependencies/src/cosmjs/index.d.ts +0 -379
- package/dependencies/src/cosmjs/index.js +0 -1297
- package/dependencies/src/cosmjs/index.js.map +0 -1
- package/dependencies/src/create-hash-1.2.0/browser.js +0 -30
- package/dependencies/src/create-hash-1.2.0/index.js +0 -1
- package/dependencies/src/create-hash-1.2.0/md5.js +0 -5
- package/dependencies/src/create-hmac-1.1.4/browser.js +0 -68
- package/dependencies/src/create-hmac-1.1.4/index.js +0 -1
- package/dependencies/src/create-hmac-1.1.7/browser.js +0 -62
- package/dependencies/src/create-hmac-1.1.7/legacy.js +0 -46
- package/dependencies/src/cryptocompare-0.5.0/index.js +0 -138
- package/dependencies/src/cuint-0.2.2/index.js +0 -2
- package/dependencies/src/cuint-0.2.2/lib/uint32.js +0 -451
- package/dependencies/src/cuint-0.2.2/lib/uint64.js +0 -648
- package/dependencies/src/debug-3.1.0/src/browser.js +0 -195
- package/dependencies/src/debug-3.1.0/src/debug.js +0 -225
- package/dependencies/src/drbg.js-1.0.1/hash.js +0 -92
- package/dependencies/src/drbg.js-1.0.1/hmac.js +0 -71
- package/dependencies/src/drbg.js-1.0.1/index.js +0 -4
- package/dependencies/src/drbg.js-1.0.1/lib/hash-info.json +0 -27
- package/dependencies/src/drbg.js-1.0.1/lib/util.js +0 -36
- package/dependencies/src/eciesjs-0.3.9/src/index.d.ts +0 -12
- package/dependencies/src/eciesjs-0.3.9/src/index.js +0 -35
- package/dependencies/src/eciesjs-0.3.9/src/index.js.map +0 -1
- package/dependencies/src/eciesjs-0.3.9/src/keys/PrivateKey.d.ts +0 -12
- package/dependencies/src/eciesjs-0.3.9/src/keys/PrivateKey.js +0 -62
- package/dependencies/src/eciesjs-0.3.9/src/keys/PrivateKey.js.map +0 -1
- package/dependencies/src/eciesjs-0.3.9/src/keys/PublicKey.d.ts +0 -11
- package/dependencies/src/eciesjs-0.3.9/src/keys/PublicKey.js +0 -65
- package/dependencies/src/eciesjs-0.3.9/src/keys/PublicKey.js.map +0 -1
- package/dependencies/src/eciesjs-0.3.9/src/keys/index.d.ts +0 -2
- package/dependencies/src/eciesjs-0.3.9/src/keys/index.js +0 -11
- package/dependencies/src/eciesjs-0.3.9/src/keys/index.js.map +0 -1
- package/dependencies/src/eciesjs-0.3.9/src/utils.d.ts +0 -6
- package/dependencies/src/eciesjs-0.3.9/src/utils.js +0 -65
- package/dependencies/src/eciesjs-0.3.9/src/utils.js.map +0 -1
- package/dependencies/src/ecurve-1.0.6/lib/curve.js +0 -77
- package/dependencies/src/ecurve-1.0.6/lib/curves.json +0 -65
- package/dependencies/src/ecurve-1.0.6/lib/index.js +0 -10
- package/dependencies/src/ecurve-1.0.6/lib/names.js +0 -21
- package/dependencies/src/ecurve-1.0.6/lib/point.js +0 -244
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/curve/base.js +0 -374
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/curve/edwards.js +0 -432
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/curve/index.js +0 -8
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/curve/mont.js +0 -178
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/curve/short.js +0 -937
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/curves.js +0 -206
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/ec/index.js +0 -241
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/ec/key.js +0 -118
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/ec/signature.js +0 -134
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/eddsa/index.js +0 -118
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/eddsa/key.js +0 -95
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/eddsa/signature.js +0 -65
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/precomputed/secp256k1.js +0 -780
- package/dependencies/src/elliptic-6.5.1/lib/elliptic/utils.js +0 -120
- package/dependencies/src/elliptic-6.5.1/lib/elliptic.js +0 -13
- package/dependencies/src/elliptic-6.5.1/package.json +0 -55
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/curve/base.js +0 -376
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/curve/edwards.js +0 -432
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/curve/index.js +0 -8
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/curve/mont.js +0 -178
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/curve/short.js +0 -937
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/curves.js +0 -206
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/ec/index.js +0 -241
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/ec/key.js +0 -118
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/ec/signature.js +0 -166
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/eddsa/index.js +0 -118
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/eddsa/key.js +0 -95
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/eddsa/signature.js +0 -65
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/precomputed/secp256k1.js +0 -780
- package/dependencies/src/elliptic-6.5.3/lib/elliptic/utils.js +0 -119
- package/dependencies/src/elliptic-6.5.3/lib/elliptic.js +0 -13
- package/dependencies/src/elliptic-6.5.3/package.json +0 -55
- package/dependencies/src/ethereum-common-0.2.1/bootstrapNodes.json +0 -92
- package/dependencies/src/ethereum-common-0.2.1/genesisState.json +0 -8895
- package/dependencies/src/ethereum-common-0.2.1/index.js +0 -4
- package/dependencies/src/ethereum-common-0.2.1/params.json +0 -245
- package/dependencies/src/ethereumjs-tx-1.3.7/index.js +0 -298
- package/dependencies/src/ethereumjs-util-5.2.0/index.js +0 -714
- package/dependencies/src/ethjs-util-0.1.4/src/index.js +0 -203
- package/dependencies/src/follow-redirects-1.5.10/http.js +0 -1
- package/dependencies/src/follow-redirects-1.5.10/https.js +0 -1
- package/dependencies/src/follow-redirects-1.5.10/index.js +0 -322
- package/dependencies/src/futoin-hkdf-1.3.3/hkdf.d.ts +0 -29
- package/dependencies/src/futoin-hkdf-1.3.3/hkdf.js +0 -174
- package/dependencies/src/groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index.js +0 -39
- package/dependencies/src/groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/lib/groestl.js +0 -1248
- package/dependencies/src/groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/lib/helper.js +0 -253
- package/dependencies/src/groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/lib/op.js +0 -462
- package/dependencies/src/groestlcoinjs-message-2.1.0/index.js +0 -245
- package/dependencies/src/hash-base-3.0.4/index.js +0 -95
- package/dependencies/src/hash.js-1.1.7/lib/hash/common.js +0 -92
- package/dependencies/src/hash.js-1.1.7/lib/hash/hmac.js +0 -47
- package/dependencies/src/hash.js-1.1.7/lib/hash/ripemd.js +0 -146
- package/dependencies/src/hash.js-1.1.7/lib/hash/sha/1.js +0 -74
- package/dependencies/src/hash.js-1.1.7/lib/hash/sha/224.js +0 -30
- package/dependencies/src/hash.js-1.1.7/lib/hash/sha/256.js +0 -105
- package/dependencies/src/hash.js-1.1.7/lib/hash/sha/384.js +0 -35
- package/dependencies/src/hash.js-1.1.7/lib/hash/sha/512.js +0 -330
- package/dependencies/src/hash.js-1.1.7/lib/hash/sha/common.js +0 -49
- package/dependencies/src/hash.js-1.1.7/lib/hash/sha.js +0 -7
- package/dependencies/src/hash.js-1.1.7/lib/hash/utils.js +0 -278
- package/dependencies/src/hash.js-1.1.7/lib/hash.js +0 -15
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/hd-key.d.ts +0 -15
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/hd-key.js +0 -101
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/hd-key.js.map +0 -1
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/hd-wallet.d.ts +0 -3
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/hd-wallet.js +0 -37
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/hd-wallet.js.map +0 -1
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/index.d.ts +0 -1
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/index.js +0 -34
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/index.js.map +0 -1
- package/dependencies/src/hmac-drbg-1.0.1/lib/hmac-drbg.js +0 -113
- package/dependencies/src/idna-uts46-hx-3.4.0/idna-map.js +0 -23865
- package/dependencies/src/idna-uts46-hx-3.4.0/index.d.ts +0 -6
- package/dependencies/src/idna-uts46-hx-3.4.0/uts46.js +0 -170
- package/dependencies/src/ieee754-1.1.13/index.js +0 -84
- package/dependencies/src/inherits-2.0.4/inherits.js +0 -9
- package/dependencies/src/inherits-2.0.4/inherits_browser.js +0 -27
- package/dependencies/src/is-buffer-2.0.3/index.js +0 -11
- package/dependencies/src/is-hex-prefixed-1.0.0/src/index.js +0 -13
- package/dependencies/src/js-cuint-0.2.2/index.js +0 -2
- package/dependencies/src/js-cuint-0.2.2/lib/uint32.js +0 -451
- package/dependencies/src/js-cuint-0.2.2/lib/uint64.js +0 -648
- package/dependencies/src/keccak-1.0.2/js.js +0 -2
- package/dependencies/src/keccak-1.0.2/lib/api/index.js +0 -28
- package/dependencies/src/keccak-1.0.2/lib/api/keccak.js +0 -83
- package/dependencies/src/keccak-1.0.2/lib/api/shake.js +0 -74
- package/dependencies/src/keccak-1.0.2/lib/keccak-state.js +0 -187
- package/dependencies/src/keccak-1.0.2/lib/keccak.js +0 -69
- package/dependencies/src/md5.js-1.3.5/index.js +0 -146
- package/dependencies/src/merkle-lib-2.0.10/fastRoot.js +0 -24
- package/dependencies/src/merkle-lib-2.0.10/index.js +0 -34
- package/dependencies/src/minimalistic-assert-1.0.1/index.js +0 -11
- package/dependencies/src/minimalistic-crypto-utils-1.0.1/lib/utils.js +0 -58
- package/dependencies/src/ms-2.1.2/index.js +0 -162
- package/dependencies/src/nan-2.14.0/include_dirs.js +0 -1
- package/dependencies/src/nanoassert-1.1.0/index.js +0 -22
- package/dependencies/src/pako-2.0.3/index.js +0 -18
- package/dependencies/src/pako-2.0.3/lib/deflate.js +0 -373
- package/dependencies/src/pako-2.0.3/lib/inflate.js +0 -402
- package/dependencies/src/pako-2.0.3/lib/utils/common.js +0 -48
- package/dependencies/src/pako-2.0.3/lib/utils/strings.js +0 -187
- package/dependencies/src/pako-2.0.3/lib/zlib/adler32.js +0 -50
- package/dependencies/src/pako-2.0.3/lib/zlib/constants.js +0 -66
- package/dependencies/src/pako-2.0.3/lib/zlib/crc32.js +0 -58
- package/dependencies/src/pako-2.0.3/lib/zlib/deflate.js +0 -1849
- package/dependencies/src/pako-2.0.3/lib/zlib/gzheader.js +0 -58
- package/dependencies/src/pako-2.0.3/lib/zlib/inffast.js +0 -347
- package/dependencies/src/pako-2.0.3/lib/zlib/inflate.js +0 -1625
- package/dependencies/src/pako-2.0.3/lib/zlib/inftrees.js +0 -462
- package/dependencies/src/pako-2.0.3/lib/zlib/messages.js +0 -32
- package/dependencies/src/pako-2.0.3/lib/zlib/trees.js +0 -1192
- package/dependencies/src/pako-2.0.3/lib/zlib/zstream.js +0 -47
- package/dependencies/src/pbkdf2-3.0.17/bench/index.js +0 -35
- package/dependencies/src/pbkdf2-3.0.17/bench/old.js +0 -47
- package/dependencies/src/pbkdf2-3.0.17/browser.js +0 -2
- package/dependencies/src/pbkdf2-3.0.17/index.js +0 -31
- package/dependencies/src/pbkdf2-3.0.17/lib/async.js +0 -100
- package/dependencies/src/pbkdf2-3.0.17/lib/default-encoding.js +0 -10
- package/dependencies/src/pbkdf2-3.0.17/lib/precondition.js +0 -28
- package/dependencies/src/pbkdf2-3.0.17/lib/sync-browser.js +0 -104
- package/dependencies/src/pbkdf2-3.0.17/lib/sync.js +0 -51
- package/dependencies/src/punycode-2.1.1/punycode.js +0 -429
- package/dependencies/src/pushdata-bitcoin-1.0.1/index.js +0 -77
- package/dependencies/src/randombytes-2.1.0/browser.js +0 -50
- package/dependencies/src/randombytes-2.1.0/index.js +0 -1
- package/dependencies/src/ripemd160-2.0.2/index.js +0 -163
- package/dependencies/src/rlp-2.2.3/index.js +0 -230
- package/dependencies/src/safe-buffer-5.2.0/index.js +0 -64
- package/dependencies/src/secp256k1-3.7.1/elliptic.js +0 -2
- package/dependencies/src/secp256k1-3.7.1/lib/assert.js +0 -44
- package/dependencies/src/secp256k1-3.7.1/lib/der.js +0 -193
- package/dependencies/src/secp256k1-3.7.1/lib/elliptic/index.js +0 -263
- package/dependencies/src/secp256k1-3.7.1/lib/index.js +0 -245
- package/dependencies/src/secp256k1-3.7.1/lib/messages.json +0 -37
- package/dependencies/src/secp256k1-4.0.2/elliptic.js +0 -1
- package/dependencies/src/secp256k1-4.0.2/lib/elliptic.js +0 -402
- package/dependencies/src/secp256k1-4.0.2/lib/index.js +0 -336
- package/dependencies/src/sha.js-2.4.11/hash.js +0 -81
- package/dependencies/src/sha.js-2.4.11/index.js +0 -16
- package/dependencies/src/sha.js-2.4.11/sha.js +0 -94
- package/dependencies/src/sha.js-2.4.11/sha1.js +0 -99
- package/dependencies/src/sha.js-2.4.11/sha224.js +0 -53
- package/dependencies/src/sha.js-2.4.11/sha256.js +0 -135
- package/dependencies/src/sha.js-2.4.11/sha384.js +0 -57
- package/dependencies/src/sha.js-2.4.11/sha512.js +0 -260
- package/dependencies/src/strip-hex-prefix-1.0.0/src/index.js +0 -14
- package/dependencies/src/tiny-secp256k1-1.1.3/js.js +0 -276
- package/dependencies/src/tiny-secp256k1-1.1.3/rfc6979.js +0 -62
- package/dependencies/src/tweetnacl-1.0.1/nacl.d.ts +0 -98
- package/dependencies/src/tweetnacl-1.0.1/nacl.js +0 -1164
- package/dependencies/src/tweetnacl-auth-1.0.1/nacl-auth.js +0 -47
- package/dependencies/src/typedarray-to-buffer-4.0.0/index.js +0 -17
- package/dependencies/src/typeforce-1.18.0/errors.js +0 -110
- package/dependencies/src/typeforce-1.18.0/extra.js +0 -91
- package/dependencies/src/typeforce-1.18.0/index.js +0 -260
- package/dependencies/src/typeforce-1.18.0/native.js +0 -21
- package/dependencies/src/unorm-1.6.0/lib/unorm.js +0 -452
- package/dependencies/src/utf8-3.0.0/utf8.js +0 -202
- package/dependencies/src/validate.js-0.13.1/validate.d.ts +0 -55
- package/dependencies/src/validate.js-0.13.1/validate.js +0 -1253
- package/dependencies/src/varuint-bitcoin-1.1.2/index.d.ts +0 -13
- package/dependencies/src/varuint-bitcoin-1.1.2/index.js +0 -90
- package/dependencies/src/wif-2.0.6/index.js +0 -63
- package/dependencies/src/xxhashjs-0.2.2/lib/index.js +0 -4
- package/dependencies/src/xxhashjs-0.2.2/lib/xxhash.js +0 -389
- package/dependencies/src/xxhashjs-0.2.2/lib/xxhash64.js +0 -444
- package/errors/coinlib-error.d.ts +0 -30
- package/errors/coinlib-error.js +0 -62
- package/errors/coinlib-error.js.map +0 -1
- package/errors/index.d.ts +0 -156
- package/errors/index.js +0 -281
- package/errors/index.js.map +0 -1
- package/errors/network.d.ts +0 -0
- package/errors/network.js +0 -2
- package/errors/network.js.map +0 -1
- package/index.d.ts +0 -33
- package/index.js +0 -58
- package/index.js.map +0 -1
- package/interfaces/IAirGapAddress.d.ts +0 -10
- package/interfaces/IAirGapAddress.js +0 -3
- package/interfaces/IAirGapAddress.js.map +0 -1
- package/interfaces/IAirGapSignedTransaction.d.ts +0 -1
- package/interfaces/IAirGapSignedTransaction.js +0 -3
- package/interfaces/IAirGapSignedTransaction.js.map +0 -1
- package/interfaces/IAirGapTransaction.d.ts +0 -53
- package/interfaces/IAirGapTransaction.js +0 -22
- package/interfaces/IAirGapTransaction.js.map +0 -1
- package/interfaces/IAirGapWallet.d.ts +0 -6
- package/interfaces/IAirGapWallet.js +0 -3
- package/interfaces/IAirGapWallet.js.map +0 -1
- package/interfaces/JSONConvertible.d.ts +0 -3
- package/interfaces/JSONConvertible.js +0 -3
- package/interfaces/JSONConvertible.js.map +0 -1
- package/interfaces/RPCConvertible.d.ts +0 -3
- package/interfaces/RPCConvertible.js +0 -3
- package/interfaces/RPCConvertible.js.map +0 -1
- package/networks.d.ts +0 -19
- package/networks.js +0 -1341
- package/networks.js.map +0 -1
- package/protocols/BlockExplorerProtocol.d.ts +0 -6
- package/protocols/BlockExplorerProtocol.js +0 -60
- package/protocols/BlockExplorerProtocol.js.map +0 -1
- package/protocols/CryptoClient.d.ts +0 -15
- package/protocols/CryptoClient.js +0 -84
- package/protocols/CryptoClient.js.map +0 -1
- package/protocols/Ed25519CryptoClient.d.ts +0 -8
- package/protocols/Ed25519CryptoClient.js +0 -107
- package/protocols/Ed25519CryptoClient.js.map +0 -1
- package/protocols/HasConfigurableContract.d.ts +0 -4
- package/protocols/HasConfigurableContract.js +0 -3
- package/protocols/HasConfigurableContract.js.map +0 -1
- package/protocols/ICoinBaseProtocol.d.ts +0 -107
- package/protocols/ICoinBaseProtocol.js +0 -3
- package/protocols/ICoinBaseProtocol.js.map +0 -1
- package/protocols/ICoinDelegateProtocol.d.ts +0 -40
- package/protocols/ICoinDelegateProtocol.js +0 -3
- package/protocols/ICoinDelegateProtocol.js.map +0 -1
- package/protocols/ICoinOfflineProtocol.d.ts +0 -24
- package/protocols/ICoinOfflineProtocol.js +0 -3
- package/protocols/ICoinOfflineProtocol.js.map +0 -1
- package/protocols/ICoinOnlineProtocol.d.ts +0 -46
- package/protocols/ICoinOnlineProtocol.js +0 -3
- package/protocols/ICoinOnlineProtocol.js.map +0 -1
- package/protocols/ICoinProtocol.d.ts +0 -9
- package/protocols/ICoinProtocol.js +0 -3
- package/protocols/ICoinProtocol.js.map +0 -1
- package/protocols/ICoinSubProtocol.d.ts +0 -22
- package/protocols/ICoinSubProtocol.js +0 -9
- package/protocols/ICoinSubProtocol.js.map +0 -1
- package/protocols/NonExtendedProtocol.d.ts +0 -17
- package/protocols/NonExtendedProtocol.js +0 -49
- package/protocols/NonExtendedProtocol.js.map +0 -1
- package/protocols/Secp256k1CryptoClient.d.ts +0 -8
- package/protocols/Secp256k1CryptoClient.js +0 -79
- package/protocols/Secp256k1CryptoClient.js.map +0 -1
- package/protocols/Sr25519CryptoClient.d.ts +0 -8
- package/protocols/Sr25519CryptoClient.js +0 -82
- package/protocols/Sr25519CryptoClient.js.map +0 -1
- package/types/signed-transaction.d.ts +0 -4
- package/types/signed-transaction.js +0 -3
- package/types/signed-transaction.js.map +0 -1
- package/types/unsigned-transaction.d.ts +0 -5
- package/types/unsigned-transaction.js +0 -3
- package/types/unsigned-transaction.js.map +0 -1
- package/utils/AES.d.ts +0 -10
- package/utils/AES.js +0 -165
- package/utils/AES.js.map +0 -1
- package/utils/ErrorWithData.d.ts +0 -4
- package/utils/ErrorWithData.js +0 -29
- package/utils/ErrorWithData.js.map +0 -1
- package/utils/Network.d.ts +0 -2
- package/utils/Network.js +0 -8
- package/utils/Network.js.map +0 -1
- package/utils/ProtocolBlockExplorer.d.ts +0 -6
- package/utils/ProtocolBlockExplorer.js +0 -11
- package/utils/ProtocolBlockExplorer.js.map +0 -1
- package/utils/ProtocolNetwork.d.ts +0 -15
- package/utils/ProtocolNetwork.js +0 -35
- package/utils/ProtocolNetwork.js.map +0 -1
- package/utils/ProtocolOptions.d.ts +0 -5
- package/utils/ProtocolOptions.js +0 -3
- package/utils/ProtocolOptions.js.map +0 -1
- package/utils/ProtocolSymbols.d.ts +0 -45
- package/utils/ProtocolSymbols.js +0 -59
- package/utils/ProtocolSymbols.js.map +0 -1
- package/utils/array.d.ts +0 -4
- package/utils/array.js +0 -36
- package/utils/array.js.map +0 -1
- package/utils/assert.d.ts +0 -2
- package/utils/assert.js +0 -20
- package/utils/assert.js.map +0 -1
- package/utils/base64Check.d.ts +0 -7
- package/utils/base64Check.js +0 -39
- package/utils/base64Check.js.map +0 -1
- package/utils/blake2b.d.ts +0 -7
- package/utils/blake2b.js +0 -23
- package/utils/blake2b.js.map +0 -1
- package/utils/buffer.d.ts +0 -2
- package/utils/buffer.js +0 -8
- package/utils/buffer.js.map +0 -1
- package/utils/cache.d.ts +0 -15
- package/utils/cache.js +0 -97
- package/utils/cache.js.map +0 -1
- package/utils/error.d.ts +0 -1
- package/utils/error.js +0 -8
- package/utils/error.js.map +0 -1
- package/utils/hex.d.ts +0 -14
- package/utils/hex.js +0 -112
- package/utils/hex.js.map +0 -1
- package/utils/interfaces.d.ts +0 -3
- package/utils/interfaces.js +0 -18
- package/utils/interfaces.js.map +0 -1
- package/utils/object.d.ts +0 -1
- package/utils/object.js +0 -23
- package/utils/object.js.map +0 -1
- package/utils/padStart.d.ts +0 -1
- package/utils/padStart.js +0 -20
- package/utils/padStart.js.map +0 -1
- package/utils/remote-data/HttpRemoteData.d.ts +0 -8
- package/utils/remote-data/HttpRemoteData.js +0 -117
- package/utils/remote-data/HttpRemoteData.js.map +0 -1
- package/utils/remote-data/IpfsRemoteData.d.ts +0 -8
- package/utils/remote-data/IpfsRemoteData.js +0 -142
- package/utils/remote-data/IpfsRemoteData.js.map +0 -1
- package/utils/remote-data/RemoteData.d.ts +0 -11
- package/utils/remote-data/RemoteData.js +0 -11
- package/utils/remote-data/RemoteData.js.map +0 -1
- package/utils/remote-data/RemoteDataFactory.d.ts +0 -11
- package/utils/remote-data/RemoteDataFactory.js +0 -29
- package/utils/remote-data/RemoteDataFactory.js.map +0 -1
- package/utils/remote-data/Sha256RemoteData.d.ts +0 -11
- package/utils/remote-data/Sha256RemoteData.js +0 -139
- package/utils/remote-data/Sha256RemoteData.js.map +0 -1
- package/utils/string.d.ts +0 -7
- package/utils/string.js +0 -50
- package/utils/string.js.map +0 -1
- package/utils/type.d.ts +0 -1
- package/utils/type.js +0 -16
- package/utils/type.js.map +0 -1
- package/utils/xxhash.d.ts +0 -5
- package/utils/xxhash.js +0 -18
- package/utils/xxhash.js.map +0 -1
- package/wallet/AirGapCoinWallet.d.ts +0 -19
- package/wallet/AirGapCoinWallet.js +0 -199
- package/wallet/AirGapCoinWallet.js.map +0 -1
- package/wallet/AirGapMarketWallet.d.ts +0 -40
- package/wallet/AirGapMarketWallet.js +0 -221
- package/wallet/AirGapMarketWallet.js.map +0 -1
- package/wallet/AirGapNFTWallet.d.ts +0 -15
- package/wallet/AirGapNFTWallet.js +0 -179
- package/wallet/AirGapNFTWallet.js.map +0 -1
- package/wallet/AirGapWallet.d.ts +0 -35
- package/wallet/AirGapWallet.js +0 -142
- package/wallet/AirGapWallet.js.map +0 -1
package/errors/index.js
DELETED
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.InvalidString = exports.InvalidHexString = exports.InvalidPayloadError = exports.InvalidSchemaType = exports.InvalidSchema = exports.TypeNotSupported = exports.ProtocolVersionMismatch = exports.ProtocolNotSupported = exports.SerializerVersionMismatch = exports.SerializerError = exports.InvalidValueError = exports.NotImplementedError = exports.OperationFailedError = exports.PropertyUndefinedError = exports.TransactionError = exports.BalanceError = exports.NotFoundError = exports.UnsupportedError = exports.ConditionViolationError = exports.NetworkError = exports.ProtocolErrorType = exports.SerializerErrorType = void 0;
|
|
19
|
-
var coinlib_error_1 = require("./coinlib-error");
|
|
20
|
-
var SerializerErrorType;
|
|
21
|
-
(function (SerializerErrorType) {
|
|
22
|
-
SerializerErrorType["SERIALIZER_VERSION_MISMATCH"] = "SERIALIZER_VERSION_MISMATCH";
|
|
23
|
-
SerializerErrorType["PROTOCOL_NOT_SUPPORTED"] = "PROTOCOL_NOT_SUPPORTED";
|
|
24
|
-
SerializerErrorType["PROTOCOL_VERSION_MISMATCH"] = "PROTOCOL_VERSION_MISMATCH";
|
|
25
|
-
SerializerErrorType["TYPE_NOT_SUPPORTED"] = "TYPE_NOT_SUPPORTED";
|
|
26
|
-
SerializerErrorType["INVALID_SCHEMA"] = "INVALID_SCHEMA";
|
|
27
|
-
SerializerErrorType["INVALID_SCHEMA_TYPE"] = "INVALID_SCHEMA_TYPE";
|
|
28
|
-
SerializerErrorType["INVALID_PAYLOAD"] = "INVALID_PAYLOAD";
|
|
29
|
-
SerializerErrorType["INVALID_HEX_STRING"] = "INVALID_HEX_STRING";
|
|
30
|
-
SerializerErrorType["INVALID_STRING"] = "INVALID_STRING";
|
|
31
|
-
SerializerErrorType["SCHEMA_ALREADY_EXISTS"] = "SCHEMA_ALREADY_EXISTS";
|
|
32
|
-
SerializerErrorType["SCHEMA_DOES_NOT_EXISTS"] = "SCHEMA_DOES_NOT_EXISTS";
|
|
33
|
-
SerializerErrorType["UNEXPECTED_PAYLOAD"] = "UNEXPECTED_PAYLOAD";
|
|
34
|
-
SerializerErrorType["PAYLOAD_TYPE_UNKNOWN"] = "PAYLOAD_TYPE_UNKNOWN";
|
|
35
|
-
SerializerErrorType["PAYLOAD_TYPE_MISMATCH"] = "PAYLOAD_TYPE_MISMATCH";
|
|
36
|
-
SerializerErrorType["PAYLOAD_TYPE_NOT_SUPPORTED"] = "PAYLOAD_TYPE_NOT_SUPPORTED";
|
|
37
|
-
SerializerErrorType["PROPERTY_IS_EMPTY"] = "PROPERTY_IS_EMPTY";
|
|
38
|
-
SerializerErrorType["PROPERTY_INVALID"] = "PROPERTY_INVALID";
|
|
39
|
-
})(SerializerErrorType = exports.SerializerErrorType || (exports.SerializerErrorType = {}));
|
|
40
|
-
var ProtocolErrorType;
|
|
41
|
-
(function (ProtocolErrorType) {
|
|
42
|
-
ProtocolErrorType["NETWORK"] = "NETWORK";
|
|
43
|
-
ProtocolErrorType["CONDITION_VIOLATION"] = "CONDITION_VIOLATION";
|
|
44
|
-
ProtocolErrorType["UNSUPPORTED"] = "UNSUPPORTED";
|
|
45
|
-
ProtocolErrorType["NOT_FOUND"] = "NOT_FOUND";
|
|
46
|
-
ProtocolErrorType["BALANCE"] = "BALANCE";
|
|
47
|
-
ProtocolErrorType["PROPERTY_UNDEFINED"] = "PROPERTY_UNDEFINED";
|
|
48
|
-
ProtocolErrorType["OPERATION_FAILED"] = "OPERATION_FAILED";
|
|
49
|
-
ProtocolErrorType["NOT_IMPLEMENTED"] = "NOT_IMPLEMENTED";
|
|
50
|
-
ProtocolErrorType["INVALID_VALUE"] = "INVALID_VALUE";
|
|
51
|
-
ProtocolErrorType["TRANSACTION_FAILED"] = "TRANSACTION_FAILED";
|
|
52
|
-
})(ProtocolErrorType = exports.ProtocolErrorType || (exports.ProtocolErrorType = {}));
|
|
53
|
-
/**
|
|
54
|
-
* Gets thrown if an error occurs when making a network request
|
|
55
|
-
* Partial<AxiosError> is either an AxiosError or an AxiosResponse,
|
|
56
|
-
* as we sometimes want to throw an Error even though we get a 200 response
|
|
57
|
-
* from the API (as in case of internal operation errors for Tezos).
|
|
58
|
-
*/
|
|
59
|
-
var NetworkError = /** @class */ (function (_super) {
|
|
60
|
-
__extends(NetworkError, _super);
|
|
61
|
-
function NetworkError(domain, error, description) {
|
|
62
|
-
var _this = this;
|
|
63
|
-
var _a, _b, _c, _d, _e;
|
|
64
|
-
_this = _super.call(this, domain, ProtocolErrorType.NETWORK) || this;
|
|
65
|
-
_this.data = description !== null && description !== void 0 ? description : (_a = error.response) === null || _a === void 0 ? void 0 : _a.data;
|
|
66
|
-
_this.status = (_b = error === null || error === void 0 ? void 0 : error.response) === null || _b === void 0 ? void 0 : _b.status;
|
|
67
|
-
_this.url = (_c = error.config) === null || _c === void 0 ? void 0 : _c.url;
|
|
68
|
-
_this.method = (_d = error.config) === null || _d === void 0 ? void 0 : _d.method;
|
|
69
|
-
_this.requestBody = (_e = error.config) === null || _e === void 0 ? void 0 : _e.data;
|
|
70
|
-
return _this;
|
|
71
|
-
}
|
|
72
|
-
return NetworkError;
|
|
73
|
-
}(coinlib_error_1.CoinlibError));
|
|
74
|
-
exports.NetworkError = NetworkError;
|
|
75
|
-
/**
|
|
76
|
-
* Gets thrown if a value ist expected to fulfill a certain condition such as having a certain length, but the condition is not satisfied
|
|
77
|
-
*/
|
|
78
|
-
var ConditionViolationError = /** @class */ (function (_super) {
|
|
79
|
-
__extends(ConditionViolationError, _super);
|
|
80
|
-
function ConditionViolationError(domain, description) {
|
|
81
|
-
return _super.call(this, domain, ProtocolErrorType.CONDITION_VIOLATION, description) || this;
|
|
82
|
-
}
|
|
83
|
-
return ConditionViolationError;
|
|
84
|
-
}(coinlib_error_1.CoinlibError));
|
|
85
|
-
exports.ConditionViolationError = ConditionViolationError;
|
|
86
|
-
/**
|
|
87
|
-
* Gets thrown if a variable assumes a value for which an operation is not supported
|
|
88
|
-
*/
|
|
89
|
-
var UnsupportedError = /** @class */ (function (_super) {
|
|
90
|
-
__extends(UnsupportedError, _super);
|
|
91
|
-
function UnsupportedError(domain, description) {
|
|
92
|
-
return _super.call(this, domain, ProtocolErrorType.UNSUPPORTED, description) || this;
|
|
93
|
-
}
|
|
94
|
-
return UnsupportedError;
|
|
95
|
-
}(coinlib_error_1.CoinlibError));
|
|
96
|
-
exports.UnsupportedError = UnsupportedError;
|
|
97
|
-
/**
|
|
98
|
-
* Gets thrown if a variable is unexpectedly undefined
|
|
99
|
-
*/
|
|
100
|
-
var NotFoundError = /** @class */ (function (_super) {
|
|
101
|
-
__extends(NotFoundError, _super);
|
|
102
|
-
function NotFoundError(domain, description) {
|
|
103
|
-
return _super.call(this, domain, ProtocolErrorType.NOT_FOUND, description) || this;
|
|
104
|
-
}
|
|
105
|
-
return NotFoundError;
|
|
106
|
-
}(coinlib_error_1.CoinlibError));
|
|
107
|
-
exports.NotFoundError = NotFoundError;
|
|
108
|
-
/**
|
|
109
|
-
* Gets thrown if an account has an insufficient balance to perform a certain kind of operation
|
|
110
|
-
*/
|
|
111
|
-
var BalanceError = /** @class */ (function (_super) {
|
|
112
|
-
__extends(BalanceError, _super);
|
|
113
|
-
function BalanceError(domain, description) {
|
|
114
|
-
return _super.call(this, domain, ProtocolErrorType.BALANCE, description) || this;
|
|
115
|
-
}
|
|
116
|
-
return BalanceError;
|
|
117
|
-
}(coinlib_error_1.CoinlibError));
|
|
118
|
-
exports.BalanceError = BalanceError;
|
|
119
|
-
var TransactionError = /** @class */ (function (_super) {
|
|
120
|
-
__extends(TransactionError, _super);
|
|
121
|
-
function TransactionError(domain, description, data) {
|
|
122
|
-
var _this = _super.call(this, domain, ProtocolErrorType.TRANSACTION_FAILED, description) || this;
|
|
123
|
-
_this.data = data;
|
|
124
|
-
return _this;
|
|
125
|
-
}
|
|
126
|
-
return TransactionError;
|
|
127
|
-
}(coinlib_error_1.CoinlibError));
|
|
128
|
-
exports.TransactionError = TransactionError;
|
|
129
|
-
/**
|
|
130
|
-
* Gets thrown if an accessed object property is undefined
|
|
131
|
-
*/
|
|
132
|
-
var PropertyUndefinedError = /** @class */ (function (_super) {
|
|
133
|
-
__extends(PropertyUndefinedError, _super);
|
|
134
|
-
function PropertyUndefinedError(domain, description) {
|
|
135
|
-
return _super.call(this, domain, ProtocolErrorType.PROPERTY_UNDEFINED, description) || this;
|
|
136
|
-
}
|
|
137
|
-
return PropertyUndefinedError;
|
|
138
|
-
}(coinlib_error_1.CoinlibError));
|
|
139
|
-
exports.PropertyUndefinedError = PropertyUndefinedError;
|
|
140
|
-
/**
|
|
141
|
-
* Gets thrown if an internal method fails
|
|
142
|
-
*/
|
|
143
|
-
var OperationFailedError = /** @class */ (function (_super) {
|
|
144
|
-
__extends(OperationFailedError, _super);
|
|
145
|
-
function OperationFailedError(domain, description) {
|
|
146
|
-
return _super.call(this, domain, ProtocolErrorType.OPERATION_FAILED, description) || this;
|
|
147
|
-
}
|
|
148
|
-
return OperationFailedError;
|
|
149
|
-
}(coinlib_error_1.CoinlibError));
|
|
150
|
-
exports.OperationFailedError = OperationFailedError;
|
|
151
|
-
/**
|
|
152
|
-
* Gets thrown if a method is executed which is not implemented
|
|
153
|
-
*/
|
|
154
|
-
var NotImplementedError = /** @class */ (function (_super) {
|
|
155
|
-
__extends(NotImplementedError, _super);
|
|
156
|
-
function NotImplementedError(domain, description) {
|
|
157
|
-
return _super.call(this, domain, ProtocolErrorType.NOT_IMPLEMENTED, description) || this;
|
|
158
|
-
}
|
|
159
|
-
return NotImplementedError;
|
|
160
|
-
}(coinlib_error_1.CoinlibError));
|
|
161
|
-
exports.NotImplementedError = NotImplementedError;
|
|
162
|
-
/**
|
|
163
|
-
* Gets thrown if a variable has a value which cannot be handled
|
|
164
|
-
*/
|
|
165
|
-
var InvalidValueError = /** @class */ (function (_super) {
|
|
166
|
-
__extends(InvalidValueError, _super);
|
|
167
|
-
function InvalidValueError(domain, description) {
|
|
168
|
-
return _super.call(this, domain, ProtocolErrorType.INVALID_VALUE, description) || this;
|
|
169
|
-
}
|
|
170
|
-
return InvalidValueError;
|
|
171
|
-
}(coinlib_error_1.CoinlibError));
|
|
172
|
-
exports.InvalidValueError = InvalidValueError;
|
|
173
|
-
var SerializerError = /** @class */ (function (_super) {
|
|
174
|
-
__extends(SerializerError, _super);
|
|
175
|
-
function SerializerError(code, description) {
|
|
176
|
-
return _super.call(this, coinlib_error_1.Domain.SERIALIZER, code, description) || this;
|
|
177
|
-
}
|
|
178
|
-
return SerializerError;
|
|
179
|
-
}(coinlib_error_1.CoinlibError));
|
|
180
|
-
exports.SerializerError = SerializerError;
|
|
181
|
-
// tslint:disable:max-classes-per-file
|
|
182
|
-
/**
|
|
183
|
-
* Gets thrown if the serializer version does not match
|
|
184
|
-
*/
|
|
185
|
-
var SerializerVersionMismatch = /** @class */ (function (_super) {
|
|
186
|
-
__extends(SerializerVersionMismatch, _super);
|
|
187
|
-
function SerializerVersionMismatch(description) {
|
|
188
|
-
return _super.call(this, SerializerErrorType.SERIALIZER_VERSION_MISMATCH, description) || this;
|
|
189
|
-
}
|
|
190
|
-
return SerializerVersionMismatch;
|
|
191
|
-
}(SerializerError));
|
|
192
|
-
exports.SerializerVersionMismatch = SerializerVersionMismatch;
|
|
193
|
-
/**
|
|
194
|
-
* Gets thrown if the serializer cannot handle the specified coin/protocol
|
|
195
|
-
*/
|
|
196
|
-
var ProtocolNotSupported = /** @class */ (function (_super) {
|
|
197
|
-
__extends(ProtocolNotSupported, _super);
|
|
198
|
-
function ProtocolNotSupported(description) {
|
|
199
|
-
return _super.call(this, SerializerErrorType.PROTOCOL_NOT_SUPPORTED, description) || this;
|
|
200
|
-
}
|
|
201
|
-
return ProtocolNotSupported;
|
|
202
|
-
}(SerializerError));
|
|
203
|
-
exports.ProtocolNotSupported = ProtocolNotSupported;
|
|
204
|
-
/**
|
|
205
|
-
* Gets thrown if the serializer CAN handle the specified coin/protocol, but not in this version
|
|
206
|
-
*/
|
|
207
|
-
var ProtocolVersionMismatch = /** @class */ (function (_super) {
|
|
208
|
-
__extends(ProtocolVersionMismatch, _super);
|
|
209
|
-
function ProtocolVersionMismatch(description) {
|
|
210
|
-
return _super.call(this, SerializerErrorType.PROTOCOL_VERSION_MISMATCH, description) || this;
|
|
211
|
-
}
|
|
212
|
-
return ProtocolVersionMismatch;
|
|
213
|
-
}(SerializerError));
|
|
214
|
-
exports.ProtocolVersionMismatch = ProtocolVersionMismatch;
|
|
215
|
-
/**
|
|
216
|
-
* Gets thrown if the specified Type is not supported
|
|
217
|
-
*/
|
|
218
|
-
var TypeNotSupported = /** @class */ (function (_super) {
|
|
219
|
-
__extends(TypeNotSupported, _super);
|
|
220
|
-
function TypeNotSupported(description) {
|
|
221
|
-
return _super.call(this, SerializerErrorType.TYPE_NOT_SUPPORTED, description) || this;
|
|
222
|
-
}
|
|
223
|
-
return TypeNotSupported;
|
|
224
|
-
}(SerializerError));
|
|
225
|
-
exports.TypeNotSupported = TypeNotSupported;
|
|
226
|
-
/**
|
|
227
|
-
* Gets thrown if the schema in the serializer is invalid
|
|
228
|
-
*/
|
|
229
|
-
var InvalidSchema = /** @class */ (function (_super) {
|
|
230
|
-
__extends(InvalidSchema, _super);
|
|
231
|
-
function InvalidSchema(description) {
|
|
232
|
-
return _super.call(this, SerializerErrorType.INVALID_SCHEMA, description) || this;
|
|
233
|
-
}
|
|
234
|
-
return InvalidSchema;
|
|
235
|
-
}(SerializerError));
|
|
236
|
-
exports.InvalidSchema = InvalidSchema;
|
|
237
|
-
/**
|
|
238
|
-
* Gets thrown if the 2 types provided are not compatible
|
|
239
|
-
*/
|
|
240
|
-
var InvalidSchemaType = /** @class */ (function (_super) {
|
|
241
|
-
__extends(InvalidSchemaType, _super);
|
|
242
|
-
function InvalidSchemaType(description) {
|
|
243
|
-
return _super.call(this, SerializerErrorType.INVALID_SCHEMA_TYPE, description) || this;
|
|
244
|
-
}
|
|
245
|
-
return InvalidSchemaType;
|
|
246
|
-
}(SerializerError));
|
|
247
|
-
exports.InvalidSchemaType = InvalidSchemaType;
|
|
248
|
-
/**
|
|
249
|
-
* Gets thrown if the payload that is being decoded does not match the schema
|
|
250
|
-
*/
|
|
251
|
-
var InvalidPayloadError = /** @class */ (function (_super) {
|
|
252
|
-
__extends(InvalidPayloadError, _super);
|
|
253
|
-
function InvalidPayloadError(description) {
|
|
254
|
-
return _super.call(this, SerializerErrorType.INVALID_PAYLOAD, description) || this;
|
|
255
|
-
}
|
|
256
|
-
return InvalidPayloadError;
|
|
257
|
-
}(SerializerError));
|
|
258
|
-
exports.InvalidPayloadError = InvalidPayloadError;
|
|
259
|
-
/**
|
|
260
|
-
* Gets thrown if the string is not a valid hex string
|
|
261
|
-
*/
|
|
262
|
-
var InvalidHexString = /** @class */ (function (_super) {
|
|
263
|
-
__extends(InvalidHexString, _super);
|
|
264
|
-
function InvalidHexString(description) {
|
|
265
|
-
return _super.call(this, SerializerErrorType.INVALID_HEX_STRING, description) || this;
|
|
266
|
-
}
|
|
267
|
-
return InvalidHexString;
|
|
268
|
-
}(SerializerError));
|
|
269
|
-
exports.InvalidHexString = InvalidHexString;
|
|
270
|
-
/**
|
|
271
|
-
* Gets thrown if the string starts with "0x". This causes problems with RLP
|
|
272
|
-
*/
|
|
273
|
-
var InvalidString = /** @class */ (function (_super) {
|
|
274
|
-
__extends(InvalidString, _super);
|
|
275
|
-
function InvalidString(description) {
|
|
276
|
-
return _super.call(this, SerializerErrorType.INVALID_STRING, description) || this;
|
|
277
|
-
}
|
|
278
|
-
return InvalidString;
|
|
279
|
-
}(SerializerError));
|
|
280
|
-
exports.InvalidString = InvalidString;
|
|
281
|
-
//# sourceMappingURL=index.js.map
|
package/errors/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"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"}
|
package/errors/network.d.ts
DELETED
|
File without changes
|
package/errors/network.js
DELETED
package/errors/network.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../src/errors/network.ts"],"names":[],"mappings":""}
|
package/index.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Action } from './actions/Action';
|
|
2
|
-
import { LinkedAction } from './actions/LinkedAction';
|
|
3
|
-
import { RepeatableAction } from './actions/RepeatableAction';
|
|
4
|
-
import { SimpleAction } from './actions/SimpleAction';
|
|
5
|
-
import { BalanceError, NetworkError, ProtocolErrorType, ProtocolNotSupported, SerializerErrorType, SerializerVersionMismatch, TransactionError, TypeNotSupported } from './errors';
|
|
6
|
-
import { CoinlibError, Domain } from './errors/coinlib-error';
|
|
7
|
-
import { IAirGapSignedTransaction } from './interfaces/IAirGapSignedTransaction';
|
|
8
|
-
import { IAirGapTransaction, IAirGapTransactionResult, IProtocolTransactionCursor } from './interfaces/IAirGapTransaction';
|
|
9
|
-
import { IAirGapWallet } from './interfaces/IAirGapWallet';
|
|
10
|
-
import { CryptoClient } from './protocols/CryptoClient';
|
|
11
|
-
import { HasConfigurableContract } from './protocols/HasConfigurableContract';
|
|
12
|
-
import { DelegateeDetails, DelegatorAction, DelegatorDetails, DelegatorReward, ICoinDelegateProtocol } from './protocols/ICoinDelegateProtocol';
|
|
13
|
-
import { FeeDefaults, ICoinProtocol } from './protocols/ICoinProtocol';
|
|
14
|
-
import { ICoinSubProtocol, SubProtocolType } from './protocols/ICoinSubProtocol';
|
|
15
|
-
import { SignedTransaction } from './types/signed-transaction';
|
|
16
|
-
import { UnsignedTransaction } from './types/unsigned-transaction';
|
|
17
|
-
import { assertNever } from './utils/assert';
|
|
18
|
-
import { bufferFrom } from './utils/buffer';
|
|
19
|
-
import { hasConfigurableContract, implementsInterface } from './utils/interfaces';
|
|
20
|
-
import { isNetworkEqual } from './utils/Network';
|
|
21
|
-
import { ProtocolBlockExplorer } from './utils/ProtocolBlockExplorer';
|
|
22
|
-
import { NetworkType, ProtocolNetwork } from './utils/ProtocolNetwork';
|
|
23
|
-
import { isMainProtocolSymbol, isProtocolSymbol, isSubProtocolSymbol, MainProtocolSymbols, ProtocolSymbols, SubProtocolSymbols } from './utils/ProtocolSymbols';
|
|
24
|
-
import { AirGapCoinWallet, TimeInterval } from './wallet/AirGapCoinWallet';
|
|
25
|
-
import { AirGapMarketWallet, AirGapWalletPriceService } from './wallet/AirGapMarketWallet';
|
|
26
|
-
import { AirGapNFTWallet } from './wallet/AirGapNFTWallet';
|
|
27
|
-
import { AirGapWallet, AirGapWalletStatus, SerializedAirGapWallet } from './wallet/AirGapWallet';
|
|
28
|
-
export { AirGapWallet, AirGapMarketWallet, AirGapCoinWallet, AirGapWalletStatus, AirGapNFTWallet, HasConfigurableContract, IAirGapWallet, IAirGapTransaction, ICoinProtocol, ICoinSubProtocol, ICoinDelegateProtocol, CryptoClient, ProtocolBlockExplorer, ProtocolNetwork, ProtocolSymbols, MainProtocolSymbols, SubProtocolSymbols, NetworkType, FeeDefaults };
|
|
29
|
-
export { UnsignedTransaction, SignedTransaction };
|
|
30
|
-
export { SerializedAirGapWallet };
|
|
31
|
-
export { Action, RepeatableAction, LinkedAction, SimpleAction };
|
|
32
|
-
export { isNetworkEqual, isProtocolSymbol, isMainProtocolSymbol, isSubProtocolSymbol, TypeNotSupported, SerializerVersionMismatch, ProtocolNotSupported, NetworkError, CoinlibError, SerializerErrorType, ProtocolErrorType, BalanceError, TransactionError, Domain, TimeInterval, DelegateeDetails, DelegatorAction, DelegatorDetails, DelegatorReward, IAirGapSignedTransaction, IAirGapTransactionResult, AirGapWalletPriceService, IProtocolTransactionCursor, SubProtocolType, assertNever, implementsInterface, hasConfigurableContract };
|
|
33
|
-
export { bufferFrom };
|
package/index.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bufferFrom = exports.hasConfigurableContract = exports.implementsInterface = exports.assertNever = exports.SubProtocolType = exports.TimeInterval = exports.Domain = exports.TransactionError = exports.BalanceError = exports.ProtocolErrorType = exports.SerializerErrorType = exports.CoinlibError = exports.NetworkError = exports.ProtocolNotSupported = exports.SerializerVersionMismatch = exports.TypeNotSupported = exports.isSubProtocolSymbol = exports.isMainProtocolSymbol = exports.isProtocolSymbol = exports.isNetworkEqual = exports.SimpleAction = exports.LinkedAction = exports.RepeatableAction = exports.Action = exports.NetworkType = exports.SubProtocolSymbols = exports.MainProtocolSymbols = exports.ProtocolNetwork = exports.ProtocolBlockExplorer = exports.CryptoClient = exports.AirGapNFTWallet = exports.AirGapWalletStatus = exports.AirGapCoinWallet = exports.AirGapMarketWallet = exports.AirGapWallet = void 0;
|
|
4
|
-
var Action_1 = require("./actions/Action");
|
|
5
|
-
Object.defineProperty(exports, "Action", { enumerable: true, get: function () { return Action_1.Action; } });
|
|
6
|
-
var LinkedAction_1 = require("./actions/LinkedAction");
|
|
7
|
-
Object.defineProperty(exports, "LinkedAction", { enumerable: true, get: function () { return LinkedAction_1.LinkedAction; } });
|
|
8
|
-
var RepeatableAction_1 = require("./actions/RepeatableAction");
|
|
9
|
-
Object.defineProperty(exports, "RepeatableAction", { enumerable: true, get: function () { return RepeatableAction_1.RepeatableAction; } });
|
|
10
|
-
var SimpleAction_1 = require("./actions/SimpleAction");
|
|
11
|
-
Object.defineProperty(exports, "SimpleAction", { enumerable: true, get: function () { return SimpleAction_1.SimpleAction; } });
|
|
12
|
-
var errors_1 = require("./errors");
|
|
13
|
-
Object.defineProperty(exports, "BalanceError", { enumerable: true, get: function () { return errors_1.BalanceError; } });
|
|
14
|
-
Object.defineProperty(exports, "NetworkError", { enumerable: true, get: function () { return errors_1.NetworkError; } });
|
|
15
|
-
Object.defineProperty(exports, "ProtocolErrorType", { enumerable: true, get: function () { return errors_1.ProtocolErrorType; } });
|
|
16
|
-
Object.defineProperty(exports, "ProtocolNotSupported", { enumerable: true, get: function () { return errors_1.ProtocolNotSupported; } });
|
|
17
|
-
Object.defineProperty(exports, "SerializerErrorType", { enumerable: true, get: function () { return errors_1.SerializerErrorType; } });
|
|
18
|
-
Object.defineProperty(exports, "SerializerVersionMismatch", { enumerable: true, get: function () { return errors_1.SerializerVersionMismatch; } });
|
|
19
|
-
Object.defineProperty(exports, "TransactionError", { enumerable: true, get: function () { return errors_1.TransactionError; } });
|
|
20
|
-
Object.defineProperty(exports, "TypeNotSupported", { enumerable: true, get: function () { return errors_1.TypeNotSupported; } });
|
|
21
|
-
var coinlib_error_1 = require("./errors/coinlib-error");
|
|
22
|
-
Object.defineProperty(exports, "CoinlibError", { enumerable: true, get: function () { return coinlib_error_1.CoinlibError; } });
|
|
23
|
-
Object.defineProperty(exports, "Domain", { enumerable: true, get: function () { return coinlib_error_1.Domain; } });
|
|
24
|
-
var CryptoClient_1 = require("./protocols/CryptoClient");
|
|
25
|
-
Object.defineProperty(exports, "CryptoClient", { enumerable: true, get: function () { return CryptoClient_1.CryptoClient; } });
|
|
26
|
-
var ICoinSubProtocol_1 = require("./protocols/ICoinSubProtocol");
|
|
27
|
-
Object.defineProperty(exports, "SubProtocolType", { enumerable: true, get: function () { return ICoinSubProtocol_1.SubProtocolType; } });
|
|
28
|
-
var assert_1 = require("./utils/assert");
|
|
29
|
-
Object.defineProperty(exports, "assertNever", { enumerable: true, get: function () { return assert_1.assertNever; } });
|
|
30
|
-
var buffer_1 = require("./utils/buffer");
|
|
31
|
-
Object.defineProperty(exports, "bufferFrom", { enumerable: true, get: function () { return buffer_1.bufferFrom; } });
|
|
32
|
-
var interfaces_1 = require("./utils/interfaces");
|
|
33
|
-
Object.defineProperty(exports, "hasConfigurableContract", { enumerable: true, get: function () { return interfaces_1.hasConfigurableContract; } });
|
|
34
|
-
Object.defineProperty(exports, "implementsInterface", { enumerable: true, get: function () { return interfaces_1.implementsInterface; } });
|
|
35
|
-
var Network_1 = require("./utils/Network");
|
|
36
|
-
Object.defineProperty(exports, "isNetworkEqual", { enumerable: true, get: function () { return Network_1.isNetworkEqual; } });
|
|
37
|
-
var ProtocolBlockExplorer_1 = require("./utils/ProtocolBlockExplorer");
|
|
38
|
-
Object.defineProperty(exports, "ProtocolBlockExplorer", { enumerable: true, get: function () { return ProtocolBlockExplorer_1.ProtocolBlockExplorer; } });
|
|
39
|
-
var ProtocolNetwork_1 = require("./utils/ProtocolNetwork");
|
|
40
|
-
Object.defineProperty(exports, "NetworkType", { enumerable: true, get: function () { return ProtocolNetwork_1.NetworkType; } });
|
|
41
|
-
Object.defineProperty(exports, "ProtocolNetwork", { enumerable: true, get: function () { return ProtocolNetwork_1.ProtocolNetwork; } });
|
|
42
|
-
var ProtocolSymbols_1 = require("./utils/ProtocolSymbols");
|
|
43
|
-
Object.defineProperty(exports, "isMainProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isMainProtocolSymbol; } });
|
|
44
|
-
Object.defineProperty(exports, "isProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isProtocolSymbol; } });
|
|
45
|
-
Object.defineProperty(exports, "isSubProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isSubProtocolSymbol; } });
|
|
46
|
-
Object.defineProperty(exports, "MainProtocolSymbols", { enumerable: true, get: function () { return ProtocolSymbols_1.MainProtocolSymbols; } });
|
|
47
|
-
Object.defineProperty(exports, "SubProtocolSymbols", { enumerable: true, get: function () { return ProtocolSymbols_1.SubProtocolSymbols; } });
|
|
48
|
-
var AirGapCoinWallet_1 = require("./wallet/AirGapCoinWallet");
|
|
49
|
-
Object.defineProperty(exports, "AirGapCoinWallet", { enumerable: true, get: function () { return AirGapCoinWallet_1.AirGapCoinWallet; } });
|
|
50
|
-
Object.defineProperty(exports, "TimeInterval", { enumerable: true, get: function () { return AirGapCoinWallet_1.TimeInterval; } });
|
|
51
|
-
var AirGapMarketWallet_1 = require("./wallet/AirGapMarketWallet");
|
|
52
|
-
Object.defineProperty(exports, "AirGapMarketWallet", { enumerable: true, get: function () { return AirGapMarketWallet_1.AirGapMarketWallet; } });
|
|
53
|
-
var AirGapNFTWallet_1 = require("./wallet/AirGapNFTWallet");
|
|
54
|
-
Object.defineProperty(exports, "AirGapNFTWallet", { enumerable: true, get: function () { return AirGapNFTWallet_1.AirGapNFTWallet; } });
|
|
55
|
-
var AirGapWallet_1 = require("./wallet/AirGapWallet");
|
|
56
|
-
Object.defineProperty(exports, "AirGapWallet", { enumerable: true, get: function () { return AirGapWallet_1.AirGapWallet; } });
|
|
57
|
-
Object.defineProperty(exports, "AirGapWalletStatus", { enumerable: true, get: function () { return AirGapWallet_1.AirGapWalletStatus; } });
|
|
58
|
-
//# sourceMappingURL=index.js.map
|
package/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AAgFhC,uFAhFA,eAAM,OAgFA;AA/Ef,uDAAqD;AA+ElB,6FA/E1B,2BAAY,OA+E0B;AA9E/C,+DAA6D;AA8E5C,iGA9ER,mCAAgB,OA8EQ;AA7EjC,uDAAqD;AA6EJ,6FA7ExC,2BAAY,OA6EwC;AA5E7D,mCASiB;AAmFf,6FA3FA,qBAAY,OA2FA;AAJZ,6FAtFA,qBAAY,OAsFA;AAGZ,kGAxFA,0BAAiB,OAwFA;AAJjB,qGAnFA,6BAAoB,OAmFA;AAGpB,oGArFA,4BAAmB,OAqFA;AAJnB,0GAhFA,kCAAyB,OAgFA;AAOzB,iGAtFA,yBAAgB,OAsFA;AARhB,iGA7EA,yBAAgB,OA6EA;AA3ElB,wDAA6D;AA+E3D,6FA/EO,4BAAY,OA+EP;AAKZ,uFApFqB,sBAAM,OAoFrB;AAhFR,yDAAuD;AA6CrD,6FA7CO,2BAAY,OA6CP;AAnCd,iEAAgF;AAgF9E,gGAhFyB,kCAAe,OAgFzB;AA7EjB,yCAA4C;AA8E1C,4FA9EO,oBAAW,OA8EP;AA7Eb,yCAA2C;AAkFlC,2FAlFA,mBAAU,OAkFA;AAjFnB,iDAAiF;AA8E/E,wGA9EO,oCAAuB,OA8EP;AADvB,oGA7EgC,gCAAmB,OA6EhC;AA5ErB,2CAAgD;AAkD9C,+FAlDO,wBAAc,OAkDP;AAjDhB,uEAAqE;AA6BnE,sGA7BO,6CAAqB,OA6BP;AA5BvB,2DAAsE;AAiCpE,4FAjCO,6BAAW,OAiCP;AAJX,gGA7BoB,iCAAe,OA6BpB;AA5BjB,2DAOgC;AA0C9B,qGAhDA,sCAAoB,OAgDA;AADpB,iGA9CA,kCAAgB,OA8CA;AAEhB,oGA/CA,qCAAmB,OA+CA;AApBnB,oGA1BA,qCAAmB,OA0BA;AACnB,mGAzBA,oCAAkB,OAyBA;AAvBpB,8DAA0E;AASxE,iGATO,mCAAgB,OASP;AA6ChB,6FAtDyB,+BAAY,OAsDzB;AArDd,kEAA0F;AAOxF,mGAPO,uCAAkB,OAOP;AANpB,4DAA0D;AASxD,gGATO,iCAAe,OASP;AARjB,sDAAgG;AAI9F,6FAJO,2BAAY,OAIP;AAGZ,mGAPqB,iCAAkB,OAOrB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface IAirGapAddress {
|
|
2
|
-
asString(): string;
|
|
3
|
-
}
|
|
4
|
-
export interface IProtocolAddressCursor {
|
|
5
|
-
hasNext: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface IAirGapAddressResult<T extends IProtocolAddressCursor = IProtocolAddressCursor> {
|
|
8
|
-
address: string;
|
|
9
|
-
cursor: T;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAirGapAddress.js","sourceRoot":"","sources":["../../src/interfaces/IAirGapAddress.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare type IAirGapSignedTransaction = string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAirGapSignedTransaction.js","sourceRoot":"","sources":["../../src/interfaces/IAirGapSignedTransaction.ts"],"names":[],"mappings":""}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ProtocolNetwork } from '../utils/ProtocolNetwork';
|
|
2
|
-
import { ProtocolSymbols } from '../utils/ProtocolSymbols';
|
|
3
|
-
export declare enum AirGapTransactionType {
|
|
4
|
-
SPEND = "Spend Transaction",
|
|
5
|
-
DELEGATE = "Delegation",
|
|
6
|
-
UNDELEGATE = "Undelegate"
|
|
7
|
-
}
|
|
8
|
-
export declare enum AirGapTransactionStatus {
|
|
9
|
-
APPLIED = "applied",
|
|
10
|
-
FAILED = "failed"
|
|
11
|
-
}
|
|
12
|
-
export declare enum AirGapTransactionWarningType {
|
|
13
|
-
SUCCESS = "success",
|
|
14
|
-
NOTE = "note",
|
|
15
|
-
WARNING = "warning",
|
|
16
|
-
ERROR = "error"
|
|
17
|
-
}
|
|
18
|
-
export interface AirGapTransactionWarning {
|
|
19
|
-
type: AirGapTransactionWarningType;
|
|
20
|
-
title: string;
|
|
21
|
-
description: string;
|
|
22
|
-
icon?: string;
|
|
23
|
-
actions?: ({
|
|
24
|
-
text: string;
|
|
25
|
-
link: string;
|
|
26
|
-
} | {
|
|
27
|
-
text: string;
|
|
28
|
-
action(): Promise<void>;
|
|
29
|
-
})[];
|
|
30
|
-
}
|
|
31
|
-
export interface IAirGapTransaction {
|
|
32
|
-
from: string[];
|
|
33
|
-
to: string[];
|
|
34
|
-
isInbound: boolean;
|
|
35
|
-
amount: string;
|
|
36
|
-
fee: string;
|
|
37
|
-
timestamp?: number;
|
|
38
|
-
protocolIdentifier: ProtocolSymbols;
|
|
39
|
-
network: ProtocolNetwork;
|
|
40
|
-
hash?: string;
|
|
41
|
-
blockHeight?: string;
|
|
42
|
-
data?: string;
|
|
43
|
-
extra?: any;
|
|
44
|
-
status?: AirGapTransactionStatus;
|
|
45
|
-
warnings?: AirGapTransactionWarning[];
|
|
46
|
-
transactionDetails?: any;
|
|
47
|
-
}
|
|
48
|
-
export interface IProtocolTransactionCursor {
|
|
49
|
-
}
|
|
50
|
-
export interface IAirGapTransactionResult<T extends IProtocolTransactionCursor = IProtocolTransactionCursor> {
|
|
51
|
-
transactions: IAirGapTransaction[];
|
|
52
|
-
cursor: T;
|
|
53
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AirGapTransactionWarningType = exports.AirGapTransactionStatus = exports.AirGapTransactionType = void 0;
|
|
4
|
-
var AirGapTransactionType;
|
|
5
|
-
(function (AirGapTransactionType) {
|
|
6
|
-
AirGapTransactionType["SPEND"] = "Spend Transaction";
|
|
7
|
-
AirGapTransactionType["DELEGATE"] = "Delegation";
|
|
8
|
-
AirGapTransactionType["UNDELEGATE"] = "Undelegate";
|
|
9
|
-
})(AirGapTransactionType = exports.AirGapTransactionType || (exports.AirGapTransactionType = {}));
|
|
10
|
-
var AirGapTransactionStatus;
|
|
11
|
-
(function (AirGapTransactionStatus) {
|
|
12
|
-
AirGapTransactionStatus["APPLIED"] = "applied";
|
|
13
|
-
AirGapTransactionStatus["FAILED"] = "failed";
|
|
14
|
-
})(AirGapTransactionStatus = exports.AirGapTransactionStatus || (exports.AirGapTransactionStatus = {}));
|
|
15
|
-
var AirGapTransactionWarningType;
|
|
16
|
-
(function (AirGapTransactionWarningType) {
|
|
17
|
-
AirGapTransactionWarningType["SUCCESS"] = "success";
|
|
18
|
-
AirGapTransactionWarningType["NOTE"] = "note";
|
|
19
|
-
AirGapTransactionWarningType["WARNING"] = "warning";
|
|
20
|
-
AirGapTransactionWarningType["ERROR"] = "error";
|
|
21
|
-
})(AirGapTransactionWarningType = exports.AirGapTransactionWarningType || (exports.AirGapTransactionWarningType = {}));
|
|
22
|
-
//# sourceMappingURL=IAirGapTransaction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAirGapTransaction.js","sourceRoot":"","sources":["../../src/interfaces/IAirGapTransaction.ts"],"names":[],"mappings":";;;AAGA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,oDAA2B,CAAA;IAC3B,gDAAuB,CAAA;IACvB,kDAAyB,CAAA;AAC3B,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC;AAED,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,8CAAmB,CAAA;IACnB,4CAAiB,CAAA;AACnB,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AAED,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACtC,mDAAmB,CAAA;IACnB,6CAAa,CAAA;IACb,mDAAmB,CAAA;IACnB,+CAAe,CAAA;AACjB,CAAC,EALW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAKvC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAirGapWallet.js","sourceRoot":"","sources":["../../src/interfaces/IAirGapWallet.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JSONConvertible.js","sourceRoot":"","sources":["../../src/interfaces/JSONConvertible.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RPCConvertible.js","sourceRoot":"","sources":["../../src/interfaces/RPCConvertible.ts"],"names":[],"mappings":""}
|
package/networks.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface Bip32 {
|
|
2
|
-
public: number;
|
|
3
|
-
private: number;
|
|
4
|
-
}
|
|
5
|
-
export interface Network {
|
|
6
|
-
messagePrefix?: string;
|
|
7
|
-
bip32: Bip32;
|
|
8
|
-
pubKeyHash: number;
|
|
9
|
-
scriptHash?: number;
|
|
10
|
-
wif: number;
|
|
11
|
-
dustSoftThreshold?: number;
|
|
12
|
-
dustThreshold?: number;
|
|
13
|
-
feePerKb?: number;
|
|
14
|
-
ethereum?: boolean;
|
|
15
|
-
}
|
|
16
|
-
declare const networks: {
|
|
17
|
-
[key: string]: Network;
|
|
18
|
-
};
|
|
19
|
-
export { networks };
|