Skip to content

Commit

Permalink
fix: rename case sensitive naming
Browse files Browse the repository at this point in the history
  • Loading branch information
eljefedelrodeodeljefe committed Sep 11, 2018
1 parent 811eac1 commit d081960
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 68 deletions.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions src/tillhub-js.ts
@@ -1,12 +1,12 @@
// Import here Polyfills if needed. Recommended core-js (npm i -D core-js)
// import 'core-js/fn/array.find'
// import * as EventEmitter from 'events'
import { AuthOptions, AuthTypes, UsernameAuth, KeyAuth, TokenAuth } from './v0/Auth'
import { Auth } from './v1/Auth'
import { Transactions } from './v0/Transactions'
import { Taxes } from './v0/Taxes'
import { Client, ClientOptions } from './Client'
import * as errors from './Errors'
import { AuthOptions, AuthTypes, UsernameAuth, KeyAuth, TokenAuth } from './v0/auth'
import { Auth } from './v1/auth'
import { Transactions } from './v0/transactions'
import { Taxes } from './v0/taxes'
import { Client, ClientOptions } from './client'
import * as errors from './errors'

import v0 from './v0'
import v1 from './v1'
Expand Down
53 changes: 0 additions & 53 deletions src/v0/Taxes.ts

This file was deleted.

File renamed without changes.
6 changes: 3 additions & 3 deletions src/v0/index.ts
@@ -1,6 +1,6 @@
import { Auth } from './Auth'
import { Transactions } from './Transactions'
import { Taxes } from './Taxes'
import { Auth } from './auth'
import { Transactions } from './transactions'
import { Taxes } from './taxes'

export default {
Auth,
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/v1/index.ts
@@ -1,4 +1,4 @@
import { Auth } from './Auth'
import { Auth } from './auth'

export default {
Auth
Expand Down
2 changes: 1 addition & 1 deletion test/tillhub-client.test.ts
Expand Up @@ -3,7 +3,7 @@ import axios from 'axios'
import MockAdapter from 'axios-mock-adapter'
dotenv.config()
import { TillhubClient, v1 } from '../src/tillhub-js'
import { Client } from '../src/Client'
import { Client } from '../src/client'

let user = {
username: 'test@example.com',
Expand Down
4 changes: 2 additions & 2 deletions test/tillhub-js-rehydrate.test.ts
Expand Up @@ -3,8 +3,8 @@ import axios from 'axios'
import MockAdapter from 'axios-mock-adapter'
dotenv.config()
import th, { TillhubClient, v0 } from '../src/tillhub-js'
import { Client } from '../src/Client'
import { Auth } from '../src/v1/Auth'
import { Client } from '../src/client'
import { Auth } from '../src/v1/auth'

let user = {
username: 'test@example.com',
Expand Down
4 changes: 2 additions & 2 deletions test/tillhub-js.test.ts
Expand Up @@ -3,8 +3,8 @@ import axios from 'axios'
import MockAdapter from 'axios-mock-adapter'
dotenv.config()
import th, { TillhubClient } from '../src/tillhub-js'
import { Client } from '../src/Client'
import { Auth } from '../src/v1/Auth'
import { Client } from '../src/client'
import { Auth } from '../src/v1/auth'

let user = {
username: 'test@example.com',
Expand Down

0 comments on commit d081960

Please sign in to comment.