@trycourier/courier
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -12,3 +12,3 @@ "use strict"; | ||
headers: { | ||
Authorization: "Bearer " + options.authenticationCode | ||
Authorization: "Bearer " + options.authorizationToken | ||
} | ||
@@ -15,0 +15,0 @@ }); |
@@ -12,3 +12,3 @@ export declare type HttpMethodClient = <T>(url: string, body?: object) => Promise<{ | ||
baseUrl?: string; | ||
authenticationCode: string; | ||
authorizationToken: string; | ||
} | ||
@@ -15,0 +15,0 @@ export interface ICourierClientConfiguration { |
{ | ||
"name": "@trycourier/courier", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A node.js module for communicating with the Courier REST API.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -16,3 +16,3 @@ # `@trycourier/courier` | ||
const courier = CourierClient({ authenticationCode: "<AUTH_CODE>" }); | ||
const courier = CourierClient({ authorizationToken: "<AUTH_TOKEN>" }); | ||
@@ -19,0 +19,0 @@ async function run () { |
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
11534