From 4fecba5ef4c7e7303103fa0e28405f2bf6ca2eaf Mon Sep 17 00:00:00 2001 From: Kai Hirota <34954529+kaihirota@users.noreply.github.com> Date: Wed, 28 Feb 2024 14:16:20 +1100 Subject: [PATCH] update version --- CHANGELOG.md | 6 ++++++ package.json | 2 +- src/config/config.test.ts | 8 ++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8cb8b44..1cad33ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.6.0] - 2024-02-28 + +### Added + +- Add V4 registration contract addresses. + ## [3.5.0] - 2024-02-28 ### Added diff --git a/package.json b/package.json index 35814ccd..962e391d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@imtbl/core-sdk", - "version": "3.5.0", + "version": "3.6.0", "description": "Immutable Core SDK", "main": "dist/index.cjs.js", "module": "dist/index.es.js", diff --git a/src/config/config.test.ts b/src/config/config.test.ts index 3cabdc17..3f66c229 100644 --- a/src/config/config.test.ts +++ b/src/config/config.test.ts @@ -10,6 +10,7 @@ describe('createConfig', () => { Config.createConfig({ coreContractAddress: '0x1', registrationContractAddress: '0x2', + registrationV4ContractAddress: '0x3', chainID: 3, basePath: ' ', }), @@ -21,6 +22,7 @@ describe('createConfig', () => { Config.createConfig({ coreContractAddress: '0x1', registrationContractAddress: '0x2', + registrationV4ContractAddress: '0x3', chainID: 3, basePath: '', }), @@ -31,6 +33,7 @@ describe('createConfig', () => { const basePath = 'https://api.sandbox.x.immutable.com'; const coreContractAddress = '0x1'; const registrationContractAddress = '0x2'; + const registrationV4ContractAddress = '0x3'; const chainID = 3; const customHeaders = { 'x-custom-headers': 'x values', @@ -47,12 +50,14 @@ describe('createConfig', () => { chainID, coreContractAddress, registrationContractAddress, + registrationV4ContractAddress, }, }; const actual = Config.createConfig({ coreContractAddress, registrationContractAddress, + registrationV4ContractAddress, chainID, basePath, headers: customHeaders, @@ -66,6 +71,7 @@ describe('createConfig', () => { const basePath = 'https://api.sandbox.x.immutable.com'; const coreContractAddress = '0x1'; const registrationContractAddress = '0x2'; + const registrationV4ContractAddress = '0x3'; const chainID = 3; const customHeaders = { 'x-custom-headers': 'x values', @@ -85,12 +91,14 @@ describe('createConfig', () => { chainID, coreContractAddress, registrationContractAddress, + registrationV4ContractAddress, }, }; const actual = Config.createConfig({ coreContractAddress, registrationContractAddress, + registrationV4ContractAddress, chainID, basePath, headers: customHeaders,