@sovryn-zero/lib-base 0.2.0 → 0.2.2

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.
Files changed (41) hide show
  1. package/dist/index.d.ts +13 -13
  2. package/dist/index.js +25 -25
  3. package/dist/src/Decimal.d.ts +88 -88
  4. package/dist/src/Decimal.js +360 -360
  5. package/dist/src/Fees.d.ts +81 -81
  6. package/dist/src/Fees.js +122 -122
  7. package/dist/src/LiquityStore.d.ts +206 -208
  8. package/dist/src/LiquityStore.d.ts.map +1 -1
  9. package/dist/src/LiquityStore.js +207 -208
  10. package/dist/src/LiquityStore.js.map +1 -1
  11. package/dist/src/ObservableLiquity.d.ts +14 -14
  12. package/dist/src/ObservableLiquity.js +2 -2
  13. package/dist/src/PopulatableLiquity.d.ts +124 -124
  14. package/dist/src/PopulatableLiquity.js +2 -2
  15. package/dist/src/ReadableLiquity.d.ts +151 -155
  16. package/dist/src/ReadableLiquity.d.ts.map +1 -1
  17. package/dist/src/ReadableLiquity.js +2 -2
  18. package/dist/src/SendableLiquity.d.ts +155 -155
  19. package/dist/src/SendableLiquity.js +19 -19
  20. package/dist/src/StabilityDeposit.d.ts +58 -58
  21. package/dist/src/StabilityDeposit.js +79 -79
  22. package/dist/src/TransactableLiquity.d.ts +413 -413
  23. package/dist/src/TransactableLiquity.js +17 -17
  24. package/dist/src/Trove.d.ts +366 -366
  25. package/dist/src/Trove.js +422 -422
  26. package/dist/src/ZEROStake.d.ts +51 -51
  27. package/dist/src/ZEROStake.js +73 -73
  28. package/dist/src/_CachedReadableLiquity.d.ts +53 -54
  29. package/dist/src/_CachedReadableLiquity.d.ts.map +1 -1
  30. package/dist/src/_CachedReadableLiquity.js +88 -92
  31. package/dist/src/_CachedReadableLiquity.js.map +1 -1
  32. package/dist/src/constants.d.ts +60 -60
  33. package/dist/src/constants.d.ts.map +1 -1
  34. package/dist/src/constants.js +63 -63
  35. package/dist/src/constants.js.map +1 -1
  36. package/etc/lib-base.api.md +0 -4
  37. package/package.json +1 -1
  38. package/src/LiquityStore.ts +0 -9
  39. package/src/ReadableLiquity.ts +0 -5
  40. package/src/_CachedReadableLiquity.ts +0 -7
  41. package/src/constants.ts +1 -1
@@ -1,18 +1,18 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionFailedError = void 0;
4
- /**
5
- * Thrown by {@link TransactableLiquity} functions in case of transaction failure.
6
- *
7
- * @public
8
- */
9
- class TransactionFailedError extends Error {
10
- /** @internal */
11
- constructor(name, message, failedReceipt) {
12
- super(message);
13
- this.name = name;
14
- this.failedReceipt = failedReceipt;
15
- }
16
- }
17
- exports.TransactionFailedError = TransactionFailedError;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransactionFailedError = void 0;
4
+ /**
5
+ * Thrown by {@link TransactableLiquity} functions in case of transaction failure.
6
+ *
7
+ * @public
8
+ */
9
+ class TransactionFailedError extends Error {
10
+ /** @internal */
11
+ constructor(name, message, failedReceipt) {
12
+ super(message);
13
+ this.name = name;
14
+ this.failedReceipt = failedReceipt;
15
+ }
16
+ }
17
+ exports.TransactionFailedError = TransactionFailedError;
18
18
  //# sourceMappingURL=TransactableLiquity.js.map