@superfluid-finance/sdk-core 0.5.6-dev.e55bf9f.0 → 0.5.6

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 (103) hide show
  1. package/CHANGELOG.md +12 -3
  2. package/dist/index.umd.js +3195 -18684
  3. package/dist/main/ConstantFlowAgreementV1.d.ts +1 -1
  4. package/dist/main/ConstantFlowAgreementV1.js +1 -1
  5. package/dist/main/Governance.js +2 -2
  6. package/dist/main/InstantDistributionAgreementV1.d.ts +3 -3
  7. package/dist/main/InstantDistributionAgreementV1.js +3 -3
  8. package/dist/main/Operation.d.ts +3 -3
  9. package/dist/main/Operation.js +3 -3
  10. package/dist/main/SFError.d.ts +1 -1
  11. package/dist/main/SFError.d.ts.map +1 -1
  12. package/dist/main/SFError.js +2 -2
  13. package/dist/main/SFError.js.map +1 -1
  14. package/dist/main/abi/Superfluid.json +18 -13
  15. package/dist/main/constants.d.ts.map +1 -1
  16. package/dist/main/constants.js +5 -2
  17. package/dist/main/constants.js.map +1 -1
  18. package/dist/main/defaultSubgraphReleaseTag.json +1 -1
  19. package/dist/main/interfaces.d.ts +0 -1
  20. package/dist/main/interfaces.d.ts.map +1 -1
  21. package/dist/main/subgraph/SubgraphClient.d.ts.map +1 -1
  22. package/dist/main/subgraph/SubgraphClient.js +1 -17
  23. package/dist/main/subgraph/SubgraphClient.js.map +1 -1
  24. package/dist/main/subgraph/entities/token/tokens.generated.d.ts +0 -1
  25. package/dist/main/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
  26. package/dist/main/subgraph/entities/token/tokens.generated.js +1 -1
  27. package/dist/main/subgraph/entities/token/tokens.generated.js.map +1 -1
  28. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +0 -1
  29. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
  30. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
  31. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
  32. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts +0 -1
  33. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
  34. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
  35. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
  36. package/dist/main/subgraph/queries/getIndexes.generated.d.ts +0 -1
  37. package/dist/main/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
  38. package/dist/main/subgraph/queries/getIndexes.generated.js +1 -1
  39. package/dist/main/subgraph/queries/getIndexes.generated.js.map +1 -1
  40. package/dist/main/subgraph/queries/getStreams.generated.d.ts +0 -1
  41. package/dist/main/subgraph/queries/getStreams.generated.d.ts.map +1 -1
  42. package/dist/main/subgraph/queries/getStreams.generated.js +1 -1
  43. package/dist/main/subgraph/queries/getStreams.generated.js.map +1 -1
  44. package/dist/main/subgraph/queries/getTokens.generated.d.ts +0 -1
  45. package/dist/main/subgraph/queries/getTokens.generated.d.ts.map +1 -1
  46. package/dist/main/subgraph/queries/getTokens.generated.js +1 -1
  47. package/dist/main/subgraph/queries/getTokens.generated.js.map +1 -1
  48. package/dist/main/typechain/Superfluid.d.ts +49 -45
  49. package/dist/main/typechain/Superfluid.d.ts.map +1 -1
  50. package/dist/main/typechain/factories/Superfluid__factory.d.ts.map +1 -1
  51. package/dist/main/typechain/factories/Superfluid__factory.js +18 -13
  52. package/dist/main/typechain/factories/Superfluid__factory.js.map +1 -1
  53. package/dist/module/ConstantFlowAgreementV1.d.ts +1 -1
  54. package/dist/module/ConstantFlowAgreementV1.js +1 -1
  55. package/dist/module/Governance.js +2 -2
  56. package/dist/module/InstantDistributionAgreementV1.d.ts +3 -3
  57. package/dist/module/InstantDistributionAgreementV1.js +3 -3
  58. package/dist/module/Operation.d.ts +3 -3
  59. package/dist/module/Operation.js +3 -3
  60. package/dist/module/SFError.d.ts +1 -1
  61. package/dist/module/SFError.d.ts.map +1 -1
  62. package/dist/module/SFError.js +2 -2
  63. package/dist/module/SFError.js.map +1 -1
  64. package/dist/module/abi/Superfluid.json +18 -13
  65. package/dist/module/constants.d.ts.map +1 -1
  66. package/dist/module/constants.js +5 -2
  67. package/dist/module/constants.js.map +1 -1
  68. package/dist/module/defaultSubgraphReleaseTag.json +1 -1
  69. package/dist/module/interfaces.d.ts +0 -1
  70. package/dist/module/interfaces.d.ts.map +1 -1
  71. package/dist/module/subgraph/SubgraphClient.d.ts.map +1 -1
  72. package/dist/module/subgraph/SubgraphClient.js +1 -17
  73. package/dist/module/subgraph/SubgraphClient.js.map +1 -1
  74. package/dist/module/subgraph/entities/token/tokens.generated.d.ts +0 -1
  75. package/dist/module/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
  76. package/dist/module/subgraph/entities/token/tokens.generated.js +1 -1
  77. package/dist/module/subgraph/entities/token/tokens.generated.js.map +1 -1
  78. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +0 -1
  79. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
  80. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
  81. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
  82. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts +0 -1
  83. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
  84. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
  85. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
  86. package/dist/module/subgraph/queries/getIndexes.generated.d.ts +0 -1
  87. package/dist/module/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
  88. package/dist/module/subgraph/queries/getIndexes.generated.js +1 -1
  89. package/dist/module/subgraph/queries/getIndexes.generated.js.map +1 -1
  90. package/dist/module/subgraph/queries/getStreams.generated.d.ts +0 -1
  91. package/dist/module/subgraph/queries/getStreams.generated.d.ts.map +1 -1
  92. package/dist/module/subgraph/queries/getStreams.generated.js +1 -1
  93. package/dist/module/subgraph/queries/getStreams.generated.js.map +1 -1
  94. package/dist/module/subgraph/queries/getTokens.generated.d.ts +0 -1
  95. package/dist/module/subgraph/queries/getTokens.generated.d.ts.map +1 -1
  96. package/dist/module/subgraph/queries/getTokens.generated.js +1 -1
  97. package/dist/module/subgraph/queries/getTokens.generated.js.map +1 -1
  98. package/dist/module/typechain/Superfluid.d.ts +49 -45
  99. package/dist/module/typechain/Superfluid.d.ts.map +1 -1
  100. package/dist/module/typechain/factories/Superfluid__factory.d.ts.map +1 -1
  101. package/dist/module/typechain/factories/Superfluid__factory.js +18 -13
  102. package/dist/module/typechain/factories/Superfluid__factory.js.map +1 -1
  103. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -5,15 +5,23 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.5.6] - 2022-09-07
9
+ ### Fixes
10
+ - Correct `subgraphAPIEndpoint` in `getResolverData`
11
+
8
12
  ### Breaking
9
- - Don't throw `SFError` when executing `Operation` or `BatchCall`; let the original error bubble up
10
- - Serialize a much smaller version of the cause in `SFError` (only `name`, `message`, `code`)
13
+ - Don't wrap `SubgraphClient` with `SFError`
11
14
 
12
15
  ## [0.5.5] - 2022-08-31
13
16
  ### Added
14
17
  - Support for: `optimism-goerli` and `arbitrum-goerli` added
15
18
  ### Breaking
16
19
  - Support for: `rinkeby`, `ropsten`, `kovan`, `optimism-kovan` and `arbitrum-rinkeby` removed
20
+ - Don't throw `SFError` when executing `Operation` or `BatchCall`; let the original error bubble up
21
+
22
+ ### Fixes
23
+ - Serialize a much smaller version of the cause in `SFError` (only `name`, `message`, `code`)
24
+ - Change `SFError.name` from "Error" to "SFError"
17
25
  # [0.5.4] - 2022-08-19
18
26
 
19
27
  ### Fixes
@@ -214,7 +222,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
214
222
  - New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
215
223
  - New `BatchCall` class for creating and executing batch calls with supported `Operation's`
216
224
 
217
- [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.5...HEAD
225
+ [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.6...HEAD
226
+ [0.5.6]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.5...sdk-core%40v0.5.6
218
227
  [0.5.5]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.4...sdk-core%40v0.5.5
219
228
  [0.5.4]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.3...sdk-core%40v0.5.4
220
229
  [0.5.3]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.2...sdk-core%40v0.5.3