From c14df27b1957aa902a7504e808c9d9a92a040ad5 Mon Sep 17 00:00:00 2001 From: 0xdavinchee <0xdavinchee@gmail.com> Date: Mon, 23 Oct 2023 12:07:12 +0300 Subject: [PATCH] bump version + update changelog --- packages/sdk-core/CHANGELOG.md | 5 +++++ packages/sdk-core/package.json | 2 +- packages/sdk-core/src/SuperToken.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/sdk-core/CHANGELOG.md b/packages/sdk-core/CHANGELOG.md index e52a669066..5e0dca827a 100644 --- a/packages/sdk-core/CHANGELOG.md +++ b/packages/sdk-core/CHANGELOG.md @@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [0.6.12] - 2023-10-23 + +### Fixed +- Support for `CustomSuperToken` contracts without `CONSTANT_OUTFLOW_NFT()` and `CONSTANT_INFLOW_NFT()` function implemented + ## [0.6.11] - 2023-10-20 ### Fixed diff --git a/packages/sdk-core/package.json b/packages/sdk-core/package.json index 7953193b94..8efc2f3548 100644 --- a/packages/sdk-core/package.json +++ b/packages/sdk-core/package.json @@ -1,6 +1,6 @@ { "name": "@superfluid-finance/sdk-core", - "version": "0.6.11", + "version": "0.6.12", "description": "SDK Core for building with Superfluid Protocol", "homepage": "https://github.com/superfluid-finance/protocol-monorepo/tree/dev/packages/sdk-core#readme", "repository": { diff --git a/packages/sdk-core/src/SuperToken.ts b/packages/sdk-core/src/SuperToken.ts index 7102f28b03..96816ae1db 100644 --- a/packages/sdk-core/src/SuperToken.ts +++ b/packages/sdk-core/src/SuperToken.ts @@ -193,7 +193,7 @@ export default abstract class SuperToken extends ERC20Token { ); } if (constantInflowNFTProxy === ethers.constants.AddressZero) { - constantOutflowNFTProxy = await tryGet( + constantInflowNFTProxy = await tryGet( goodDollarSpecificToken.constantInflowNFT(), ethers.constants.AddressZero );