Skip to content

Commit

Permalink
Merge pull request #296 from ainft-team/release/2.0.2
Browse files Browse the repository at this point in the history
Release/2.0.2
  • Loading branch information
yoojinko authored Jun 25, 2024
2 parents 66cb339 + b810b6b commit aa6d696
Show file tree
Hide file tree
Showing 7 changed files with 274 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ainft-team/ainft-js",
"main": "dist/ainft.js",
"types": "dist/ainft.d.ts",
"version": "2.0.1",
"version": "2.0.2",
"engines": {
"node": ">=16"
},
Expand Down Expand Up @@ -39,7 +39,7 @@
"typescript": "^4.6.3"
},
"dependencies": {
"@ainblockchain/ain-js": "^1.6.0",
"@ainblockchain/ain-js": "^1.10.2",
"@ainblockchain/ain-util": "^1.1.9",
"@ainize-team/ainize-js": "^1.1.1",
"@types/lodash": "^4.14.200",
Expand Down
4 changes: 2 additions & 2 deletions src/ainft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class AinftJs {
throw new Error(`Invalid chain ID: ${chainId}`);
}

this.ain = new Ain(_.get(config, 'ainBlockchainEndpoint') || AIN_BLOCKCHAIN_ENDPOINT[stage], chainId);
this.ain = new Ain(_.get(config, 'ainBlockchainEndpoint') || AIN_BLOCKCHAIN_ENDPOINT[stage], null, chainId);
this.ainize = new Ainize(chainId);
this.setPrivateKey(privateKey);

Expand Down Expand Up @@ -102,7 +102,7 @@ export default class AinftJs {
chainId: number,
axiosConfig?: any
) {
this.ain.setProvider(providerUrl, chainId, axiosConfig);
this.ain.setProvider(providerUrl, null, chainId, axiosConfig);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion test/assistants.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ASST_PATTERN = /^asst_([A-Za-z0-9]{24})$/;

jest.setTimeout(60000);

describe('assistant', () => {
describe.skip('assistant', () => {
let ainft: AinftJs;

beforeAll(() => {
Expand Down
2 changes: 1 addition & 1 deletion test/chat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const TX_PATTERN = /^0x([A-Fa-f0-9]{64})$/;

jest.setTimeout(60000);

describe('chat', () => {
describe.skip('chat', () => {
let ainft: AinftJs;

beforeAll(() => {
Expand Down
2 changes: 1 addition & 1 deletion test/messages.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const MSG_PATTERN = /^msg_([A-Za-z0-9]{24})$/;

jest.setTimeout(60000);

describe('message', () => {
describe.skip('message', () => {
let ainft: AinftJs;

beforeAll(async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/threads.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const THREAD_PATTERN = /^thread_([A-Za-z0-9]{24})$/;

jest.setTimeout(60000);

describe('thread', () => {
describe.skip('thread', () => {
let ainft: AinftJs;

beforeAll(async () => {
Expand Down
Loading

0 comments on commit aa6d696

Please sign in to comment.