@superfluid-finance/sdk-core 0.6.3-dev.fe6f63e.0 → 0.6.4-dev.0bbbfed.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +12 -1
  2. package/dist/index.umd.js +22246 -16977
  3. package/dist/main/BatchCall.d.ts.map +1 -1
  4. package/dist/main/BatchCall.js +2 -0
  5. package/dist/main/BatchCall.js.map +1 -1
  6. package/dist/main/ConstantFlowAgreementV1.d.ts +19 -1
  7. package/dist/main/ConstantFlowAgreementV1.d.ts.map +1 -1
  8. package/dist/main/ConstantFlowAgreementV1.js +38 -0
  9. package/dist/main/ConstantFlowAgreementV1.js.map +1 -1
  10. package/dist/main/Framework.d.ts.map +1 -1
  11. package/dist/main/Framework.js +6 -4
  12. package/dist/main/Framework.js.map +1 -1
  13. package/dist/main/Operation.d.ts +4 -6
  14. package/dist/main/Operation.d.ts.map +1 -1
  15. package/dist/main/Operation.js +20 -20
  16. package/dist/main/Operation.js.map +1 -1
  17. package/dist/main/SuperToken.d.ts +32 -1
  18. package/dist/main/SuperToken.d.ts.map +1 -1
  19. package/dist/main/SuperToken.js +49 -0
  20. package/dist/main/SuperToken.js.map +1 -1
  21. package/dist/main/events.d.ts +6 -0
  22. package/dist/main/events.d.ts.map +1 -1
  23. package/dist/main/interfaces.d.ts +13 -0
  24. package/dist/main/interfaces.d.ts.map +1 -1
  25. package/dist/main/mapGetAllEventsQueryEvents.d.ts.map +1 -1
  26. package/dist/main/mapGetAllEventsQueryEvents.js +6 -0
  27. package/dist/main/mapGetAllEventsQueryEvents.js.map +1 -1
  28. package/dist/module/BatchCall.d.ts.map +1 -1
  29. package/dist/module/BatchCall.js +2 -0
  30. package/dist/module/BatchCall.js.map +1 -1
  31. package/dist/module/ConstantFlowAgreementV1.d.ts +19 -1
  32. package/dist/module/ConstantFlowAgreementV1.d.ts.map +1 -1
  33. package/dist/module/ConstantFlowAgreementV1.js +38 -0
  34. package/dist/module/ConstantFlowAgreementV1.js.map +1 -1
  35. package/dist/module/Framework.d.ts.map +1 -1
  36. package/dist/module/Framework.js +6 -4
  37. package/dist/module/Framework.js.map +1 -1
  38. package/dist/module/Operation.d.ts +4 -6
  39. package/dist/module/Operation.d.ts.map +1 -1
  40. package/dist/module/Operation.js +20 -20
  41. package/dist/module/Operation.js.map +1 -1
  42. package/dist/module/SuperToken.d.ts +32 -1
  43. package/dist/module/SuperToken.d.ts.map +1 -1
  44. package/dist/module/SuperToken.js +49 -0
  45. package/dist/module/SuperToken.js.map +1 -1
  46. package/dist/module/events.d.ts +6 -0
  47. package/dist/module/events.d.ts.map +1 -1
  48. package/dist/module/interfaces.d.ts +13 -0
  49. package/dist/module/interfaces.d.ts.map +1 -1
  50. package/dist/module/mapGetAllEventsQueryEvents.d.ts.map +1 -1
  51. package/dist/module/mapGetAllEventsQueryEvents.js +6 -0
  52. package/dist/module/mapGetAllEventsQueryEvents.js.map +1 -1
  53. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -4,10 +4,20 @@ 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
+
8
+ ### Changed
9
+ - `getPopulatedTransactionRequest` doesn't user the signer to populate the transaction anymore as `signer.sendTransaction` does it already. The double `signer.populateTransaction` was causing issues with some wallets (e.g. Rainbow Wallet)
10
+
11
+ ## [0.6.3] - 2023-03-14
12
+
7
13
  ### Added
14
+ - `increaseAllowance` and `decreaseAllowance` functions to SuperToken class
15
+ - Batch call support for `increaseAllowance` and `decreaseAllowance`
16
+ - `increaseFlowRateAllowance` and `decreaseFlowRateAllowance` functions to CFAv1 class
8
17
  - Add support for `activeOutgoingStreamCount`, `activeIncomingStreamCount`, `inactiveOutgoingStreamCount`, `inactiveIncomingStreamCount` properties in query for `AccountTokenSnapshot` entity
9
18
  - Add support for `rewardAddress`, `liquidationPeriod`, `patricianPeriod`, and `minimumDeposit` properties in query for `Token` entity
10
19
  - Add support for `userData` property in query for `Stream` entity
20
+ - Add `index` (the Subgraph entity ID) field to Index events when querying from Subgraph
11
21
 
12
22
  ### Changed
13
23
  - `.exec` or `.execForward` will throw an error if the operations array is empty
@@ -280,7 +290,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
280
290
  - New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
281
291
  - New `BatchCall` class for creating and executing batch calls with supported `Operation's`
282
292
 
283
- [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.6.2...HEAD
293
+ [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.6.3...HEAD
294
+ [0.6.3]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.6.2...sdk-core%40v0.6.3
284
295
  [0.6.2]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.6.1...sdk-core%40v0.6.2
285
296
  [0.6.1]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.6.0...sdk-core%40v0.6.1
286
297
  [0.6.0]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.9...sdk-core%40v0.6.0