Skip to content

Commit

Permalink
Merge pull request #13 from rodgeTech/export-interfaces
Browse files Browse the repository at this point in the history
Export interfaces
  • Loading branch information
rodgetech authored Oct 11, 2022
2 parents 3b68ade + df99d81 commit 7a86d0a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coinmarketcap-js",
"version": "1.5.0",
"version": "1.6.0",
"description": "Javascript SDK for CoinMarketCap",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
8 changes: 7 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ import { cryptoClient } from "./crypto";
import { exchangeClient } from "./exchange";
import { fiatClient } from "./fiat";
import { globalClient } from "./global";
import { RestClient } from "./interfaces/RestClient";
import { RestClient } from "./interfaces";
import { toolsClient } from "./tools";

export * from "./crypto";
export * from "./exchange";
export * from "./fiat";
export * from "./global";
export * from "./interfaces";

export const restClient = (
apiKey: string,
apiVersion = "v1",
Expand Down
7 changes: 7 additions & 0 deletions src/interfaces/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export * from "./Crypto";
export * from "./ApiResponse";
export * from "./Exchange";
export * from "./Fiat";
export * from "./Global";
export * from "./RestClient";
export * from "./Tools";

0 comments on commit 7a86d0a

Please sign in to comment.