@shipengine/js-api 3.14.0 → 3.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auctane-pay/api.d.ts +1 -1
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
package/auctane-pay/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosInstance } from "axios";
|
|
2
2
|
import { ConfigResponse, CreateSessionRequest, CreateSessionResponse } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* # Auctane Pay API module - /
|
|
4
|
+
* # Auctane Pay API module - /v1/payments
|
|
5
5
|
*
|
|
6
6
|
* This module provides access to the Auctane Pay endpoints in ShipEngine API.
|
|
7
7
|
*/
|
package/index.js
CHANGED
|
@@ -250,7 +250,7 @@ class AuctanePayAPI {
|
|
|
250
250
|
* @returns a promise that resolves to the created session
|
|
251
251
|
*/
|
|
252
252
|
this.createSession = (request) => {
|
|
253
|
-
return this.client.post("/
|
|
253
|
+
return this.client.post("/v1/payments/sessions", request);
|
|
254
254
|
};
|
|
255
255
|
/**
|
|
256
256
|
* The `getConfig` method get the AuctanePay config, such as the "adyenClientKey"
|
|
@@ -258,7 +258,7 @@ class AuctanePayAPI {
|
|
|
258
258
|
* @returns a promise that returns the AuctanePay config
|
|
259
259
|
*/
|
|
260
260
|
this.getConfig = () => {
|
|
261
|
-
return this.client.get("/
|
|
261
|
+
return this.client.get("/v1/payments/config");
|
|
262
262
|
};
|
|
263
263
|
this.client = client;
|
|
264
264
|
}
|
package/index.mjs
CHANGED
|
@@ -246,7 +246,7 @@ class AuctanePayAPI {
|
|
|
246
246
|
* @returns a promise that resolves to the created session
|
|
247
247
|
*/
|
|
248
248
|
this.createSession = (request) => {
|
|
249
|
-
return this.client.post("/
|
|
249
|
+
return this.client.post("/v1/payments/sessions", request);
|
|
250
250
|
};
|
|
251
251
|
/**
|
|
252
252
|
* The `getConfig` method get the AuctanePay config, such as the "adyenClientKey"
|
|
@@ -254,7 +254,7 @@ class AuctanePayAPI {
|
|
|
254
254
|
* @returns a promise that returns the AuctanePay config
|
|
255
255
|
*/
|
|
256
256
|
this.getConfig = () => {
|
|
257
|
-
return this.client.get("/
|
|
257
|
+
return this.client.get("/v1/payments/config");
|
|
258
258
|
};
|
|
259
259
|
this.client = client;
|
|
260
260
|
}
|