Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "azurlane", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Api wrapper for the azur lane api", | ||
"main": "dist/lib/index.js", | ||
"types": "dist/lib/*.d.js", | ||
"types": "dist/lib/", | ||
"homepage": "https://kurozeropb.github.io/AzurLane/index.html", | ||
@@ -40,10 +40,10 @@ "repository": { | ||
"devDependencies": { | ||
"@types/node": "^11.12.2", | ||
"@types/node": "^11.13.8", | ||
"gh-pages": "^2.0.1", | ||
"gts": "^0.9.0", | ||
"mocha": "^6.0.2", | ||
"gts": "^1.0.0", | ||
"mocha": "^6.1.4", | ||
"typedoc": "^0.14.2", | ||
"typedoc-plugin-markdown": "^1.1.27", | ||
"typescript": "^3.4.1" | ||
"typedoc-plugin-markdown": "^1.2.0", | ||
"typescript": "^3.4.5" | ||
} | ||
} |
@@ -17,3 +17,3 @@ export interface IBaseResponse { | ||
constructor(errorResponse: IErrorResponse) { | ||
public constructor(errorResponse: IErrorResponse) { | ||
super(errorResponse.message); | ||
@@ -26,2 +26,2 @@ | ||
} | ||
} | ||
} |
@@ -15,3 +15,3 @@ import axios, { AxiosResponse, AxiosRequestConfig } from "axios"; | ||
private _axiosOptions: AxiosRequestConfig; | ||
protected baseUrl: string = "https://api.kurozeropb.info/v1/azurlane"; | ||
protected baseUrl = "https://api.kurozeropb.info/v1/azurlane"; | ||
public options: IOptions; | ||
@@ -26,3 +26,3 @@ | ||
this.options = options ? options : {}; | ||
this.options.userAgent = (options && options.userAgent) ? options.userAgent : `AzurLane/v${version} (https://www.npmjs.com/package/azurlane)` | ||
this.options.userAgent = (options && options.userAgent) ? options.userAgent : `AzurLane/v${version} (https://www.npmjs.com/package/azurlane)`; | ||
@@ -33,3 +33,3 @@ this._axiosOptions = { | ||
} | ||
} | ||
}; | ||
} | ||
@@ -36,0 +36,0 @@ |
@@ -35,2 +35,2 @@ import { IBaseResponse } from "./base"; | ||
ship: IShip; | ||
} | ||
} |
{ | ||
"name": "azurlane", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Api wrapper for the azur lane api", | ||
"main": "dist/lib/index.js", | ||
"types": "dist/lib/*.d.js", | ||
"types": "dist/lib/", | ||
"homepage": "https://kurozeropb.github.io/AzurLane/index.html", | ||
@@ -40,10 +40,10 @@ "repository": { | ||
"devDependencies": { | ||
"@types/node": "^11.12.2", | ||
"@types/node": "^11.13.8", | ||
"gh-pages": "^2.0.1", | ||
"gts": "^0.9.0", | ||
"mocha": "^6.0.2", | ||
"gts": "^1.0.0", | ||
"mocha": "^6.1.4", | ||
"typedoc": "^0.14.2", | ||
"typedoc-plugin-markdown": "^1.1.27", | ||
"typescript": "^3.4.1" | ||
"typedoc-plugin-markdown": "^1.2.0", | ||
"typescript": "^3.4.5" | ||
} | ||
} |
@@ -21,2 +21,2 @@ const assert = require("assert"); | ||
}); | ||
}); | ||
}); |
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
1599
506245