@superfluid-finance/sdk-core 0.4.3-dev.3035755.0 → 0.4.3

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 (95) hide show
  1. package/CHANGELOG.md +17 -2
  2. package/dist/index.umd.js +42 -22
  3. package/dist/main/abi/ISETH.json +1 -1
  4. package/dist/main/abi/SuperToken.json +1 -1
  5. package/dist/main/constants.d.ts +2 -0
  6. package/dist/main/constants.d.ts.map +1 -1
  7. package/dist/main/constants.js +30 -15
  8. package/dist/main/constants.js.map +1 -1
  9. package/dist/main/defaultSubgraphReleaseTag.json +1 -1
  10. package/dist/main/events.d.ts +2 -1
  11. package/dist/main/events.d.ts.map +1 -1
  12. package/dist/main/index.d.ts +1 -0
  13. package/dist/main/index.d.ts.map +1 -1
  14. package/dist/main/index.js +1 -0
  15. package/dist/main/index.js.map +1 -1
  16. package/dist/main/mapGetAllEventsQueryEvents.d.ts.map +1 -1
  17. package/dist/main/mapGetAllEventsQueryEvents.js +2 -1
  18. package/dist/main/mapGetAllEventsQueryEvents.js.map +1 -1
  19. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts +1 -1
  20. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts.map +1 -1
  21. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js +3 -0
  22. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js.map +1 -1
  23. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts +1 -1
  24. package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts.map +1 -1
  25. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts +1 -1
  26. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts.map +1 -1
  27. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js +3 -0
  28. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js.map +1 -1
  29. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts +1 -1
  30. package/dist/main/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts.map +1 -1
  31. package/dist/main/subgraph/events/events.generated.d.ts +2 -1
  32. package/dist/main/subgraph/events/events.generated.d.ts.map +1 -1
  33. package/dist/main/subgraph/events/events.generated.js +1 -1
  34. package/dist/main/subgraph/events/events.generated.js.map +1 -1
  35. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts +2 -1
  36. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
  37. package/dist/main/subgraph/queries/getAllEvents.generated.js +1 -1
  38. package/dist/main/subgraph/queries/getAllEvents.generated.js.map +1 -1
  39. package/dist/main/subgraph/schema.generated.d.ts +7 -1
  40. package/dist/main/subgraph/schema.generated.d.ts.map +1 -1
  41. package/dist/main/typechain/ISETH.d.ts +3 -3
  42. package/dist/main/typechain/ISETH.d.ts.map +1 -1
  43. package/dist/main/typechain/SuperToken.d.ts +3 -3
  44. package/dist/main/typechain/SuperToken.d.ts.map +1 -1
  45. package/dist/main/typechain/factories/ISETH__factory.js +1 -1
  46. package/dist/main/typechain/factories/ISETH__factory.js.map +1 -1
  47. package/dist/main/typechain/factories/SuperToken__factory.js +1 -1
  48. package/dist/main/typechain/factories/SuperToken__factory.js.map +1 -1
  49. package/dist/module/abi/ISETH.json +1 -1
  50. package/dist/module/abi/SuperToken.json +1 -1
  51. package/dist/module/constants.d.ts +2 -0
  52. package/dist/module/constants.d.ts.map +1 -1
  53. package/dist/module/constants.js +29 -14
  54. package/dist/module/constants.js.map +1 -1
  55. package/dist/module/defaultSubgraphReleaseTag.json +1 -1
  56. package/dist/module/events.d.ts +2 -1
  57. package/dist/module/events.d.ts.map +1 -1
  58. package/dist/module/index.d.ts +1 -0
  59. package/dist/module/index.d.ts.map +1 -1
  60. package/dist/module/index.js +1 -0
  61. package/dist/module/index.js.map +1 -1
  62. package/dist/module/mapGetAllEventsQueryEvents.d.ts.map +1 -1
  63. package/dist/module/mapGetAllEventsQueryEvents.js +2 -1
  64. package/dist/module/mapGetAllEventsQueryEvents.js.map +1 -1
  65. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts +1 -1
  66. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts.map +1 -1
  67. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js +3 -0
  68. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js.map +1 -1
  69. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts +1 -1
  70. package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts.map +1 -1
  71. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts +1 -1
  72. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.d.ts.map +1 -1
  73. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js +3 -0
  74. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLog.js.map +1 -1
  75. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts +1 -1
  76. package/dist/module/subgraph/entities/accountTokenSnapshotLog/accountTokenSnapshotLogs.generated.d.ts.map +1 -1
  77. package/dist/module/subgraph/events/events.generated.d.ts +2 -1
  78. package/dist/module/subgraph/events/events.generated.d.ts.map +1 -1
  79. package/dist/module/subgraph/events/events.generated.js +1 -1
  80. package/dist/module/subgraph/events/events.generated.js.map +1 -1
  81. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts +2 -1
  82. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
  83. package/dist/module/subgraph/queries/getAllEvents.generated.js +1 -1
  84. package/dist/module/subgraph/queries/getAllEvents.generated.js.map +1 -1
  85. package/dist/module/subgraph/schema.generated.d.ts +7 -1
  86. package/dist/module/subgraph/schema.generated.d.ts.map +1 -1
  87. package/dist/module/typechain/ISETH.d.ts +3 -3
  88. package/dist/module/typechain/ISETH.d.ts.map +1 -1
  89. package/dist/module/typechain/SuperToken.d.ts +3 -3
  90. package/dist/module/typechain/SuperToken.d.ts.map +1 -1
  91. package/dist/module/typechain/factories/ISETH__factory.js +1 -1
  92. package/dist/module/typechain/factories/ISETH__factory.js.map +1 -1
  93. package/dist/module/typechain/factories/SuperToken__factory.js +1 -1
  94. package/dist/module/typechain/factories/SuperToken__factory.js.map +1 -1
  95. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ### Breaking
9
+ - Subgraph Query: `rewardAccount` renamed to `rewardAmountReceiver` on `AgreementLiquidatedV2Event` entity
10
+ - `chainId` is a required property for framework initialization
11
+ - `networkId` and `dataMode` no longer exist as properties for framework initialization
12
+
13
+ ## [0.4.3] - 2022-06-29
14
+
15
+ ### Added
16
+ - BNB Chain support added
17
+
18
+ ### Changed
19
+ - `maybeCriticalAtTimestamp` is a nullable property now
20
+
21
+ ## [0.4.2] - 2022-05-17
22
+
8
23
  ### Added
9
24
  - `QueryHandler` for transfer events
10
25
 
@@ -47,7 +62,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
47
62
  - The `SuperToken` class is now an abstract base class and no longer contains the functions `upgrade` and `downgrade`.
48
63
  - `underlyingToken` is possibly undefined on `SuperToken`: `WrapperSuperToken` has `underlyingToken`, but `PureSuperToken` and `NativeAssetSuperToken` do not.
49
64
  > NOTE: These changes are due to the split of `SuperToken` into `WrapperSuperToken`, `PureSuperToken` and `NativeAssetSuperToken` classes.
50
- - Migration:
65
+ - Migration:
51
66
  - if you are unsure of the type of the super token, you can use: `await framework.loadSuperToken("0x...");`
52
67
  - if you want to load a wrapper super token, use: `await framework.loadWrapperSuperToken("DAIx");`
53
68
  - if you want to load a native asset super token, use: `await framework.loadNativeAssetSuperToken("ETHx");`
@@ -69,7 +84,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
69
84
  - Typo for `networkName: "arbitrum-rinkeby"` fixed (was expecting `"arbitrium-rinkeby"`) in `Framework.create` ([#637])
70
85
 
71
86
  ### Breaking
72
- - Using `"xdai"` as the `networkName` will no longer work. Updated to `"gnosis"`
87
+ - Using `"xdai"` as the `networkName` will no longer work. Updated to `"gnosis"`
73
88
  - Migration: change `networkName` from `"xdai"` to `"gnosis"`
74
89
 
75
90
  ## [0.3.0] - 2022-02-02