@superfluid-finance/sdk-core 0.5.1 → 0.5.3-dev.49897f6.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 (103) hide show
  1. package/CHANGELOG.md +12 -5
  2. package/dist/index.umd.js +65 -48
  3. package/dist/main/BatchCall.d.ts +5 -3
  4. package/dist/main/BatchCall.d.ts.map +1 -1
  5. package/dist/main/BatchCall.js +17 -9
  6. package/dist/main/BatchCall.js.map +1 -1
  7. package/dist/main/ConstantFlowAgreementV1.d.ts +1 -1
  8. package/dist/main/ConstantFlowAgreementV1.js +10 -10
  9. package/dist/main/ConstantFlowAgreementV1.js.map +1 -1
  10. package/dist/main/Governance.js +2 -2
  11. package/dist/main/Host.d.ts +11 -1
  12. package/dist/main/Host.d.ts.map +1 -1
  13. package/dist/main/Host.js +12 -1
  14. package/dist/main/Host.js.map +1 -1
  15. package/dist/main/InstantDistributionAgreementV1.d.ts +3 -3
  16. package/dist/main/InstantDistributionAgreementV1.js +11 -11
  17. package/dist/main/InstantDistributionAgreementV1.js.map +1 -1
  18. package/dist/main/Operation.d.ts +3 -3
  19. package/dist/main/Operation.js +3 -3
  20. package/dist/main/SFError.js +1 -1
  21. package/dist/main/SFError.js.map +1 -1
  22. package/dist/main/constants.js +1 -1
  23. package/dist/main/constants.js.map +1 -1
  24. package/dist/main/defaultSubgraphReleaseTag.json +1 -1
  25. package/dist/main/interfaces.d.ts +1 -0
  26. package/dist/main/interfaces.d.ts.map +1 -1
  27. package/dist/main/subgraph/entities/token/tokens.generated.d.ts +1 -0
  28. package/dist/main/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
  29. package/dist/main/subgraph/entities/token/tokens.generated.js +1 -1
  30. package/dist/main/subgraph/entities/token/tokens.generated.js.map +1 -1
  31. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
  32. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
  33. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
  34. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
  35. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
  36. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
  37. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
  38. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
  39. package/dist/main/subgraph/queries/getIndexes.generated.d.ts +1 -0
  40. package/dist/main/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
  41. package/dist/main/subgraph/queries/getIndexes.generated.js +1 -1
  42. package/dist/main/subgraph/queries/getIndexes.generated.js.map +1 -1
  43. package/dist/main/subgraph/queries/getStreams.generated.d.ts +1 -0
  44. package/dist/main/subgraph/queries/getStreams.generated.d.ts.map +1 -1
  45. package/dist/main/subgraph/queries/getStreams.generated.js +1 -1
  46. package/dist/main/subgraph/queries/getStreams.generated.js.map +1 -1
  47. package/dist/main/subgraph/queries/getTokens.generated.d.ts +1 -0
  48. package/dist/main/subgraph/queries/getTokens.generated.d.ts.map +1 -1
  49. package/dist/main/subgraph/queries/getTokens.generated.js +1 -1
  50. package/dist/main/subgraph/queries/getTokens.generated.js.map +1 -1
  51. package/dist/main/subgraph/schema.generated.d.ts +5 -1
  52. package/dist/main/subgraph/schema.generated.d.ts.map +1 -1
  53. package/dist/module/BatchCall.d.ts +5 -3
  54. package/dist/module/BatchCall.d.ts.map +1 -1
  55. package/dist/module/BatchCall.js +17 -9
  56. package/dist/module/BatchCall.js.map +1 -1
  57. package/dist/module/ConstantFlowAgreementV1.d.ts +1 -1
  58. package/dist/module/ConstantFlowAgreementV1.js +10 -10
  59. package/dist/module/ConstantFlowAgreementV1.js.map +1 -1
  60. package/dist/module/Governance.js +2 -2
  61. package/dist/module/Host.d.ts +11 -1
  62. package/dist/module/Host.d.ts.map +1 -1
  63. package/dist/module/Host.js +12 -1
  64. package/dist/module/Host.js.map +1 -1
  65. package/dist/module/InstantDistributionAgreementV1.d.ts +3 -3
  66. package/dist/module/InstantDistributionAgreementV1.js +11 -11
  67. package/dist/module/InstantDistributionAgreementV1.js.map +1 -1
  68. package/dist/module/Operation.d.ts +3 -3
  69. package/dist/module/Operation.js +3 -3
  70. package/dist/module/SFError.js +1 -1
  71. package/dist/module/SFError.js.map +1 -1
  72. package/dist/module/constants.js +1 -1
  73. package/dist/module/constants.js.map +1 -1
  74. package/dist/module/defaultSubgraphReleaseTag.json +1 -1
  75. package/dist/module/interfaces.d.ts +1 -0
  76. package/dist/module/interfaces.d.ts.map +1 -1
  77. package/dist/module/subgraph/entities/token/tokens.generated.d.ts +1 -0
  78. package/dist/module/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
  79. package/dist/module/subgraph/entities/token/tokens.generated.js +1 -1
  80. package/dist/module/subgraph/entities/token/tokens.generated.js.map +1 -1
  81. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
  82. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
  83. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
  84. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
  85. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
  86. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
  87. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
  88. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
  89. package/dist/module/subgraph/queries/getIndexes.generated.d.ts +1 -0
  90. package/dist/module/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
  91. package/dist/module/subgraph/queries/getIndexes.generated.js +1 -1
  92. package/dist/module/subgraph/queries/getIndexes.generated.js.map +1 -1
  93. package/dist/module/subgraph/queries/getStreams.generated.d.ts +1 -0
  94. package/dist/module/subgraph/queries/getStreams.generated.d.ts.map +1 -1
  95. package/dist/module/subgraph/queries/getStreams.generated.js +1 -1
  96. package/dist/module/subgraph/queries/getStreams.generated.js.map +1 -1
  97. package/dist/module/subgraph/queries/getTokens.generated.d.ts +1 -0
  98. package/dist/module/subgraph/queries/getTokens.generated.d.ts.map +1 -1
  99. package/dist/module/subgraph/queries/getTokens.generated.js +1 -1
  100. package/dist/module/subgraph/queries/getTokens.generated.js.map +1 -1
  101. package/dist/module/subgraph/schema.generated.d.ts +5 -1
  102. package/dist/module/subgraph/schema.generated.d.ts.map +1 -1
  103. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.5.2] - 2022-07-26
9
+
8
10
  ### Added
9
11
  - Support for `isNativeAssetSuperToken` property on SuperToken entity queries
10
12
  - `callAppAction` Operation creator added to `Host` class
@@ -13,22 +15,26 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
13
15
  - `BatchCall.getCallDataFunctionArgs` deprecates the old `BatchCall.getCallAgreementFunctionArgs`
14
16
  - Migration:
15
17
  - Replace `getCallAgreementFunctionArgs` with `getCallDataFunctionArgs` and pass in the fragment/ABI as the first argument, whilst keeping the same `callData` argument.
18
+ - `Host.populateCallAgreementTxnAndReturnOperation` is replaced by `Host.callAgreement`
19
+ - Migration:
20
+ - Replace instances of `populateCallAgreementTxnAndReturnOperation` with `callAgreement`
16
21
 
17
22
  ### Fixes
18
23
  - Handle `CALL_APP_ACTION` operation type correctly in SDK-Core when doing a batch call
24
+ - Undefined `process` in `constants.ts` in React and client-side apps using SDK-Core directly
19
25
 
20
26
  ## [0.5.1] - 2022-07-26
21
27
 
22
- ## Fixes
28
+ ### Fixes
23
29
  - Patch fix serializeError strange serialization
24
30
 
25
31
  ## [0.5.0] - 2022-07-14
26
32
 
27
- ## Added
33
+ ### Added
28
34
  - Support for SetEvent and Subgraph v1.4.4
29
35
  - `Framework.operation` method for easily creating `Operation` instances
30
36
 
31
- ## Fixes
37
+ ### Fixes
32
38
  - Compile AJV validations to prevent unsafe-eval and did not allow SDK-Core usage inside Google Chrome extension due to unsafe-eval CSP
33
39
 
34
40
  ### Changed
@@ -41,7 +47,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
41
47
 
42
48
  ## [0.4.4] - 2022-06-30
43
49
 
44
- ## Added
50
+ ### Added
45
51
  - Support for new event properties for Subgraph v1.4.1
46
52
 
47
53
  ### Breaking
@@ -186,7 +192,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
186
192
  - New `SuperToken` class with `SuperToken` CRUD functionality and an underlying `Token` class with basic `ERC20` functionality
187
193
  - New `BatchCall` class for creating and executing batch calls with supported `Operation's`
188
194
 
189
- [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.1...HEAD
195
+ [Unreleased]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.2...HEAD
196
+ [0.5.2]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.1...sdk-core%40v0.5.2
190
197
  [0.5.1]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.5.0...sdk-core%40v0.5.1
191
198
  [0.5.0]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.4...sdk-core%40v0.5.0
192
199
  [0.4.4]: https://github.com/superfluid-finance/protocol-monorepo/compare/sdk-core%40v0.4.3...sdk-core%40v0.4.4