@superfluid-finance/sdk-core 0.3.3-dev.9b08025.0 → 0.3.3-dev.9dad1ad.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 (134) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/README.md +2 -0
  3. package/dist/index.umd.js +943 -281
  4. package/dist/main/BatchCall.d.ts +6 -6
  5. package/dist/main/BatchCall.js +6 -6
  6. package/dist/main/ConstantFlowAgreementV1.d.ts +107 -16
  7. package/dist/main/ConstantFlowAgreementV1.d.ts.map +1 -1
  8. package/dist/main/ConstantFlowAgreementV1.js +242 -45
  9. package/dist/main/ConstantFlowAgreementV1.js.map +1 -1
  10. package/dist/main/ERC20Token.d.ts +13 -11
  11. package/dist/main/ERC20Token.d.ts.map +1 -1
  12. package/dist/main/ERC20Token.js +20 -20
  13. package/dist/main/ERC20Token.js.map +1 -1
  14. package/dist/main/Framework.d.ts +5 -5
  15. package/dist/main/Framework.js +5 -5
  16. package/dist/main/Host.d.ts +2 -2
  17. package/dist/main/Host.js +2 -2
  18. package/dist/main/InstantDistributionAgreementV1.d.ts +23 -21
  19. package/dist/main/InstantDistributionAgreementV1.d.ts.map +1 -1
  20. package/dist/main/InstantDistributionAgreementV1.js +66 -66
  21. package/dist/main/InstantDistributionAgreementV1.js.map +1 -1
  22. package/dist/main/Operation.d.ts +5 -5
  23. package/dist/main/Operation.js +5 -5
  24. package/dist/main/Query.d.ts +1 -1
  25. package/dist/main/Query.js +1 -1
  26. package/dist/main/SFError.d.ts +1 -1
  27. package/dist/main/SFError.d.ts.map +1 -1
  28. package/dist/main/SFError.js +2 -0
  29. package/dist/main/SFError.js.map +1 -1
  30. package/dist/main/SuperToken.d.ts +114 -38
  31. package/dist/main/SuperToken.d.ts.map +1 -1
  32. package/dist/main/SuperToken.js +179 -106
  33. package/dist/main/SuperToken.js.map +1 -1
  34. package/dist/main/abi/IConstantFlowAgreementV1.json +348 -0
  35. package/dist/main/constants.d.ts +4 -0
  36. package/dist/main/constants.d.ts.map +1 -1
  37. package/dist/main/constants.js +7 -1
  38. package/dist/main/constants.js.map +1 -1
  39. package/dist/main/events.d.ts +14 -2
  40. package/dist/main/events.d.ts.map +1 -1
  41. package/dist/main/frameworkHelpers.d.ts +2 -2
  42. package/dist/main/frameworkHelpers.js +2 -2
  43. package/dist/main/interfaces.d.ts +62 -8
  44. package/dist/main/interfaces.d.ts.map +1 -1
  45. package/dist/main/mapGetAllEventsQueryEvents.d.ts.map +1 -1
  46. package/dist/main/mapGetAllEventsQueryEvents.js +22 -1
  47. package/dist/main/mapGetAllEventsQueryEvents.js.map +1 -1
  48. package/dist/main/pagination.d.ts +4 -4
  49. package/dist/main/pagination.js +2 -2
  50. package/dist/main/subgraph/events/events.generated.d.ts +46 -3
  51. package/dist/main/subgraph/events/events.generated.d.ts.map +1 -1
  52. package/dist/main/subgraph/events/events.generated.js +4 -3
  53. package/dist/main/subgraph/events/events.generated.js.map +1 -1
  54. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts +12 -0
  55. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
  56. package/dist/main/subgraph/queries/getAllEvents.generated.js +1 -1
  57. package/dist/main/subgraph/queries/getAllEvents.generated.js.map +1 -1
  58. package/dist/main/subgraph/schema.generated.d.ts +817 -5
  59. package/dist/main/subgraph/schema.generated.d.ts.map +1 -1
  60. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts +184 -0
  61. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts.map +1 -1
  62. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  63. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js +348 -0
  64. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  65. package/dist/main/utils.d.ts +15 -13
  66. package/dist/main/utils.d.ts.map +1 -1
  67. package/dist/main/utils.js +29 -15
  68. package/dist/main/utils.js.map +1 -1
  69. package/dist/module/BatchCall.d.ts +6 -6
  70. package/dist/module/BatchCall.js +6 -6
  71. package/dist/module/ConstantFlowAgreementV1.d.ts +107 -16
  72. package/dist/module/ConstantFlowAgreementV1.d.ts.map +1 -1
  73. package/dist/module/ConstantFlowAgreementV1.js +243 -46
  74. package/dist/module/ConstantFlowAgreementV1.js.map +1 -1
  75. package/dist/module/ERC20Token.d.ts +13 -11
  76. package/dist/module/ERC20Token.d.ts.map +1 -1
  77. package/dist/module/ERC20Token.js +20 -20
  78. package/dist/module/ERC20Token.js.map +1 -1
  79. package/dist/module/Framework.d.ts +5 -5
  80. package/dist/module/Framework.js +5 -5
  81. package/dist/module/Host.d.ts +2 -2
  82. package/dist/module/Host.js +2 -2
  83. package/dist/module/InstantDistributionAgreementV1.d.ts +23 -21
  84. package/dist/module/InstantDistributionAgreementV1.d.ts.map +1 -1
  85. package/dist/module/InstantDistributionAgreementV1.js +66 -66
  86. package/dist/module/InstantDistributionAgreementV1.js.map +1 -1
  87. package/dist/module/Operation.d.ts +5 -5
  88. package/dist/module/Operation.js +5 -5
  89. package/dist/module/Query.d.ts +1 -1
  90. package/dist/module/Query.js +1 -1
  91. package/dist/module/SFError.d.ts +1 -1
  92. package/dist/module/SFError.d.ts.map +1 -1
  93. package/dist/module/SFError.js +2 -0
  94. package/dist/module/SFError.js.map +1 -1
  95. package/dist/module/SuperToken.d.ts +114 -38
  96. package/dist/module/SuperToken.d.ts.map +1 -1
  97. package/dist/module/SuperToken.js +179 -106
  98. package/dist/module/SuperToken.js.map +1 -1
  99. package/dist/module/abi/IConstantFlowAgreementV1.json +348 -0
  100. package/dist/module/constants.d.ts +4 -0
  101. package/dist/module/constants.d.ts.map +1 -1
  102. package/dist/module/constants.js +6 -0
  103. package/dist/module/constants.js.map +1 -1
  104. package/dist/module/events.d.ts +14 -2
  105. package/dist/module/events.d.ts.map +1 -1
  106. package/dist/module/frameworkHelpers.d.ts +2 -2
  107. package/dist/module/frameworkHelpers.js +2 -2
  108. package/dist/module/interfaces.d.ts +62 -8
  109. package/dist/module/interfaces.d.ts.map +1 -1
  110. package/dist/module/mapGetAllEventsQueryEvents.d.ts.map +1 -1
  111. package/dist/module/mapGetAllEventsQueryEvents.js +22 -1
  112. package/dist/module/mapGetAllEventsQueryEvents.js.map +1 -1
  113. package/dist/module/pagination.d.ts +4 -4
  114. package/dist/module/pagination.js +2 -2
  115. package/dist/module/subgraph/events/events.generated.d.ts +46 -3
  116. package/dist/module/subgraph/events/events.generated.d.ts.map +1 -1
  117. package/dist/module/subgraph/events/events.generated.js +3 -2
  118. package/dist/module/subgraph/events/events.generated.js.map +1 -1
  119. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts +12 -0
  120. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
  121. package/dist/module/subgraph/queries/getAllEvents.generated.js +1 -1
  122. package/dist/module/subgraph/queries/getAllEvents.generated.js.map +1 -1
  123. package/dist/module/subgraph/schema.generated.d.ts +817 -5
  124. package/dist/module/subgraph/schema.generated.d.ts.map +1 -1
  125. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts +184 -0
  126. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts.map +1 -1
  127. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  128. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js +348 -0
  129. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  130. package/dist/module/utils.d.ts +15 -13
  131. package/dist/module/utils.d.ts.map +1 -1
  132. package/dist/module/utils.js +27 -15
  133. package/dist/module/utils.js.map +1 -1
  134. package/package.json +9 -11
package/CHANGELOG.md CHANGED
@@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
12
12
  - Added `PageNumberPaging` for UI development friendly pagination API
13
13
  - Added `AllPaging` to recursively query all results from Subgraph
14
14
  - Added support for `TypedDocumentNode` for `SubgraphClient`
15
+ - Added new ACL function support: authorizing flow operator permissions and create/update/delete flow by operator
15
16
 
16
17
  ### Changed
17
18
  - Renamed `Token` to `ERC20Token`
package/README.md CHANGED
@@ -55,6 +55,8 @@ To get the package up and running you'll need to install the necessary dependenc
55
55
  yarn install && yarn build
56
56
  ```
57
57
 
58
+ > NOTE: `yarn build` has a prerequisite that the contracts in `ethereum-contracts` have been built.
59
+
58
60
  # Tutorial
59
61
 
60
62
  For the best and most immersive experience of learning how to use the main sdk-core features, I would highly recommend heading over to our [interactive tutorials](https://docs.superfluid.finance/superfluid/protocol-tutorials/interactive-tutorials).