@styla/mailgun
Advanced tools
Comparing version 5.0.18 to 5.0.19
{ | ||
"name": "@styla/mailgun", | ||
"version": "5.0.18", | ||
"version": "5.0.19", | ||
"author": "Mailgun", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -1,2 +0,1 @@ | ||
import urljoin from 'url-join'; | ||
import { APIResponse } from './interfaces/ApiResponse'; | ||
@@ -16,2 +15,3 @@ import { Request } from './request'; | ||
} from './interfaces/DomainCredentials'; | ||
import { urlJoin } from './utils/urlJoin'; | ||
@@ -59,3 +59,3 @@ export class DomainCredentialsClient implements IDomainCredentials { | ||
): Promise<DomainCredentialsList> { | ||
return this.request.get(urljoin(this.baseRoute, domain, '/credentials'), query) | ||
return this.request.get(urlJoin(this.baseRoute, domain, '/credentials'), query) | ||
.then( | ||
@@ -62,0 +62,0 @@ (res: APIResponse) => DomainCredentialsClient._parseDomainCredentialsList(res as DomainCredentialsResponseData), |
408930