@superfluid-finance/sdk-core 0.5.6-dev.fc916ff.0 → 0.5.7-dev.7824984.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 (117) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/dist/index.umd.js +21942 -38180
  3. package/dist/main/BatchCall.d.ts.map +1 -1
  4. package/dist/main/BatchCall.js +8 -26
  5. package/dist/main/BatchCall.js.map +1 -1
  6. package/dist/main/Framework.d.ts +1 -2
  7. package/dist/main/Framework.d.ts.map +1 -1
  8. package/dist/main/Framework.js.map +1 -1
  9. package/dist/main/Operation.d.ts.map +1 -1
  10. package/dist/main/Operation.js +7 -36
  11. package/dist/main/Operation.js.map +1 -1
  12. package/dist/main/SFError.d.ts +1 -1
  13. package/dist/main/SFError.d.ts.map +1 -1
  14. package/dist/main/SFError.js +11 -18
  15. package/dist/main/SFError.js.map +1 -1
  16. package/dist/main/abi/IConstantFlowAgreementV1.json +70 -0
  17. package/dist/main/abi/IInstantDistributionAgreementV1.json +10 -0
  18. package/dist/main/abi/ISETH.json +25 -0
  19. package/dist/main/abi/SuperToken.json +91 -0
  20. package/dist/main/abi/Superfluid.json +150 -13
  21. package/dist/main/abi/SuperfluidGovernanceII.json +161 -17
  22. package/dist/main/constants.d.ts.map +1 -1
  23. package/dist/main/constants.js +5 -2
  24. package/dist/main/constants.js.map +1 -1
  25. package/dist/main/miniSerializeError.d.ts +14 -0
  26. package/dist/main/miniSerializeError.d.ts.map +1 -0
  27. package/dist/main/miniSerializeError.js +29 -0
  28. package/dist/main/miniSerializeError.js.map +1 -0
  29. package/dist/main/subgraph/SubgraphClient.d.ts.map +1 -1
  30. package/dist/main/subgraph/SubgraphClient.js +1 -17
  31. package/dist/main/subgraph/SubgraphClient.js.map +1 -1
  32. package/dist/main/typechain/Superfluid.d.ts +1 -9
  33. package/dist/main/typechain/Superfluid.d.ts.map +1 -1
  34. package/dist/main/typechain/SuperfluidGovernanceII.d.ts +104 -21
  35. package/dist/main/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
  36. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +7 -0
  37. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  38. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js +70 -0
  39. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  40. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +7 -0
  41. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -1
  42. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js +10 -0
  43. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -1
  44. package/dist/main/typechain/factories/ISETH__factory.d.ts +7 -0
  45. package/dist/main/typechain/factories/ISETH__factory.d.ts.map +1 -1
  46. package/dist/main/typechain/factories/ISETH__factory.js +25 -0
  47. package/dist/main/typechain/factories/ISETH__factory.js.map +1 -1
  48. package/dist/main/typechain/factories/SuperToken__factory.d.ts +12 -1
  49. package/dist/main/typechain/factories/SuperToken__factory.d.ts.map +1 -1
  50. package/dist/main/typechain/factories/SuperToken__factory.js +91 -0
  51. package/dist/main/typechain/factories/SuperToken__factory.js.map +1 -1
  52. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts +11 -0
  53. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
  54. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js +161 -17
  55. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
  56. package/dist/main/typechain/factories/Superfluid__factory.d.ts +12 -1
  57. package/dist/main/typechain/factories/Superfluid__factory.d.ts.map +1 -1
  58. package/dist/main/typechain/factories/Superfluid__factory.js +150 -13
  59. package/dist/main/typechain/factories/Superfluid__factory.js.map +1 -1
  60. package/dist/module/BatchCall.d.ts.map +1 -1
  61. package/dist/module/BatchCall.js +8 -26
  62. package/dist/module/BatchCall.js.map +1 -1
  63. package/dist/module/Framework.d.ts +1 -2
  64. package/dist/module/Framework.d.ts.map +1 -1
  65. package/dist/module/Framework.js.map +1 -1
  66. package/dist/module/Operation.d.ts.map +1 -1
  67. package/dist/module/Operation.js +7 -36
  68. package/dist/module/Operation.js.map +1 -1
  69. package/dist/module/SFError.d.ts +1 -1
  70. package/dist/module/SFError.d.ts.map +1 -1
  71. package/dist/module/SFError.js +11 -18
  72. package/dist/module/SFError.js.map +1 -1
  73. package/dist/module/abi/IConstantFlowAgreementV1.json +70 -0
  74. package/dist/module/abi/IInstantDistributionAgreementV1.json +10 -0
  75. package/dist/module/abi/ISETH.json +25 -0
  76. package/dist/module/abi/SuperToken.json +91 -0
  77. package/dist/module/abi/Superfluid.json +150 -13
  78. package/dist/module/abi/SuperfluidGovernanceII.json +161 -17
  79. package/dist/module/constants.d.ts.map +1 -1
  80. package/dist/module/constants.js +5 -2
  81. package/dist/module/constants.js.map +1 -1
  82. package/dist/module/miniSerializeError.d.ts +14 -0
  83. package/dist/module/miniSerializeError.d.ts.map +1 -0
  84. package/dist/module/miniSerializeError.js +25 -0
  85. package/dist/module/miniSerializeError.js.map +1 -0
  86. package/dist/module/subgraph/SubgraphClient.d.ts.map +1 -1
  87. package/dist/module/subgraph/SubgraphClient.js +1 -17
  88. package/dist/module/subgraph/SubgraphClient.js.map +1 -1
  89. package/dist/module/typechain/Superfluid.d.ts +1 -9
  90. package/dist/module/typechain/Superfluid.d.ts.map +1 -1
  91. package/dist/module/typechain/SuperfluidGovernanceII.d.ts +104 -21
  92. package/dist/module/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
  93. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +7 -0
  94. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  95. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js +70 -0
  96. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  97. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +7 -0
  98. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -1
  99. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js +10 -0
  100. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -1
  101. package/dist/module/typechain/factories/ISETH__factory.d.ts +7 -0
  102. package/dist/module/typechain/factories/ISETH__factory.d.ts.map +1 -1
  103. package/dist/module/typechain/factories/ISETH__factory.js +25 -0
  104. package/dist/module/typechain/factories/ISETH__factory.js.map +1 -1
  105. package/dist/module/typechain/factories/SuperToken__factory.d.ts +12 -1
  106. package/dist/module/typechain/factories/SuperToken__factory.d.ts.map +1 -1
  107. package/dist/module/typechain/factories/SuperToken__factory.js +91 -0
  108. package/dist/module/typechain/factories/SuperToken__factory.js.map +1 -1
  109. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts +11 -0
  110. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
  111. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js +161 -17
  112. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
  113. package/dist/module/typechain/factories/Superfluid__factory.d.ts +12 -1
  114. package/dist/module/typechain/factories/Superfluid__factory.d.ts.map +1 -1
  115. package/dist/module/typechain/factories/Superfluid__factory.js +150 -13
  116. package/dist/module/typechain/factories/Superfluid__factory.js.map +1 -1
  117. package/package.json +9 -10
package/CHANGELOG.md CHANGED
@@ -5,11 +5,25 @@ 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
+
12
+ ### Breaking
13
+ - Don't wrap `SubgraphClient` with `SFError`
14
+
8
15
  ## [0.5.5] - 2022-08-31
9
16
  ### Added
10
17
  - Support for: `optimism-goerli` and `arbitrum-goerli` added
18
+
11
19
  ### Breaking
12
20
  - Support for: `rinkeby`, `ropsten`, `kovan`, `optimism-kovan` and `arbitrum-rinkeby` removed
21
+ - Don't throw `SFError` when executing `Operation` or `BatchCall`; let the original error bubble up
22
+
23
+ ### Fixes
24
+ - Serialize a much smaller version of the cause in `SFError` (only `name`, `message`, `code`)
25
+ - Change `SFError.name` from "Error" to "SFError"
26
+
13
27
  # [0.5.4] - 2022-08-19
14
28
 
15
29
  ### Fixes
@@ -210,7 +224,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
210
224
  - New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
211
225
  - New `BatchCall` class for creating and executing batch calls with supported `Operation's`
212
226
 
213
- [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.5...HEAD
227
+ [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.6...HEAD
228
+ [0.5.6]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.5...sdk-core%40v0.5.6
214
229
  [0.5.5]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.4...sdk-core%40v0.5.5
215
230
  [0.5.4]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.3...sdk-core%40v0.5.4
216
231
  [0.5.3]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.2...sdk-core%40v0.5.3