@superfluid-finance/sdk-core 0.3.1-dev.da50fa8.0 → 0.3.2-dev.177d945.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 (67) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/dist/index.umd.js +471 -313
  3. package/dist/main/SFError.js +1 -1
  4. package/dist/main/SFError.js.map +1 -1
  5. package/dist/main/abi/IConstantFlowAgreementV1.json +0 -7
  6. package/dist/main/abi/IInstantDistributionAgreementV1.json +0 -7
  7. package/dist/main/abi/SuperToken.json +51 -0
  8. package/dist/main/constants.d.ts +10 -0
  9. package/dist/main/constants.d.ts.map +1 -1
  10. package/dist/main/constants.js +41 -31
  11. package/dist/main/constants.js.map +1 -1
  12. package/dist/main/subgraph/entities/indexSubscription/indexSubscription.d.ts +2 -0
  13. package/dist/main/subgraph/entities/indexSubscription/indexSubscription.d.ts.map +1 -1
  14. package/dist/main/subgraph/entities/indexSubscription/indexSubscription.js +2 -0
  15. package/dist/main/subgraph/entities/indexSubscription/indexSubscription.js.map +1 -1
  16. package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts +2 -0
  17. package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts.map +1 -1
  18. package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.js +1 -1
  19. package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.js.map +1 -1
  20. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts +0 -16
  21. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts.map +1 -1
  22. package/dist/main/typechain/IInstantDistributionAgreementV1.d.ts +0 -16
  23. package/dist/main/typechain/IInstantDistributionAgreementV1.d.ts.map +1 -1
  24. package/dist/main/typechain/SuperToken.d.ts +32 -0
  25. package/dist/main/typechain/SuperToken.d.ts.map +1 -1
  26. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  27. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js +0 -7
  28. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  29. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -1
  30. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js +0 -7
  31. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -1
  32. package/dist/main/typechain/factories/SuperToken__factory.d.ts.map +1 -1
  33. package/dist/main/typechain/factories/SuperToken__factory.js +51 -0
  34. package/dist/main/typechain/factories/SuperToken__factory.js.map +1 -1
  35. package/dist/module/SFError.js +1 -1
  36. package/dist/module/SFError.js.map +1 -1
  37. package/dist/module/abi/IConstantFlowAgreementV1.json +0 -7
  38. package/dist/module/abi/IInstantDistributionAgreementV1.json +0 -7
  39. package/dist/module/abi/SuperToken.json +51 -0
  40. package/dist/module/constants.d.ts +10 -0
  41. package/dist/module/constants.d.ts.map +1 -1
  42. package/dist/module/constants.js +40 -30
  43. package/dist/module/constants.js.map +1 -1
  44. package/dist/module/subgraph/entities/indexSubscription/indexSubscription.d.ts +2 -0
  45. package/dist/module/subgraph/entities/indexSubscription/indexSubscription.d.ts.map +1 -1
  46. package/dist/module/subgraph/entities/indexSubscription/indexSubscription.js +2 -0
  47. package/dist/module/subgraph/entities/indexSubscription/indexSubscription.js.map +1 -1
  48. package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts +2 -0
  49. package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts.map +1 -1
  50. package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.js +1 -1
  51. package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.js.map +1 -1
  52. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts +0 -16
  53. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts.map +1 -1
  54. package/dist/module/typechain/IInstantDistributionAgreementV1.d.ts +0 -16
  55. package/dist/module/typechain/IInstantDistributionAgreementV1.d.ts.map +1 -1
  56. package/dist/module/typechain/SuperToken.d.ts +32 -0
  57. package/dist/module/typechain/SuperToken.d.ts.map +1 -1
  58. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  59. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js +0 -7
  60. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  61. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -1
  62. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js +0 -7
  63. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -1
  64. package/dist/module/typechain/factories/SuperToken__factory.d.ts.map +1 -1
  65. package/dist/module/typechain/factories/SuperToken__factory.js +51 -0
  66. package/dist/module/typechain/factories/SuperToken__factory.js.map +1 -1
  67. package/package.json +24 -24
package/CHANGELOG.md CHANGED
@@ -5,6 +5,19 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.3.1] - 2022-02-16
9
+
10
+ ### Added
11
+ - Added `indexValueCurrent` to `IndexSubscription` query to optimize calculating "total amount distributed" in consuming applications ([#629])
12
+ - Added `indexTotalUnits` to `IndexSubscription` query to optimize calculating "pool percentage" in consuming applications ([#630])
13
+
14
+ ### Fixed
15
+ - Typo for `networkName: "arbitrum-rinkeby"` fixed (was expecting `"arbitrium-rinkeby"`) in `Framework.create` ([#637])
16
+
17
+ ### Breaking
18
+ - Using `"xdai"` as the `networkName` will no longer work. Updated to `"gnosis"`
19
+ - Migration: change `networkName` from `"xdai"` to `"gnosis"`
20
+
8
21
  ## [0.3.0] - 2022-02-02
9
22
  ### Added
10
23
  - New query handlers to cover full spectrum of Subgraph querying capabilities
@@ -60,7 +73,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
60
73
  - New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
61
74
  - New `BatchCall` class for creating and executing batch calls with supported `Operation's`
62
75
 
63
- [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.3.0...HEAD
76
+ [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.3.1...HEAD
77
+ [0.3.1]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.3.0...sdk-core%40v0.3.1
64
78
  [0.3.0]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.2.1...sdk-core%40v0.3.0
65
79
  [0.2.1]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.2.0...sdk-core%40v0.2.1
66
80
  [0.2.0]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.1.0...sdk-core%40v0.2.0
@@ -82,3 +96,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
82
96
  [#550]: https://github.com/superfluid-finance/protocol-monorepo/pull/550
83
97
  [#556]: https://github.com/superfluid-finance/protocol-monorepo/pull/556
84
98
  [#588]: https://github.com/superfluid-finance/protocol-monorepo/pull/588
99
+ [#629]: https://github.com/superfluid-finance/protocol-monorepo/pull/629
100
+ [#630]: https://github.com/superfluid-finance/protocol-monorepo/pull/630
101
+ [#630]: https://github.com/superfluid-finance/protocol-monorepo/pull/630
102
+ [#637]: https://github.com/superfluid-finance/protocol-monorepo/pull/637