@superfluid-finance/sdk-core 0.4.4-dev.f94fdbb.0 → 0.4.5-dev.6cf4191.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 +19 -2
- package/README.md +1 -1
- package/dist/index.umd.js +308 -207
- package/dist/main/Framework.d.ts +1 -7
- package/dist/main/Framework.d.ts.map +1 -1
- package/dist/main/Framework.js +2 -9
- package/dist/main/Framework.js.map +1 -1
- package/dist/main/Query.d.ts +0 -2
- package/dist/main/Query.d.ts.map +1 -1
- package/dist/main/Query.js +0 -37
- package/dist/main/Query.js.map +1 -1
- package/dist/main/SFError.d.ts +1 -1
- package/dist/main/SFError.d.ts.map +1 -1
- package/dist/main/SFError.js +0 -1
- package/dist/main/SFError.js.map +1 -1
- package/dist/main/constants.d.ts +2 -1
- package/dist/main/constants.d.ts.map +1 -1
- package/dist/main/constants.js +29 -30
- package/dist/main/constants.js.map +1 -1
- package/dist/main/events.d.ts +15 -0
- package/dist/main/events.d.ts.map +1 -1
- package/dist/main/events.js +7 -0
- package/dist/main/events.js.map +1 -1
- package/dist/main/frameworkHelpers.d.ts +1 -2
- package/dist/main/frameworkHelpers.d.ts.map +1 -1
- package/dist/main/frameworkHelpers.js +12 -39
- 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 +2 -0
- package/dist/main/index.js.map +1 -1
- package/dist/main/mapGetAllEventsQueryEvents.d.ts.map +1 -1
- package/dist/main/mapGetAllEventsQueryEvents.js +86 -0
- package/dist/main/mapGetAllEventsQueryEvents.js.map +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts +3 -1
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts.map +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js +3 -1
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js.map +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts +3 -1
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts.map +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js.map +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts.map +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js +3 -1
- package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js.map +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts +3 -1
- package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts.map +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.js +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.js.map +1 -1
- package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLog.d.ts +43 -0
- package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLog.d.ts.map +1 -0
- package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLog.js +27 -0
- package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLog.js.map +1 -0
- package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.d.ts +46 -0
- package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.d.ts.map +1 -0
- package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.js +5 -0
- package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.js.map +1 -0
- package/dist/main/subgraph/events/events.generated.d.ts +89 -0
- package/dist/main/subgraph/events/events.generated.d.ts.map +1 -1
- package/dist/main/subgraph/events/events.generated.js +37 -37
- package/dist/main/subgraph/events/events.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getAllEvents.generated.d.ts +46 -0
- package/dist/main/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getAllEvents.generated.js +1 -1
- package/dist/main/subgraph/queries/getAllEvents.generated.js.map +1 -1
- package/dist/main/subgraph/schema.generated.d.ts +707 -42
- package/dist/main/subgraph/schema.generated.d.ts.map +1 -1
- package/dist/main/types.d.ts +0 -1
- package/dist/main/types.d.ts.map +1 -1
- package/dist/module/Framework.d.ts +1 -7
- package/dist/module/Framework.d.ts.map +1 -1
- package/dist/module/Framework.js +2 -9
- package/dist/module/Framework.js.map +1 -1
- package/dist/module/Query.d.ts +0 -2
- package/dist/module/Query.d.ts.map +1 -1
- package/dist/module/Query.js +0 -37
- package/dist/module/Query.js.map +1 -1
- package/dist/module/SFError.d.ts +1 -1
- package/dist/module/SFError.d.ts.map +1 -1
- package/dist/module/SFError.js +0 -1
- package/dist/module/SFError.js.map +1 -1
- package/dist/module/constants.d.ts +2 -1
- package/dist/module/constants.d.ts.map +1 -1
- package/dist/module/constants.js +28 -29
- package/dist/module/constants.js.map +1 -1
- package/dist/module/events.d.ts +15 -0
- package/dist/module/events.d.ts.map +1 -1
- package/dist/module/events.js +6 -1
- package/dist/module/events.js.map +1 -1
- package/dist/module/frameworkHelpers.d.ts +1 -2
- package/dist/module/frameworkHelpers.d.ts.map +1 -1
- package/dist/module/frameworkHelpers.js +13 -40
- 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/mapGetAllEventsQueryEvents.d.ts.map +1 -1
- package/dist/module/mapGetAllEventsQueryEvents.js +63 -0
- package/dist/module/mapGetAllEventsQueryEvents.js.map +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts +3 -1
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts.map +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js +3 -1
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js.map +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts +3 -1
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts.map +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js.map +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts.map +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js +3 -1
- package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js.map +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts +3 -1
- package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts.map +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.js +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.js.map +1 -1
- package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLog.d.ts +43 -0
- package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLog.d.ts.map +1 -0
- package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLog.js +23 -0
- package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLog.js.map +1 -0
- package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.d.ts +46 -0
- package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.d.ts.map +1 -0
- package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.js +2 -0
- package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.js.map +1 -0
- package/dist/module/subgraph/events/events.generated.d.ts +89 -0
- package/dist/module/subgraph/events/events.generated.d.ts.map +1 -1
- package/dist/module/subgraph/events/events.generated.js +37 -37
- package/dist/module/subgraph/events/events.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getAllEvents.generated.d.ts +46 -0
- package/dist/module/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getAllEvents.generated.js +1 -1
- package/dist/module/subgraph/queries/getAllEvents.generated.js.map +1 -1
- package/dist/module/subgraph/schema.generated.d.ts +707 -42
- package/dist/module/subgraph/schema.generated.d.ts.map +1 -1
- package/dist/module/types.d.ts +0 -1
- package/dist/module/types.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,10 +5,26 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
-
## [0.4.
|
|
8
|
+
## [0.4.4] - 2022-06-30
|
|
9
|
+
|
|
10
|
+
## Added
|
|
11
|
+
- Support for new event properties for Subgraph v1.4.1
|
|
9
12
|
|
|
10
13
|
### Breaking
|
|
11
14
|
- Subgraph Query: `rewardAccount` renamed to `rewardAmountReceiver` on `AgreementLiquidatedV2Event` entity
|
|
15
|
+
- `chainId` is a required property for framework initialization
|
|
16
|
+
- `networkId` and `dataMode` no longer exist as properties for framework initialization
|
|
17
|
+
|
|
18
|
+
## [0.4.3] - 2022-06-29
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- BNB Chain support added
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
- `maybeCriticalAtTimestamp` is a nullable property now
|
|
25
|
+
|
|
26
|
+
## [0.4.2] - 2022-05-17
|
|
27
|
+
|
|
12
28
|
### Added
|
|
13
29
|
- `QueryHandler` for transfer events
|
|
14
30
|
|
|
@@ -136,7 +152,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
136
152
|
- New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
|
|
137
153
|
- New `BatchCall` class for creating and executing batch calls with supported `Operation's`
|
|
138
154
|
|
|
139
|
-
[Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.
|
|
155
|
+
[Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.4...HEAD
|
|
156
|
+
[0.4.4]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.3...sdk-core%40v0.4.4
|
|
140
157
|
[0.4.3]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.2...sdk-core%40v0.4.3
|
|
141
158
|
[0.4.2]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.1...sdk-core%40v0.4.2
|
|
142
159
|
[0.4.1]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.0...sdk-core%40v0.4.1
|
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ Under the hood, SDK-Core leverages TypeScript, ethers.js and The Graph and Graph
|
|
|
34
34
|
SDK-Core is in early active development and can have breaking releases without warning and without consideration for semantic versioning.
|
|
35
35
|
|
|
36
36
|
# Features
|
|
37
|
-
* Minimal Framework initialization (`
|
|
37
|
+
* Minimal Framework initialization (`chainId` and `provider`)
|
|
38
38
|
* New Operation syntax for transactions
|
|
39
39
|
* Create/Update/Delete Agreement Operations (Constant Flow Agreement and Instant Distribution Agreement)
|
|
40
40
|
* SuperToken Operations
|