Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihirota committed Feb 28, 2024
1 parent b7cccb3 commit 4fecba5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 8 additions & 0 deletions src/config/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ describe('createConfig', () => {
Config.createConfig({
coreContractAddress: '0x1',
registrationContractAddress: '0x2',
registrationV4ContractAddress: '0x3',
chainID: 3,
basePath: ' ',
}),
Expand All @@ -21,6 +22,7 @@ describe('createConfig', () => {
Config.createConfig({
coreContractAddress: '0x1',
registrationContractAddress: '0x2',
registrationV4ContractAddress: '0x3',
chainID: 3,
basePath: '',
}),
Expand All @@ -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',
Expand All @@ -47,12 +50,14 @@ describe('createConfig', () => {
chainID,
coreContractAddress,
registrationContractAddress,
registrationV4ContractAddress,
},
};

const actual = Config.createConfig({
coreContractAddress,
registrationContractAddress,
registrationV4ContractAddress,
chainID,
basePath,
headers: customHeaders,
Expand All @@ -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',
Expand All @@ -85,12 +91,14 @@ describe('createConfig', () => {
chainID,
coreContractAddress,
registrationContractAddress,
registrationV4ContractAddress,
},
};

const actual = Config.createConfig({
coreContractAddress,
registrationContractAddress,
registrationV4ContractAddress,
chainID,
basePath,
headers: customHeaders,
Expand Down

0 comments on commit 4fecba5

Please sign in to comment.