@superfluid-finance/sdk-core 0.5.1-dev.763ca69.0 → 0.5.1-dev.84853ed.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 (57) hide show
  1. package/CHANGELOG.md +17 -1
  2. package/dist/index.umd.js +18711 -3221
  3. package/dist/main/BatchCall.d.ts.map +1 -1
  4. package/dist/main/BatchCall.js +6 -6
  5. package/dist/main/BatchCall.js.map +1 -1
  6. package/dist/main/ConstantFlowAgreementV1.js +12 -12
  7. package/dist/main/ConstantFlowAgreementV1.js.map +1 -1
  8. package/dist/main/ERC20Token.js +10 -10
  9. package/dist/main/ERC20Token.js.map +1 -1
  10. package/dist/main/Framework.d.ts.map +1 -1
  11. package/dist/main/Framework.js +11 -11
  12. package/dist/main/Framework.js.map +1 -1
  13. package/dist/main/InstantDistributionAgreementV1.js +4 -4
  14. package/dist/main/InstantDistributionAgreementV1.js.map +1 -1
  15. package/dist/main/Operation.js +6 -6
  16. package/dist/main/Operation.js.map +1 -1
  17. package/dist/main/SFError.d.ts +6 -7
  18. package/dist/main/SFError.d.ts.map +1 -1
  19. package/dist/main/SFError.js +16 -10
  20. package/dist/main/SFError.js.map +1 -1
  21. package/dist/main/SuperToken.js +5 -5
  22. package/dist/main/SuperToken.js.map +1 -1
  23. package/dist/main/frameworkHelpers.js +3 -3
  24. package/dist/main/frameworkHelpers.js.map +1 -1
  25. package/dist/main/subgraph/SubgraphClient.d.ts.map +1 -1
  26. package/dist/main/subgraph/SubgraphClient.js +8 -2
  27. package/dist/main/subgraph/SubgraphClient.js.map +1 -1
  28. package/dist/main/utils.js +1 -1
  29. package/dist/main/utils.js.map +1 -1
  30. package/dist/module/BatchCall.d.ts.map +1 -1
  31. package/dist/module/BatchCall.js +6 -6
  32. package/dist/module/BatchCall.js.map +1 -1
  33. package/dist/module/ConstantFlowAgreementV1.js +12 -12
  34. package/dist/module/ConstantFlowAgreementV1.js.map +1 -1
  35. package/dist/module/ERC20Token.js +10 -10
  36. package/dist/module/ERC20Token.js.map +1 -1
  37. package/dist/module/Framework.d.ts.map +1 -1
  38. package/dist/module/Framework.js +11 -11
  39. package/dist/module/Framework.js.map +1 -1
  40. package/dist/module/InstantDistributionAgreementV1.js +4 -4
  41. package/dist/module/InstantDistributionAgreementV1.js.map +1 -1
  42. package/dist/module/Operation.js +6 -6
  43. package/dist/module/Operation.js.map +1 -1
  44. package/dist/module/SFError.d.ts +6 -7
  45. package/dist/module/SFError.d.ts.map +1 -1
  46. package/dist/module/SFError.js +16 -10
  47. package/dist/module/SFError.js.map +1 -1
  48. package/dist/module/SuperToken.js +5 -5
  49. package/dist/module/SuperToken.js.map +1 -1
  50. package/dist/module/frameworkHelpers.js +3 -3
  51. package/dist/module/frameworkHelpers.js.map +1 -1
  52. package/dist/module/subgraph/SubgraphClient.d.ts.map +1 -1
  53. package/dist/module/subgraph/SubgraphClient.js +8 -2
  54. package/dist/module/subgraph/SubgraphClient.js.map +1 -1
  55. package/dist/module/utils.js +1 -1
  56. package/dist/module/utils.js.map +1 -1
  57. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.5.0] - 2022-07-14
9
+
10
+ ## Added
11
+ - Support for SetEvent and Subgraph v1.4.4
12
+
13
+ ## Fixes
14
+ - Compile AJV validations to prevent unsafe-eval and did not allow SDK-Core usage inside Google Chrome extension due to unsafe-eval CSP
15
+
16
+ ### Changed
17
+ - `SFError` refactor to be more conventional. It inherits `Error` and uses `cause` to wrap internal errors.
18
+ - Remove serialized internal error from the messages of `SFError` (it's now just included in the `.cause` property)
19
+
20
+ ### Breaking
21
+ - `SFError.errorObject` renamed to `SFError.cause`
22
+
8
23
  ## [0.4.4] - 2022-06-30
9
24
 
10
25
  ## Added
@@ -152,7 +167,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
152
167
  - New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
153
168
  - New `BatchCall` class for creating and executing batch calls with supported `Operation's`
154
169
 
155
- [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.4...HEAD
170
+ [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.0...HEAD
171
+ [0.5.0]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.4...sdk-core%40v0.5.0
156
172
  [0.4.4]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.3...sdk-core%40v0.4.4
157
173
  [0.4.3]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.2...sdk-core%40v0.4.3
158
174
  [0.4.2]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.1...sdk-core%40v0.4.2