Skip to content

Commit

Permalink
rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
KadoBOT committed Jan 15, 2020
1 parent a3ebb01 commit 6f1d954
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 50 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adyen/api-library",
"version": "2.2.1-rc.2",
"version": "2.2.1-rc.3",
"description": "The Adyen API Library for NodeJS enables you to work with Adyen APIs.",
"main": "dist/lib/src/index.js",
"types": "dist/lib/src/index.d.ts",
Expand Down
20 changes: 0 additions & 20 deletions src/index.d.ts

This file was deleted.

22 changes: 1 addition & 21 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,7 @@
* See the LICENSE file for more info.
*/

/* eslint-disable @typescript-eslint/triple-slash-reference */
/// <reference path="typings/amount.ts" />
/// <reference path="typings/apiError.ts" />
/// <reference path="typings/applicationInfo.ts" />
/// <reference path="typings/binLookup.ts" />
/// <reference path="typings/checkout.ts" />
/// <reference path="typings/checkoutUtility.ts" />
/// <reference path="typings/enums/environment.ts" />
/// <reference path="typings/enums/vatCategory.ts" />
/// <reference path="typings/marketPayAccount.ts" />
/// <reference path="typings/marketPayFund.ts" />
/// <reference path="typings/marketPayHostedOnboardingPage.ts" />
/// <reference path="typings/marketPayNotificationConfiguration.ts" />
/// <reference path="typings/marketPayNotifications.ts" />
/// <reference path="typings/nexo.ts" />
/// <reference path="typings/notification.ts" />
/// <reference path="typings/payments.ts" />
/// <reference path="typings/payouts.ts" />
/// <reference path="typings/recurring.ts" />
/// <reference path="typings/requestOptions.ts" />
/// <reference path="typings/terminal.ts" />
import "./typings";

export { default as Client } from "./client";
export { default as Config } from "./config";
Expand Down
20 changes: 20 additions & 0 deletions src/typings/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/// <reference path="amount.ts" />
/// <reference path="apiError.ts" />
/// <reference path="applicationInfo.ts" />
/// <reference path="binLookup.ts" />
/// <reference path="checkout.ts" />
/// <reference path="checkoutUtility.ts" />
/// <reference path="enums/environment.ts" />
/// <reference path="enums/vatCategory.ts" />
/// <reference path="marketPayAccount.ts" />
/// <reference path="marketPayFund.ts" />
/// <reference path="marketPayHostedOnboardingPage.ts" />
/// <reference path="marketPayNotificationConfiguration.ts" />
/// <reference path="marketPayNotifications.ts" />
/// <reference path="nexo.ts" />
/// <reference path="notification.ts" />
/// <reference path="payments.ts" />
/// <reference path="payouts.ts" />
/// <reference path="recurring.ts" />
/// <reference path="requestOptions.ts" />
/// <reference path="terminal.ts" />
10 changes: 2 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist/lib",
"module": "commonjs",
"target": "es5",
Expand All @@ -19,13 +18,8 @@
"forceConsistentCasingInFileNames": true,
"strict": true,
"noUnusedLocals": true,
"suppressImplicitAnyIndexErrors": true,
"typeRoots": ["src/typings", "node_modules/@types"],
"types": ["node", "jest"]
"suppressImplicitAnyIndexErrors": true
},
"include": ["src"],
"exclude": ["node_modules"],
"files": [
"src/index.d.ts"
]
"exclude": ["node_modules"]
}

0 comments on commit 6f1d954

Please sign in to comment.