@shipengine/alchemy 6.0.39 → 6.0.40

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.
Files changed (3) hide show
  1. package/index.js +2 -2
  2. package/index.mjs +2 -2
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -11052,7 +11052,7 @@ class AuctanePayAPI {
11052
11052
  * @returns a promise that resolves to the created session
11053
11053
  */
11054
11054
  this.createSession = (request) => {
11055
- return this.client.post("/internal/auctane_pay/sessions", request);
11055
+ return this.client.post("/v1/payments/sessions", request);
11056
11056
  };
11057
11057
  /**
11058
11058
  * The `getConfig` method get the AuctanePay config, such as the "adyenClientKey"
@@ -11060,7 +11060,7 @@ class AuctanePayAPI {
11060
11060
  * @returns a promise that returns the AuctanePay config
11061
11061
  */
11062
11062
  this.getConfig = () => {
11063
- return this.client.get("/internal/auctane_pay/config");
11063
+ return this.client.get("/v1/payments/config");
11064
11064
  };
11065
11065
  this.client = client;
11066
11066
  }
package/index.mjs CHANGED
@@ -11030,7 +11030,7 @@ class AuctanePayAPI {
11030
11030
  * @returns a promise that resolves to the created session
11031
11031
  */
11032
11032
  this.createSession = (request) => {
11033
- return this.client.post("/internal/auctane_pay/sessions", request);
11033
+ return this.client.post("/v1/payments/sessions", request);
11034
11034
  };
11035
11035
  /**
11036
11036
  * The `getConfig` method get the AuctanePay config, such as the "adyenClientKey"
@@ -11038,7 +11038,7 @@ class AuctanePayAPI {
11038
11038
  * @returns a promise that returns the AuctanePay config
11039
11039
  */
11040
11040
  this.getConfig = () => {
11041
- return this.client.get("/internal/auctane_pay/config");
11041
+ return this.client.get("/v1/payments/config");
11042
11042
  };
11043
11043
  this.client = client;
11044
11044
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/alchemy",
3
- "version": "6.0.39",
3
+ "version": "6.0.40",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {