@synonymdev/blocktank-lsp-http-client
Advanced tools
Comparing version 0.2.0 to 0.2.1
# Changelog | ||
## 0.2.1 - 28.07.2023 | ||
- (enhance) Changed default baseUrl of BlocktankClient to `https://blocktank.synonym.to/api/v2`. | ||
## 0.2.0 - 28.07.2023 | ||
@@ -4,0 +8,0 @@ |
@@ -27,3 +27,3 @@ "use strict"; | ||
_baseUrl; | ||
constructor(_baseUrl = 'https://blocktank.synonym.to/') { | ||
constructor(_baseUrl = 'https://blocktank.synonym.to/api/v2') { | ||
this._baseUrl = _baseUrl; | ||
@@ -36,3 +36,3 @@ } | ||
} | ||
return url + 'api/v2'; | ||
return url; | ||
} | ||
@@ -39,0 +39,0 @@ async wrapErrorHandler(message, run) { |
{ | ||
"name": "@synonymdev/blocktank-lsp-http-client", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Blocktank Http Api Client", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import {BlocktankClient} from './BlocktankClient' | ||
jest.setTimeout(30000) | ||
const serviceUrl = 'http://127.0.0.1:9000/' | ||
const serviceUrl = 'http://127.0.0.1:9000/api' | ||
@@ -6,0 +6,0 @@ describe('BlocktankClient', () => { |
@@ -38,3 +38,3 @@ import axios from 'axios'; | ||
export class BlocktankClient { | ||
constructor(public _baseUrl: string = 'https://blocktank.synonym.to/') { } | ||
constructor(public _baseUrl: string = 'https://blocktank.synonym.to/api/v2') { } | ||
@@ -46,3 +46,3 @@ get baseUrl(): string { | ||
} | ||
return url + 'api/v2' | ||
return url | ||
} | ||
@@ -49,0 +49,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38663