Move API constants to client.ts for ownership

This commit is contained in:
Tee
2021-02-19 19:29:44 -05:00
parent 9b6acd5b9a
commit cec9ea8c5e

View File

@ -1,7 +1,9 @@
import * as axios from 'axios';
import { API_URL, API_VERSION } from './sdk';
import { IQuery } from './interfaces/query';
const API_URL: string = 'https://api.pokemontcg.io';
const API_VERSION: string = '1';
export class Client {
static apiUrl: string = `${API_URL}/v${API_VERSION}`;