diff --git a/cdp-langchain/CHANGELOG.md b/cdp-langchain/CHANGELOG.md index d8b24946b..d3ba71291 100644 --- a/cdp-langchain/CHANGELOG.md +++ b/cdp-langchain/CHANGELOG.md @@ -2,12 +2,17 @@ ## Unreleased -## [0.0.2] - 2024-11-07 +## [0.0.4] - 2024-11-10 ### Added -- Bump dependency `cdp-agentkit-core` to version `0.0.3`. +- Improved CDP API Key private key parsing. + +## [0.0.3] - 2024-11-09 +### Added + +- Bump dependency `cdp-agentkit-core` to version `0.0.3`. ## [0.0.2] - 2024-11-07 diff --git a/cdp-langchain/cdp_langchain/__version__.py b/cdp-langchain/cdp_langchain/__version__.py index 27fdca497..81f0fdecc 100644 --- a/cdp-langchain/cdp_langchain/__version__.py +++ b/cdp-langchain/cdp_langchain/__version__.py @@ -1 +1 @@ -__version__ = "0.0.3" +__version__ = "0.0.4" diff --git a/cdp-langchain/cdp_langchain/utils/cdp_agentkit_wrapper.py b/cdp-langchain/cdp_langchain/utils/cdp_agentkit_wrapper.py index c15555bcd..a8221d054 100644 --- a/cdp-langchain/cdp_langchain/utils/cdp_agentkit_wrapper.py +++ b/cdp-langchain/cdp_langchain/utils/cdp_agentkit_wrapper.py @@ -28,7 +28,7 @@ def validate_environment(cls, values: dict) -> Any: cdp_api_key_name = get_from_dict_or_env(values, "cdp_api_key_name", "CDP_API_KEY_NAME") cdp_api_key_private_key = get_from_dict_or_env( values, "cdp_api_key_private_key", "CDP_API_KEY_PRIVATE_KEY" - ) + ).replace("\\n", "\n") network_id = get_from_dict_or_env(values, "network_id", "NETWORK_ID", "base-sepolia") wallet_data_json = values.get("cdp_wallet_data") diff --git a/cdp-langchain/docs/conf.py b/cdp-langchain/docs/conf.py index af098c187..fb635bb01 100644 --- a/cdp-langchain/docs/conf.py +++ b/cdp-langchain/docs/conf.py @@ -13,7 +13,7 @@ project = 'CDP Agentkit - LangChain' author = 'Coinbase Developer Platform' -release = '0.0.3' +release = '0.0.4' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/cdp-langchain/pyproject.toml b/cdp-langchain/pyproject.toml index 28979b396..73b794d7e 100644 --- a/cdp-langchain/pyproject.toml +++ b/cdp-langchain/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cdp-langchain" -version = "0.0.3" +version = "0.0.4" description = "CDP Agentkit Langchain Extension" authors = ["John Peterson "] readme = "README.md"