@superfluid-finance/sdk-core 0.5.1 → 0.5.3-dev.0079f56.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.
- package/CHANGELOG.md +14 -5
- package/dist/index.umd.js +67 -49
- package/dist/main/BatchCall.d.ts +5 -3
- package/dist/main/BatchCall.d.ts.map +1 -1
- package/dist/main/BatchCall.js +17 -9
- package/dist/main/BatchCall.js.map +1 -1
- package/dist/main/ConstantFlowAgreementV1.d.ts +1 -1
- package/dist/main/ConstantFlowAgreementV1.js +10 -10
- package/dist/main/ConstantFlowAgreementV1.js.map +1 -1
- package/dist/main/Governance.js +2 -2
- package/dist/main/Host.d.ts +11 -1
- package/dist/main/Host.d.ts.map +1 -1
- package/dist/main/Host.js +12 -1
- package/dist/main/Host.js.map +1 -1
- package/dist/main/InstantDistributionAgreementV1.d.ts +3 -3
- package/dist/main/InstantDistributionAgreementV1.js +11 -11
- package/dist/main/InstantDistributionAgreementV1.js.map +1 -1
- package/dist/main/Operation.d.ts +3 -3
- package/dist/main/Operation.js +3 -3
- package/dist/main/SFError.js +1 -1
- package/dist/main/SFError.js.map +1 -1
- package/dist/main/constants.js +1 -1
- package/dist/main/constants.js.map +1 -1
- package/dist/main/defaultSubgraphReleaseTag.json +1 -1
- package/dist/main/interfaces.d.ts +1 -0
- package/dist/main/interfaces.d.ts.map +1 -1
- package/dist/main/subgraph/entities/indexSubscription/indexSubscription.d.ts +1 -0
- package/dist/main/subgraph/entities/indexSubscription/indexSubscription.d.ts.map +1 -1
- package/dist/main/subgraph/entities/indexSubscription/indexSubscription.js +1 -0
- package/dist/main/subgraph/entities/indexSubscription/indexSubscription.js.map +1 -1
- package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts +1 -0
- package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts.map +1 -1
- package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.js +1 -1
- package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.js.map +1 -1
- package/dist/main/subgraph/entities/token/tokens.generated.d.ts +1 -0
- package/dist/main/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
- package/dist/main/subgraph/entities/token/tokens.generated.js +1 -1
- package/dist/main/subgraph/entities/token/tokens.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
- package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
- package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
- package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
- package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getIndexes.generated.d.ts +1 -0
- package/dist/main/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getIndexes.generated.js +1 -1
- package/dist/main/subgraph/queries/getIndexes.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getStreams.generated.d.ts +1 -0
- package/dist/main/subgraph/queries/getStreams.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getStreams.generated.js +1 -1
- package/dist/main/subgraph/queries/getStreams.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getTokens.generated.d.ts +1 -0
- package/dist/main/subgraph/queries/getTokens.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getTokens.generated.js +1 -1
- package/dist/main/subgraph/queries/getTokens.generated.js.map +1 -1
- package/dist/main/subgraph/schema.generated.d.ts +5 -1
- package/dist/main/subgraph/schema.generated.d.ts.map +1 -1
- package/dist/module/BatchCall.d.ts +5 -3
- package/dist/module/BatchCall.d.ts.map +1 -1
- package/dist/module/BatchCall.js +17 -9
- package/dist/module/BatchCall.js.map +1 -1
- package/dist/module/ConstantFlowAgreementV1.d.ts +1 -1
- package/dist/module/ConstantFlowAgreementV1.js +10 -10
- package/dist/module/ConstantFlowAgreementV1.js.map +1 -1
- package/dist/module/Governance.js +2 -2
- package/dist/module/Host.d.ts +11 -1
- package/dist/module/Host.d.ts.map +1 -1
- package/dist/module/Host.js +12 -1
- package/dist/module/Host.js.map +1 -1
- package/dist/module/InstantDistributionAgreementV1.d.ts +3 -3
- package/dist/module/InstantDistributionAgreementV1.js +11 -11
- package/dist/module/InstantDistributionAgreementV1.js.map +1 -1
- package/dist/module/Operation.d.ts +3 -3
- package/dist/module/Operation.js +3 -3
- package/dist/module/SFError.js +1 -1
- package/dist/module/SFError.js.map +1 -1
- package/dist/module/constants.js +1 -1
- package/dist/module/constants.js.map +1 -1
- package/dist/module/defaultSubgraphReleaseTag.json +1 -1
- package/dist/module/interfaces.d.ts +1 -0
- package/dist/module/interfaces.d.ts.map +1 -1
- package/dist/module/subgraph/entities/indexSubscription/indexSubscription.d.ts +1 -0
- package/dist/module/subgraph/entities/indexSubscription/indexSubscription.d.ts.map +1 -1
- package/dist/module/subgraph/entities/indexSubscription/indexSubscription.js +1 -0
- package/dist/module/subgraph/entities/indexSubscription/indexSubscription.js.map +1 -1
- package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts +1 -0
- package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts.map +1 -1
- package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.js +1 -1
- package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.js.map +1 -1
- package/dist/module/subgraph/entities/token/tokens.generated.d.ts +1 -0
- package/dist/module/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
- package/dist/module/subgraph/entities/token/tokens.generated.js +1 -1
- package/dist/module/subgraph/entities/token/tokens.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
- package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
- package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
- package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
- package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getIndexes.generated.d.ts +1 -0
- package/dist/module/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getIndexes.generated.js +1 -1
- package/dist/module/subgraph/queries/getIndexes.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getStreams.generated.d.ts +1 -0
- package/dist/module/subgraph/queries/getStreams.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getStreams.generated.js +1 -1
- package/dist/module/subgraph/queries/getStreams.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getTokens.generated.d.ts +1 -0
- package/dist/module/subgraph/queries/getTokens.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getTokens.generated.js +1 -1
- package/dist/module/subgraph/queries/getTokens.generated.js.map +1 -1
- package/dist/module/subgraph/schema.generated.d.ts +5 -1
- package/dist/module/subgraph/schema.generated.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
- Map `indexId` to `IndexSubscription` when querying from Subgraph
|
|
9
|
+
|
|
10
|
+
## [0.5.2] - 2022-07-26
|
|
11
|
+
|
|
8
12
|
### Added
|
|
9
13
|
- Support for `isNativeAssetSuperToken` property on SuperToken entity queries
|
|
10
14
|
- `callAppAction` Operation creator added to `Host` class
|
|
@@ -13,22 +17,26 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
13
17
|
- `BatchCall.getCallDataFunctionArgs` deprecates the old `BatchCall.getCallAgreementFunctionArgs`
|
|
14
18
|
- Migration:
|
|
15
19
|
- Replace `getCallAgreementFunctionArgs` with `getCallDataFunctionArgs` and pass in the fragment/ABI as the first argument, whilst keeping the same `callData` argument.
|
|
20
|
+
- `Host.populateCallAgreementTxnAndReturnOperation` is replaced by `Host.callAgreement`
|
|
21
|
+
- Migration:
|
|
22
|
+
- Replace instances of `populateCallAgreementTxnAndReturnOperation` with `callAgreement`
|
|
16
23
|
|
|
17
24
|
### Fixes
|
|
18
25
|
- Handle `CALL_APP_ACTION` operation type correctly in SDK-Core when doing a batch call
|
|
26
|
+
- Undefined `process` in `constants.ts` in React and client-side apps using SDK-Core directly
|
|
19
27
|
|
|
20
28
|
## [0.5.1] - 2022-07-26
|
|
21
29
|
|
|
22
|
-
|
|
30
|
+
### Fixes
|
|
23
31
|
- Patch fix serializeError strange serialization
|
|
24
32
|
|
|
25
33
|
## [0.5.0] - 2022-07-14
|
|
26
34
|
|
|
27
|
-
|
|
35
|
+
### Added
|
|
28
36
|
- Support for SetEvent and Subgraph v1.4.4
|
|
29
37
|
- `Framework.operation` method for easily creating `Operation` instances
|
|
30
38
|
|
|
31
|
-
|
|
39
|
+
### Fixes
|
|
32
40
|
- Compile AJV validations to prevent unsafe-eval and did not allow SDK-Core usage inside Google Chrome extension due to unsafe-eval CSP
|
|
33
41
|
|
|
34
42
|
### Changed
|
|
@@ -41,7 +49,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
41
49
|
|
|
42
50
|
## [0.4.4] - 2022-06-30
|
|
43
51
|
|
|
44
|
-
|
|
52
|
+
### Added
|
|
45
53
|
- Support for new event properties for Subgraph v1.4.1
|
|
46
54
|
|
|
47
55
|
### Breaking
|
|
@@ -186,7 +194,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
186
194
|
- New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
|
|
187
195
|
- New `BatchCall` class for creating and executing batch calls with supported `Operation's`
|
|
188
196
|
|
|
189
|
-
[Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.
|
|
197
|
+
[Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.2...HEAD
|
|
198
|
+
[0.5.2]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.1...sdk-core%40v0.5.2
|
|
190
199
|
[0.5.1]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.0...sdk-core%40v0.5.1
|
|
191
200
|
[0.5.0]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.4...sdk-core%40v0.5.0
|
|
192
201
|
[0.4.4]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.3...sdk-core%40v0.4.4
|