@superfluid-finance/sdk-core 0.5.4 → 0.5.6-dev.32db5c3.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 (129) hide show
  1. package/CHANGELOG.md +15 -1
  2. package/dist/index.umd.js +794 -2727
  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/ConstantFlowAgreementV1.d.ts +1 -1
  7. package/dist/main/ConstantFlowAgreementV1.js +1 -1
  8. package/dist/main/Governance.js +2 -2
  9. package/dist/main/InstantDistributionAgreementV1.d.ts +3 -3
  10. package/dist/main/InstantDistributionAgreementV1.js +3 -3
  11. package/dist/main/Operation.d.ts +3 -3
  12. package/dist/main/Operation.d.ts.map +1 -1
  13. package/dist/main/Operation.js +10 -39
  14. package/dist/main/Operation.js.map +1 -1
  15. package/dist/main/SFError.d.ts +1 -1
  16. package/dist/main/SFError.d.ts.map +1 -1
  17. package/dist/main/SFError.js +12 -18
  18. package/dist/main/SFError.js.map +1 -1
  19. package/dist/main/abi/Superfluid.json +13 -18
  20. package/dist/main/abi/SuperfluidGovernanceII.json +135 -17
  21. package/dist/main/constants.d.ts +0 -30
  22. package/dist/main/constants.d.ts.map +1 -1
  23. package/dist/main/constants.js +21 -191
  24. package/dist/main/constants.js.map +1 -1
  25. package/dist/main/defaultSubgraphReleaseTag.json +1 -1
  26. package/dist/main/interfaces.d.ts +1 -0
  27. package/dist/main/interfaces.d.ts.map +1 -1
  28. package/dist/main/miniSerializeError.d.ts +14 -0
  29. package/dist/main/miniSerializeError.d.ts.map +1 -0
  30. package/dist/main/miniSerializeError.js +29 -0
  31. package/dist/main/miniSerializeError.js.map +1 -0
  32. package/dist/main/subgraph/entities/token/tokens.generated.d.ts +1 -0
  33. package/dist/main/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
  34. package/dist/main/subgraph/entities/token/tokens.generated.js +1 -1
  35. package/dist/main/subgraph/entities/token/tokens.generated.js.map +1 -1
  36. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
  37. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
  38. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
  39. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
  40. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
  41. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
  42. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
  43. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
  44. package/dist/main/subgraph/queries/getIndexes.generated.d.ts +1 -0
  45. package/dist/main/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
  46. package/dist/main/subgraph/queries/getIndexes.generated.js +1 -1
  47. package/dist/main/subgraph/queries/getIndexes.generated.js.map +1 -1
  48. package/dist/main/subgraph/queries/getStreams.generated.d.ts +1 -0
  49. package/dist/main/subgraph/queries/getStreams.generated.d.ts.map +1 -1
  50. package/dist/main/subgraph/queries/getStreams.generated.js +1 -1
  51. package/dist/main/subgraph/queries/getStreams.generated.js.map +1 -1
  52. package/dist/main/subgraph/queries/getTokens.generated.d.ts +1 -0
  53. package/dist/main/subgraph/queries/getTokens.generated.d.ts.map +1 -1
  54. package/dist/main/subgraph/queries/getTokens.generated.js +1 -1
  55. package/dist/main/subgraph/queries/getTokens.generated.js.map +1 -1
  56. package/dist/main/typechain/Superfluid.d.ts +45 -49
  57. package/dist/main/typechain/Superfluid.d.ts.map +1 -1
  58. package/dist/main/typechain/SuperfluidGovernanceII.d.ts +104 -21
  59. package/dist/main/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
  60. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
  61. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js +135 -17
  62. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
  63. package/dist/main/typechain/factories/Superfluid__factory.d.ts.map +1 -1
  64. package/dist/main/typechain/factories/Superfluid__factory.js +13 -18
  65. package/dist/main/typechain/factories/Superfluid__factory.js.map +1 -1
  66. package/dist/module/BatchCall.d.ts.map +1 -1
  67. package/dist/module/BatchCall.js +8 -26
  68. package/dist/module/BatchCall.js.map +1 -1
  69. package/dist/module/ConstantFlowAgreementV1.d.ts +1 -1
  70. package/dist/module/ConstantFlowAgreementV1.js +1 -1
  71. package/dist/module/Governance.js +2 -2
  72. package/dist/module/InstantDistributionAgreementV1.d.ts +3 -3
  73. package/dist/module/InstantDistributionAgreementV1.js +3 -3
  74. package/dist/module/Operation.d.ts +3 -3
  75. package/dist/module/Operation.d.ts.map +1 -1
  76. package/dist/module/Operation.js +10 -39
  77. package/dist/module/Operation.js.map +1 -1
  78. package/dist/module/SFError.d.ts +1 -1
  79. package/dist/module/SFError.d.ts.map +1 -1
  80. package/dist/module/SFError.js +12 -18
  81. package/dist/module/SFError.js.map +1 -1
  82. package/dist/module/abi/Superfluid.json +13 -18
  83. package/dist/module/abi/SuperfluidGovernanceII.json +135 -17
  84. package/dist/module/constants.d.ts +0 -30
  85. package/dist/module/constants.d.ts.map +1 -1
  86. package/dist/module/constants.js +20 -190
  87. package/dist/module/constants.js.map +1 -1
  88. package/dist/module/defaultSubgraphReleaseTag.json +1 -1
  89. package/dist/module/interfaces.d.ts +1 -0
  90. package/dist/module/interfaces.d.ts.map +1 -1
  91. package/dist/module/miniSerializeError.d.ts +14 -0
  92. package/dist/module/miniSerializeError.d.ts.map +1 -0
  93. package/dist/module/miniSerializeError.js +25 -0
  94. package/dist/module/miniSerializeError.js.map +1 -0
  95. package/dist/module/subgraph/entities/token/tokens.generated.d.ts +1 -0
  96. package/dist/module/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
  97. package/dist/module/subgraph/entities/token/tokens.generated.js +1 -1
  98. package/dist/module/subgraph/entities/token/tokens.generated.js.map +1 -1
  99. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
  100. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
  101. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
  102. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
  103. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
  104. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
  105. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
  106. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
  107. package/dist/module/subgraph/queries/getIndexes.generated.d.ts +1 -0
  108. package/dist/module/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
  109. package/dist/module/subgraph/queries/getIndexes.generated.js +1 -1
  110. package/dist/module/subgraph/queries/getIndexes.generated.js.map +1 -1
  111. package/dist/module/subgraph/queries/getStreams.generated.d.ts +1 -0
  112. package/dist/module/subgraph/queries/getStreams.generated.d.ts.map +1 -1
  113. package/dist/module/subgraph/queries/getStreams.generated.js +1 -1
  114. package/dist/module/subgraph/queries/getStreams.generated.js.map +1 -1
  115. package/dist/module/subgraph/queries/getTokens.generated.d.ts +1 -0
  116. package/dist/module/subgraph/queries/getTokens.generated.d.ts.map +1 -1
  117. package/dist/module/subgraph/queries/getTokens.generated.js +1 -1
  118. package/dist/module/subgraph/queries/getTokens.generated.js.map +1 -1
  119. package/dist/module/typechain/Superfluid.d.ts +45 -49
  120. package/dist/module/typechain/Superfluid.d.ts.map +1 -1
  121. package/dist/module/typechain/SuperfluidGovernanceII.d.ts +104 -21
  122. package/dist/module/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
  123. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
  124. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js +135 -17
  125. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
  126. package/dist/module/typechain/factories/Superfluid__factory.d.ts.map +1 -1
  127. package/dist/module/typechain/factories/Superfluid__factory.js +13 -18
  128. package/dist/module/typechain/factories/Superfluid__factory.js.map +1 -1
  129. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.5.5] - 2022-08-31
9
+ ### Added
10
+ - Support for: `optimism-goerli` and `arbitrum-goerli` added
11
+
12
+ ### Breaking
13
+ - Support for: `rinkeby`, `ropsten`, `kovan`, `optimism-kovan` and `arbitrum-rinkeby` removed
14
+ - Don't throw `SFError` when executing `Operation` or `BatchCall`; let the original error bubble up
15
+
16
+ ### Fixes
17
+ - Serialize a much smaller version of the cause in `SFError` (only `name`, `message`, `code`)
18
+ - Change `SFError.name` from "Error" to "SFError"
19
+
8
20
  # [0.5.4] - 2022-08-19
9
21
 
10
22
  ### Fixes
@@ -205,7 +217,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
205
217
  - New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
206
218
  - New `BatchCall` class for creating and executing batch calls with supported `Operation's`
207
219
 
208
- [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.3...HEAD
220
+ [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.5...HEAD
221
+ [0.5.5]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.4...sdk-core%40v0.5.5
222
+ [0.5.4]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.3...sdk-core%40v0.5.4
209
223
  [0.5.3]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.2...sdk-core%40v0.5.3
210
224
  [0.5.2]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.1...sdk-core%40v0.5.2
211
225
  [0.5.1]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.0...sdk-core%40v0.5.1