@superfluid-finance/sdk-core 0.5.1-dev.cfb8f07.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 +37 -1
- package/dist/index.umd.js +25417 -7726
- package/dist/main/BatchCall.d.ts.map +1 -1
- package/dist/main/BatchCall.js +6 -6
- package/dist/main/BatchCall.js.map +1 -1
- package/dist/main/ConstantFlowAgreementV1.js +12 -12
- package/dist/main/ConstantFlowAgreementV1.js.map +1 -1
- package/dist/main/ERC20Token.js +10 -10
- package/dist/main/ERC20Token.js.map +1 -1
- package/dist/main/Framework.d.ts +8 -1
- package/dist/main/Framework.d.ts.map +1 -1
- package/dist/main/Framework.js +21 -11
- package/dist/main/Framework.js.map +1 -1
- package/dist/main/InstantDistributionAgreementV1.js +4 -4
- package/dist/main/InstantDistributionAgreementV1.js.map +1 -1
- package/dist/main/Operation.js +6 -6
- package/dist/main/Operation.js.map +1 -1
- package/dist/main/SFError.d.ts +6 -7
- package/dist/main/SFError.d.ts.map +1 -1
- package/dist/main/SFError.js +27 -10
- package/dist/main/SFError.js.map +1 -1
- package/dist/main/SuperToken.js +5 -5
- package/dist/main/SuperToken.js.map +1 -1
- package/dist/main/defaultSubgraphReleaseTag.json +1 -1
- package/dist/main/frameworkHelpers.js +3 -3
- package/dist/main/frameworkHelpers.js.map +1 -1
- package/dist/main/index.d.ts +2 -0
- package/dist/main/index.d.ts.map +1 -1
- package/dist/main/index.js +3 -1
- package/dist/main/index.js.map +1 -1
- package/dist/main/interfaces.d.ts.map +1 -1
- package/dist/main/subgraph/SubgraphClient.d.ts.map +1 -1
- package/dist/main/subgraph/SubgraphClient.js +8 -2
- package/dist/main/subgraph/SubgraphClient.js.map +1 -1
- package/dist/main/utils.js +1 -1
- package/dist/main/utils.js.map +1 -1
- package/dist/module/BatchCall.d.ts.map +1 -1
- package/dist/module/BatchCall.js +6 -6
- package/dist/module/BatchCall.js.map +1 -1
- package/dist/module/ConstantFlowAgreementV1.js +12 -12
- package/dist/module/ConstantFlowAgreementV1.js.map +1 -1
- package/dist/module/ERC20Token.js +10 -10
- package/dist/module/ERC20Token.js.map +1 -1
- package/dist/module/Framework.d.ts +8 -1
- package/dist/module/Framework.d.ts.map +1 -1
- package/dist/module/Framework.js +21 -11
- package/dist/module/Framework.js.map +1 -1
- package/dist/module/InstantDistributionAgreementV1.js +4 -4
- package/dist/module/InstantDistributionAgreementV1.js.map +1 -1
- package/dist/module/Operation.js +6 -6
- package/dist/module/Operation.js.map +1 -1
- package/dist/module/SFError.d.ts +6 -7
- package/dist/module/SFError.d.ts.map +1 -1
- package/dist/module/SFError.js +27 -10
- package/dist/module/SFError.js.map +1 -1
- package/dist/module/SuperToken.js +5 -5
- package/dist/module/SuperToken.js.map +1 -1
- package/dist/module/defaultSubgraphReleaseTag.json +1 -1
- package/dist/module/frameworkHelpers.js +3 -3
- package/dist/module/frameworkHelpers.js.map +1 -1
- package/dist/module/index.d.ts +2 -0
- package/dist/module/index.d.ts.map +1 -1
- package/dist/module/index.js +2 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/interfaces.d.ts.map +1 -1
- package/dist/module/subgraph/SubgraphClient.d.ts.map +1 -1
- package/dist/module/subgraph/SubgraphClient.js +8 -2
- package/dist/module/subgraph/SubgraphClient.js.map +1 -1
- package/dist/module/utils.js +1 -1
- package/dist/module/utils.js.map +1 -1
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,40 @@ 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
|
+
|
|
25
|
+
## [0.5.0] - 2022-07-14
|
|
26
|
+
|
|
27
|
+
## Added
|
|
28
|
+
- Support for SetEvent and Subgraph v1.4.4
|
|
29
|
+
- `Framework.operation` method for easily creating `Operation` instances
|
|
30
|
+
|
|
31
|
+
## Fixes
|
|
32
|
+
- Compile AJV validations to prevent unsafe-eval and did not allow SDK-Core usage inside Google Chrome extension due to unsafe-eval CSP
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
- `SFError` refactor to be more conventional. It inherits `Error` and uses `cause` to wrap internal errors.
|
|
36
|
+
- Use `serialize-error` for serializing error object inside the message.
|
|
37
|
+
- Export Operation & OperationType
|
|
38
|
+
|
|
39
|
+
### Breaking
|
|
40
|
+
- `SFError.errorObject` renamed to `SFError.cause`
|
|
41
|
+
|
|
8
42
|
## [0.4.4] - 2022-06-30
|
|
9
43
|
|
|
10
44
|
## Added
|
|
@@ -152,7 +186,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
152
186
|
- New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
|
|
153
187
|
- New `BatchCall` class for creating and executing batch calls with supported `Operation's`
|
|
154
188
|
|
|
155
|
-
[Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.
|
|
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
|
|
191
|
+
[0.5.0]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.4...sdk-core%40v0.5.0
|
|
156
192
|
[0.4.4]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.3...sdk-core%40v0.4.4
|
|
157
193
|
[0.4.3]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.2...sdk-core%40v0.4.3
|
|
158
194
|
[0.4.2]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.1...sdk-core%40v0.4.2
|