@superfluid-finance/sdk-core 0.5.1-dev.84853ed.0 → 0.5.1

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.
package/CHANGELOG.md CHANGED
@@ -5,17 +5,36 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ### Added
9
+ - Support for `isNativeAssetSuperToken` property on SuperToken entity queries
10
+ - `callAppAction` Operation creator added to `Host` class
11
+
12
+ ### Breaking
13
+ - `BatchCall.getCallDataFunctionArgs` deprecates the old `BatchCall.getCallAgreementFunctionArgs`
14
+ - Migration:
15
+ - Replace `getCallAgreementFunctionArgs` with `getCallDataFunctionArgs` and pass in the fragment/ABI as the first argument, whilst keeping the same `callData` argument.
16
+
17
+ ### Fixes
18
+ - Handle `CALL_APP_ACTION` operation type correctly in SDK-Core when doing a batch call
19
+
20
+ ## [0.5.1] - 2022-07-26
21
+
22
+ ## Fixes
23
+ - Patch fix serializeError strange serialization
24
+
8
25
  ## [0.5.0] - 2022-07-14
9
26
 
10
27
  ## Added
11
28
  - Support for SetEvent and Subgraph v1.4.4
29
+ - `Framework.operation` method for easily creating `Operation` instances
12
30
 
13
31
  ## Fixes
14
32
  - Compile AJV validations to prevent unsafe-eval and did not allow SDK-Core usage inside Google Chrome extension due to unsafe-eval CSP
15
33
 
16
34
  ### Changed
17
35
  - `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)
36
+ - Use `serialize-error` for serializing error object inside the message.
37
+ - Export Operation & OperationType
19
38
 
20
39
  ### Breaking
21
40
  - `SFError.errorObject` renamed to `SFError.cause`
@@ -167,7 +186,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
167
186
  - New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
168
187
  - New `BatchCall` class for creating and executing batch calls with supported `Operation's`
169
188
 
170
- [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.0...HEAD
189
+ [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.1...HEAD
190
+ [0.5.1]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.0...sdk-core%40v0.5.1
171
191
  [0.5.0]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.4...sdk-core%40v0.5.0
172
192
  [0.4.4]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.3...sdk-core%40v0.4.4
173
193
  [0.4.3]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.2...sdk-core%40v0.4.3