@superfluid-finance/sdk-core 0.4.4-dev.f94fdbb.0 → 0.4.5-dev.6cf4191.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 (138) hide show
  1. package/CHANGELOG.md +19 -2
  2. package/README.md +1 -1
  3. package/dist/index.umd.js +308 -207
  4. package/dist/main/Framework.d.ts +1 -7
  5. package/dist/main/Framework.d.ts.map +1 -1
  6. package/dist/main/Framework.js +2 -9
  7. package/dist/main/Framework.js.map +1 -1
  8. package/dist/main/Query.d.ts +0 -2
  9. package/dist/main/Query.d.ts.map +1 -1
  10. package/dist/main/Query.js +0 -37
  11. package/dist/main/Query.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 +0 -1
  15. package/dist/main/SFError.js.map +1 -1
  16. package/dist/main/constants.d.ts +2 -1
  17. package/dist/main/constants.d.ts.map +1 -1
  18. package/dist/main/constants.js +29 -30
  19. package/dist/main/constants.js.map +1 -1
  20. package/dist/main/events.d.ts +15 -0
  21. package/dist/main/events.d.ts.map +1 -1
  22. package/dist/main/events.js +7 -0
  23. package/dist/main/events.js.map +1 -1
  24. package/dist/main/frameworkHelpers.d.ts +1 -2
  25. package/dist/main/frameworkHelpers.d.ts.map +1 -1
  26. package/dist/main/frameworkHelpers.js +12 -39
  27. package/dist/main/frameworkHelpers.js.map +1 -1
  28. package/dist/main/index.d.ts +2 -0
  29. package/dist/main/index.d.ts.map +1 -1
  30. package/dist/main/index.js +2 -0
  31. package/dist/main/index.js.map +1 -1
  32. package/dist/main/mapGetAllEventsQueryEvents.d.ts.map +1 -1
  33. package/dist/main/mapGetAllEventsQueryEvents.js +86 -0
  34. package/dist/main/mapGetAllEventsQueryEvents.js.map +1 -1
  35. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts +3 -1
  36. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts.map +1 -1
  37. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js +3 -1
  38. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js.map +1 -1
  39. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts +3 -1
  40. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts.map +1 -1
  41. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js +1 -1
  42. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js.map +1 -1
  43. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts +1 -1
  44. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts.map +1 -1
  45. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js +3 -1
  46. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js.map +1 -1
  47. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts +3 -1
  48. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts.map +1 -1
  49. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.js +1 -1
  50. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.js.map +1 -1
  51. package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLog.d.ts +43 -0
  52. package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLog.d.ts.map +1 -0
  53. package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLog.js +27 -0
  54. package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLog.js.map +1 -0
  55. package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.d.ts +46 -0
  56. package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.d.ts.map +1 -0
  57. package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.js +5 -0
  58. package/dist/main/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.js.map +1 -0
  59. package/dist/main/subgraph/events/events.generated.d.ts +89 -0
  60. package/dist/main/subgraph/events/events.generated.d.ts.map +1 -1
  61. package/dist/main/subgraph/events/events.generated.js +37 -37
  62. package/dist/main/subgraph/events/events.generated.js.map +1 -1
  63. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts +46 -0
  64. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
  65. package/dist/main/subgraph/queries/getAllEvents.generated.js +1 -1
  66. package/dist/main/subgraph/queries/getAllEvents.generated.js.map +1 -1
  67. package/dist/main/subgraph/schema.generated.d.ts +707 -42
  68. package/dist/main/subgraph/schema.generated.d.ts.map +1 -1
  69. package/dist/main/types.d.ts +0 -1
  70. package/dist/main/types.d.ts.map +1 -1
  71. package/dist/module/Framework.d.ts +1 -7
  72. package/dist/module/Framework.d.ts.map +1 -1
  73. package/dist/module/Framework.js +2 -9
  74. package/dist/module/Framework.js.map +1 -1
  75. package/dist/module/Query.d.ts +0 -2
  76. package/dist/module/Query.d.ts.map +1 -1
  77. package/dist/module/Query.js +0 -37
  78. package/dist/module/Query.js.map +1 -1
  79. package/dist/module/SFError.d.ts +1 -1
  80. package/dist/module/SFError.d.ts.map +1 -1
  81. package/dist/module/SFError.js +0 -1
  82. package/dist/module/SFError.js.map +1 -1
  83. package/dist/module/constants.d.ts +2 -1
  84. package/dist/module/constants.d.ts.map +1 -1
  85. package/dist/module/constants.js +28 -29
  86. package/dist/module/constants.js.map +1 -1
  87. package/dist/module/events.d.ts +15 -0
  88. package/dist/module/events.d.ts.map +1 -1
  89. package/dist/module/events.js +6 -1
  90. package/dist/module/events.js.map +1 -1
  91. package/dist/module/frameworkHelpers.d.ts +1 -2
  92. package/dist/module/frameworkHelpers.d.ts.map +1 -1
  93. package/dist/module/frameworkHelpers.js +13 -40
  94. package/dist/module/frameworkHelpers.js.map +1 -1
  95. package/dist/module/index.d.ts +2 -0
  96. package/dist/module/index.d.ts.map +1 -1
  97. package/dist/module/index.js +2 -0
  98. package/dist/module/index.js.map +1 -1
  99. package/dist/module/mapGetAllEventsQueryEvents.d.ts.map +1 -1
  100. package/dist/module/mapGetAllEventsQueryEvents.js +63 -0
  101. package/dist/module/mapGetAllEventsQueryEvents.js.map +1 -1
  102. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts +3 -1
  103. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts.map +1 -1
  104. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js +3 -1
  105. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js.map +1 -1
  106. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts +3 -1
  107. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts.map +1 -1
  108. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js +1 -1
  109. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js.map +1 -1
  110. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts +1 -1
  111. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts.map +1 -1
  112. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js +3 -1
  113. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js.map +1 -1
  114. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts +3 -1
  115. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts.map +1 -1
  116. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.js +1 -1
  117. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.js.map +1 -1
  118. package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLog.d.ts +43 -0
  119. package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLog.d.ts.map +1 -0
  120. package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLog.js +23 -0
  121. package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLog.js.map +1 -0
  122. package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.d.ts +46 -0
  123. package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.d.ts.map +1 -0
  124. package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.js +2 -0
  125. package/dist/module/subgraph/entities/tokenStatisticLog/tokenStatisticLogs.generated.js.map +1 -0
  126. package/dist/module/subgraph/events/events.generated.d.ts +89 -0
  127. package/dist/module/subgraph/events/events.generated.d.ts.map +1 -1
  128. package/dist/module/subgraph/events/events.generated.js +37 -37
  129. package/dist/module/subgraph/events/events.generated.js.map +1 -1
  130. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts +46 -0
  131. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
  132. package/dist/module/subgraph/queries/getAllEvents.generated.js +1 -1
  133. package/dist/module/subgraph/queries/getAllEvents.generated.js.map +1 -1
  134. package/dist/module/subgraph/schema.generated.d.ts +707 -42
  135. package/dist/module/subgraph/schema.generated.d.ts.map +1 -1
  136. package/dist/module/types.d.ts +0 -1
  137. package/dist/module/types.d.ts.map +1 -1
  138. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,10 +5,26 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
- ## [0.4.3] - 2022-05-31
8
+ ## [0.4.4] - 2022-06-30
9
+
10
+ ## Added
11
+ - Support for new event properties for Subgraph v1.4.1
9
12
 
10
13
  ### Breaking
11
14
  - Subgraph Query: `rewardAccount` renamed to `rewardAmountReceiver` on `AgreementLiquidatedV2Event` entity
15
+ - `chainId` is a required property for framework initialization
16
+ - `networkId` and `dataMode` no longer exist as properties for framework initialization
17
+
18
+ ## [0.4.3] - 2022-06-29
19
+
20
+ ### Added
21
+ - BNB Chain support added
22
+
23
+ ### Changed
24
+ - `maybeCriticalAtTimestamp` is a nullable property now
25
+
26
+ ## [0.4.2] - 2022-05-17
27
+
12
28
  ### Added
13
29
  - `QueryHandler` for transfer events
14
30
 
@@ -136,7 +152,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
136
152
  - New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
137
153
  - New `BatchCall` class for creating and executing batch calls with supported `Operation's`
138
154
 
139
- [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.3...HEAD
155
+ [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.4...HEAD
156
+ [0.4.4]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.3...sdk-core%40v0.4.4
140
157
  [0.4.3]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.2...sdk-core%40v0.4.3
141
158
  [0.4.2]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.1...sdk-core%40v0.4.2
142
159
  [0.4.1]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.0...sdk-core%40v0.4.1
package/README.md CHANGED
@@ -34,7 +34,7 @@ Under the hood, SDK-Core leverages TypeScript, ethers.js and The Graph and Graph
34
34
  SDK-Core is in early active development and can have breaking releases without warning and without consideration for semantic versioning.
35
35
 
36
36
  # Features
37
- * Minimal Framework initialization (`networkName` or `chainId` and `provider`)
37
+ * Minimal Framework initialization (`chainId` and `provider`)
38
38
  * New Operation syntax for transactions
39
39
  * Create/Update/Delete Agreement Operations (Constant Flow Agreement and Instant Distribution Agreement)
40
40
  * SuperToken Operations