@riocrypto/common 1.0.2702 → 1.0.2703

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.
@@ -1,4 +1,5 @@
1
1
  export declare enum CryptoPayoutFailureReason {
2
2
  InsufficientFunds = "insufficientFunds",
3
+ InsufficientGas = "insufficientGas",
3
4
  Other = "other"
4
5
  }
@@ -4,5 +4,8 @@ exports.CryptoPayoutFailureReason = void 0;
4
4
  var CryptoPayoutFailureReason;
5
5
  (function (CryptoPayoutFailureReason) {
6
6
  CryptoPayoutFailureReason["InsufficientFunds"] = "insufficientFunds";
7
+ // The vault holds the asset being paid out but not enough of the chain's
8
+ // native token to pay the network fee, so the payout needs gas, not liquidity.
9
+ CryptoPayoutFailureReason["InsufficientGas"] = "insufficientGas";
7
10
  CryptoPayoutFailureReason["Other"] = "other";
8
11
  })(CryptoPayoutFailureReason = exports.CryptoPayoutFailureReason || (exports.CryptoPayoutFailureReason = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2702",
3
+ "version": "1.0.2703",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",