@tatumio/doge 2.2.20 → 2.2.21

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@tatumio/doge",
3
- "version": "2.2.20",
3
+ "version": "2.2.21",
4
4
  "license": "MIT",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
- "@tatumio/shared-testing-common": "2.2.20",
9
- "@tatumio/api-client": "2.2.20",
8
+ "@tatumio/shared-testing-common": "2.2.21",
9
+ "@tatumio/api-client": "2.2.21",
10
10
  "axios": "^0.26.0",
11
11
  "form-data": "^4.0.0",
12
- "@tatumio/shared-testing-btc-based": "2.2.20",
13
- "@tatumio/shared-blockchain-btc-based": "2.2.20",
14
- "@tatumio/shared-abstract-sdk": "2.2.20",
12
+ "@tatumio/shared-testing-btc-based": "2.2.21",
13
+ "@tatumio/shared-blockchain-btc-based": "2.2.21",
14
+ "@tatumio/shared-abstract-sdk": "2.2.21",
15
15
  "bignumber.js": "^9.0.2",
16
- "@tatumio/shared-core": "2.2.20",
16
+ "@tatumio/shared-core": "2.2.21",
17
17
  "lodash": "^4.17.21",
18
- "@tatumio/shared-blockchain-abstract": "2.2.20",
18
+ "@tatumio/shared-blockchain-abstract": "2.2.21",
19
19
  "bip32": "^2.0.5",
20
20
  "bip39": "^3.0.2",
21
21
  "bitcoinjs-lib": "^5.2.0",
@@ -4,8 +4,10 @@ export declare const DOGE_ERRORS_MAPPING: {
4
4
  'dogecore.ErrorTransactionInvalidOutputAmountSum': SdkErrorCode;
5
5
  'dogecore.ErrorTransactionFeeErrorDifferent': SdkErrorCode;
6
6
  'dogecore.ErrorTransactionDustOutputs': SdkErrorCode;
7
+ 'dogecore.ErrorTransactionChangeAddressMissing': SdkErrorCode;
8
+ 'dogecore.ErrorTransactionFeeErrorTooLarge': SdkErrorCode;
7
9
  };
8
- export declare type DogeSdkErrorCode = SdkErrorCode.BTC_BASED_FEE_TOO_SMALL | SdkErrorCode.BTC_BASED_UTXO_NOT_FOUND | SdkErrorCode.BTC_BASED_NOT_ENOUGH_BALANCE | SdkErrorCode.BTC_BASED_DUST_AMOUNT | SdkErrorCode.BTC_BASED_NO_INPUTS | SdkErrorCode.BTC_BASED_WRONG_BODY;
10
+ export declare type DogeSdkErrorCode = SdkErrorCode.BTC_BASED_FEE_TOO_SMALL | SdkErrorCode.BTC_FEE_IS_TOO_LARGE | SdkErrorCode.BTC_BASED_UTXO_NOT_FOUND | SdkErrorCode.BTC_BASED_NOT_ENOUGH_BALANCE | SdkErrorCode.BTC_BASED_DUST_AMOUNT | SdkErrorCode.BTC_BASED_NO_INPUTS | SdkErrorCode.BTC_BASED_WRONG_BODY;
9
11
  export declare class DogeSdkError extends SdkError {
10
12
  constructor(error: Error | DogeSdkErrorCode);
11
13
  }
@@ -7,6 +7,8 @@ exports.DOGE_ERRORS_MAPPING = {
7
7
  'dogecore.ErrorTransactionInvalidOutputAmountSum': shared_abstract_sdk_1.SdkErrorCode.BTC_BASED_NOT_ENOUGH_BALANCE,
8
8
  'dogecore.ErrorTransactionFeeErrorDifferent': shared_abstract_sdk_1.SdkErrorCode.BTC_BASED_FEE_TOO_SMALL,
9
9
  'dogecore.ErrorTransactionDustOutputs': shared_abstract_sdk_1.SdkErrorCode.BTC_BASED_DUST_AMOUNT,
10
+ 'dogecore.ErrorTransactionChangeAddressMissing': shared_abstract_sdk_1.SdkErrorCode.BTC_FEE_IS_TOO_LARGE,
11
+ 'dogecore.ErrorTransactionFeeErrorTooLarge': shared_abstract_sdk_1.SdkErrorCode.BTC_FEE_IS_TOO_LARGE,
10
12
  };
11
13
  class DogeSdkError extends shared_abstract_sdk_1.SdkError {
12
14
  constructor(error) {
@@ -1 +1 @@
1
- {"version":3,"file":"doge.sdk.errors.js","sourceRoot":"","sources":["../../../../../../packages/blockchain/doge/src/lib/doge.sdk.errors.ts"],"names":[],"mappings":";;;AAAA,sEAAqE;AAExD,QAAA,mBAAmB,GAAG;IACjC,2CAA2C,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