@superfluid-finance/sdk-core 0.5.4-dev.a55899d.0 → 0.5.6-dev.381116e.0

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 (39) hide show
  1. package/CHANGELOG.md +20 -1
  2. package/dist/index.umd.js +629 -2675
  3. package/dist/main/BatchCall.d.ts.map +1 -1
  4. package/dist/main/BatchCall.js +8 -26
  5. package/dist/main/BatchCall.js.map +1 -1
  6. package/dist/main/Operation.d.ts.map +1 -1
  7. package/dist/main/Operation.js +7 -36
  8. package/dist/main/Operation.js.map +1 -1
  9. package/dist/main/SFError.d.ts +1 -1
  10. package/dist/main/SFError.d.ts.map +1 -1
  11. package/dist/main/SFError.js +11 -17
  12. package/dist/main/SFError.js.map +1 -1
  13. package/dist/main/constants.d.ts +0 -30
  14. package/dist/main/constants.d.ts.map +1 -1
  15. package/dist/main/constants.js +21 -191
  16. package/dist/main/constants.js.map +1 -1
  17. package/dist/main/miniSerializeError.d.ts +14 -0
  18. package/dist/main/miniSerializeError.d.ts.map +1 -0
  19. package/dist/main/miniSerializeError.js +29 -0
  20. package/dist/main/miniSerializeError.js.map +1 -0
  21. package/dist/module/BatchCall.d.ts.map +1 -1
  22. package/dist/module/BatchCall.js +8 -26
  23. package/dist/module/BatchCall.js.map +1 -1
  24. package/dist/module/Operation.d.ts.map +1 -1
  25. package/dist/module/Operation.js +7 -36
  26. package/dist/module/Operation.js.map +1 -1
  27. package/dist/module/SFError.d.ts +1 -1
  28. package/dist/module/SFError.d.ts.map +1 -1
  29. package/dist/module/SFError.js +11 -17
  30. package/dist/module/SFError.js.map +1 -1
  31. package/dist/module/constants.d.ts +0 -30
  32. package/dist/module/constants.d.ts.map +1 -1
  33. package/dist/module/constants.js +20 -190
  34. package/dist/module/constants.js.map +1 -1
  35. package/dist/module/miniSerializeError.d.ts +14 -0
  36. package/dist/module/miniSerializeError.d.ts.map +1 -0
  37. package/dist/module/miniSerializeError.js +25 -0
  38. package/dist/module/miniSerializeError.js.map +1 -0
  39. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -5,6 +5,23 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ### Breaking
9
+ - Don't throw `SFError` when executing `Operation` or `BatchCall`; let the original error bubble up
10
+
11
+ ### Fixes
12
+ - Serialize a much smaller version of the cause in `SFError` (only `name`, `message`, `code`)
13
+ - Change `SFError.name` from "Error" to "SFError"
14
+
15
+ ## [0.5.5] - 2022-08-31
16
+ ### Added
17
+ - Support for: `optimism-goerli` and `arbitrum-goerli` added
18
+ ### Breaking
19
+ - Support for: `rinkeby`, `ropsten`, `kovan`, `optimism-kovan` and `arbitrum-rinkeby` removed
20
+ # [0.5.4] - 2022-08-19
21
+
22
+ ### Fixes
23
+ - Properly console the cause, not the caught serialization error
24
+
8
25
  ## [0.5.3] - 2022-08-15
9
26
 
10
27
  ### Added
@@ -200,7 +217,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
200
217
  - New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
201
218
  - New `BatchCall` class for creating and executing batch calls with supported `Operation's`
202
219
 
203
- [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.3...HEAD
220
+ [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.5...HEAD
221
+ [0.5.5]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.4...sdk-core%40v0.5.5
222
+ [0.5.4]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.3...sdk-core%40v0.5.4
204
223
  [0.5.3]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.2...sdk-core%40v0.5.3
205
224
  [0.5.2]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.1...sdk-core%40v0.5.2
206
225
  [0.5.1]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.0...sdk-core%40v0.5.1