@superfluid-finance/sdk-core 0.4.3-dev.bf0fae9.0 → 0.4.4-dev.4eebafa.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 -3
- package/dist/index.umd.js +62 -11
- package/dist/main/events.d.ts +8 -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/mapGetAllEventsQueryEvents.d.ts.map +1 -1
- package/dist/main/mapGetAllEventsQueryEvents.js +41 -0
- package/dist/main/mapGetAllEventsQueryEvents.js.map +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts.map +1 -1
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js +1 -0
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.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 +1 -0
- package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js.map +1 -1
- package/dist/main/subgraph/events/events.generated.d.ts +1 -0
- package/dist/main/subgraph/events/events.generated.d.ts.map +1 -1
- package/dist/main/subgraph/events/events.generated.js +1 -1
- package/dist/main/subgraph/events/events.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getAllEvents.generated.d.ts +1 -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 +7 -1
- package/dist/main/subgraph/schema.generated.d.ts.map +1 -1
- package/dist/module/events.d.ts +8 -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/mapGetAllEventsQueryEvents.d.ts.map +1 -1
- package/dist/module/mapGetAllEventsQueryEvents.js +18 -0
- package/dist/module/mapGetAllEventsQueryEvents.js.map +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts.map +1 -1
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js +1 -0
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.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 +1 -0
- package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js.map +1 -1
- package/dist/module/subgraph/events/events.generated.d.ts +1 -0
- package/dist/module/subgraph/events/events.generated.d.ts.map +1 -1
- package/dist/module/subgraph/events/events.generated.js +1 -1
- package/dist/module/subgraph/events/events.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getAllEvents.generated.d.ts +1 -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 +7 -1
- package/dist/module/subgraph/schema.generated.d.ts.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,18 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.4.3] - 2022-05-31
|
|
9
|
+
|
|
10
|
+
### Breaking
|
|
11
|
+
- Subgraph Query: `rewardAccount` renamed to `rewardAmountReceiver` on `AgreementLiquidatedV2Event` entity
|
|
8
12
|
### Added
|
|
9
13
|
- `QueryHandler` for transfer events
|
|
10
14
|
|
|
15
|
+
## [0.4.2] - 2022-05-17
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Patched SDK-Core Subgraph files to be in sync with V1 Subgraph endpoint
|
|
19
|
+
|
|
11
20
|
## [0.4.1] - 2022-05-14
|
|
12
21
|
|
|
13
22
|
### Added
|
|
@@ -47,7 +56,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
47
56
|
- The `SuperToken` class is now an abstract base class and no longer contains the functions `upgrade` and `downgrade`.
|
|
48
57
|
- `underlyingToken` is possibly undefined on `SuperToken`: `WrapperSuperToken` has `underlyingToken`, but `PureSuperToken` and `NativeAssetSuperToken` do not.
|
|
49
58
|
> NOTE: These changes are due to the split of `SuperToken` into `WrapperSuperToken`, `PureSuperToken` and `NativeAssetSuperToken` classes.
|
|
50
|
-
- Migration:
|
|
59
|
+
- Migration:
|
|
51
60
|
- if you are unsure of the type of the super token, you can use: `await framework.loadSuperToken("0x...");`
|
|
52
61
|
- if you want to load a wrapper super token, use: `await framework.loadWrapperSuperToken("DAIx");`
|
|
53
62
|
- if you want to load a native asset super token, use: `await framework.loadNativeAssetSuperToken("ETHx");`
|
|
@@ -69,7 +78,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
69
78
|
- Typo for `networkName: "arbitrum-rinkeby"` fixed (was expecting `"arbitrium-rinkeby"`) in `Framework.create` ([#637])
|
|
70
79
|
|
|
71
80
|
### Breaking
|
|
72
|
-
- Using `"xdai"` as the `networkName` will no longer work. Updated to `"gnosis"`
|
|
81
|
+
- Using `"xdai"` as the `networkName` will no longer work. Updated to `"gnosis"`
|
|
73
82
|
- Migration: change `networkName` from `"xdai"` to `"gnosis"`
|
|
74
83
|
|
|
75
84
|
## [0.3.0] - 2022-02-02
|
|
@@ -127,7 +136,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
127
136
|
- New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
|
|
128
137
|
- New `BatchCall` class for creating and executing batch calls with supported `Operation's`
|
|
129
138
|
|
|
130
|
-
[Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.
|
|
139
|
+
[Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.3...HEAD
|
|
140
|
+
[0.4.3]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.2...sdk-core%40v0.4.3
|
|
141
|
+
[0.4.2]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.1...sdk-core%40v0.4.2
|
|
131
142
|
[0.4.1]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.0...sdk-core%40v0.4.1
|
|
132
143
|
[0.4.0]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.3.2...sdk-core%40v0.4.0
|
|
133
144
|
[0.3.2]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.3.1...sdk-core%40v0.3.2
|