@superfluid-finance/sdk-core 0.5.8 → 0.6.1-dev.0dd36e9.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 CHANGED
@@ -4,12 +4,13 @@ All notable changes to the SDK-core will be documented in this file.
4
4
  This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
6
  ## [Unreleased]
7
+ ### Added
8
+ - Map `deposit` to Stream when querying from Subgraph
7
9
 
8
- ## [0.5.8] - 2022-11-15
10
+ ## [0.6.0] - 2022-11-02
9
11
 
10
12
  ### Added
11
- - Support for eth-mainnet
12
- - Map `deposit` to Stream when querying from Subgraph
13
+ - Support for mainnet
13
14
 
14
15
  ### Changed
15
16
  - Framework initialization for supported networks utilizes `@superfluid-finance/metadata`, but still uses the resolver for unsupported/local testing environments
@@ -98,87 +99,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
98
99
  ### Breaking
99
100
  - `SFError.errorObject` renamed to `SFError.cause`
100
101
 
101
- ## [0.5.7] - 2022-10-13
102
- ### Breaking
103
-
104
- - `CFAv1Forwarder` integrated into SDK-Core and will be the default way of calling CFA agreements and `sender` is now a required property.
105
- - Migration: pass sender into the affected CFAv1 callAgreement functions - `create/update/deleteFlow`.
106
- > NOTE: You must pass `shouldUseCallAgreement` explicitly as a property if you want to execute these calls via the Host.
107
-
108
- ### Added
109
-
110
- - typechain files consumed from `@superfluid-finance/ethereum-contracts` and exported from SDK-Core
111
-
112
- ## [0.5.6] - 2022-09-07
113
- ### Fixes
114
- - Correct `subgraphAPIEndpoint` in `getResolverData`
115
-
116
- ### Breaking
117
- - Don't wrap `SubgraphClient` with `SFError`
118
-
119
- ## [0.5.5] - 2022-08-31
120
- ### Added
121
- - Support for: `optimism-goerli` and `arbitrum-goerli` added
122
- ### Breaking
123
- - Support for: `rinkeby`, `ropsten`, `kovan`, `optimism-kovan` and `arbitrum-rinkeby` removed
124
- - Don't throw `SFError` when executing `Operation` or `BatchCall`; let the original error bubble up
125
-
126
- ### Fixes
127
- - Serialize a much smaller version of the cause in `SFError` (only `name`, `message`, `code`)
128
- - Change `SFError.name` from "Error" to "SFError"
129
- # [0.5.4] - 2022-08-19
130
-
131
- ### Fixes
132
- - Properly console the cause, not the caught serialization error
133
-
134
- ## [0.5.3] - 2022-08-15
135
-
136
- ### Added
137
- - Map `indexId` to `IndexSubscription` when querying from Subgraph
138
-
139
- ### Fixes
140
- - Catch and handle serialization error
141
-
142
- ## [0.5.2] - 2022-07-26
143
-
144
- ### Added
145
- - Support for `isNativeAssetSuperToken` property on SuperToken entity queries
146
- - `callAppAction` Operation creator added to `Host` class
147
-
148
- ### Breaking
149
- - `BatchCall.getCallDataFunctionArgs` deprecates the old `BatchCall.getCallAgreementFunctionArgs`
150
- - Migration:
151
- - Replace `getCallAgreementFunctionArgs` with `getCallDataFunctionArgs` and pass in the fragment/ABI as the first argument, whilst keeping the same `callData` argument.
152
- - `Host.populateCallAgreementTxnAndReturnOperation` is replaced by `Host.callAgreement`
153
- - Migration:
154
- - Replace instances of `populateCallAgreementTxnAndReturnOperation` with `callAgreement`
155
-
156
- ### Fixes
157
- - Handle `CALL_APP_ACTION` operation type correctly in SDK-Core when doing a batch call
158
- - Undefined `process` in `constants.ts` in React and client-side apps using SDK-Core directly
159
-
160
- ## [0.5.1] - 2022-07-26
161
-
162
- ### Fixes
163
- - Patch fix serializeError strange serialization
164
-
165
- ## [0.5.0] - 2022-07-14
166
-
167
- ### Added
168
- - Support for SetEvent and Subgraph v1.4.4
169
- - `Framework.operation` method for easily creating `Operation` instances
170
-
171
- ### Fixes
172
- - Compile AJV validations to prevent unsafe-eval and did not allow SDK-Core usage inside Google Chrome extension due to unsafe-eval CSP
173
-
174
- ### Changed
175
- - `SFError` refactor to be more conventional. It inherits `Error` and uses `cause` to wrap internal errors.
176
- - Use `serialize-error` for serializing error object inside the message.
177
- - Export Operation & OperationType
178
-
179
- ### Breaking
180
- - `SFError.errorObject` renamed to `SFError.cause`
181
-
182
102
  ## [0.4.4] - 2022-06-30
183
103
 
184
104
  ### Added
@@ -326,8 +246,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
326
246
  - New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
327
247
  - New `BatchCall` class for creating and executing batch calls with supported `Operation's`
328
248
 
329
- [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.8...HEAD
330
- [0.5.8]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.7...sdk-core%40v0.5.8
249
+ [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.6.0...HEAD
250
+ [0.6.0]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.7...sdk-core%40v0.6.0
331
251
  [0.5.7]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.6...sdk-core%40v0.5.7
332
252
  [0.5.6]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.5...sdk-core%40v0.5.6
333
253
  [0.5.5]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.4...sdk-core%40v0.5.5