@shipengine/js-api 4.0.0 → 4.0.1

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.
@@ -24,16 +24,16 @@ export type AuctanePayTransactionCategory = "add_funds" | "subscription" | "stor
24
24
  * @category Entities
25
25
  */
26
26
  export interface CreateSessionRequest {
27
+ /**
28
+ * Category of the transaction
29
+ * @example "add_funds"
30
+ */
31
+ paymentPreferences: AuctanePayTransactionCategory[];
27
32
  /**
28
33
  * URL to redirect after payment session completion
29
34
  * @example "https://dashboard.shipengine.com/?sessionId=:id"
30
35
  */
31
36
  returnUrl?: string;
32
- /**
33
- * Category of the transaction
34
- * @example "add_funds"
35
- */
36
- transactionCategory: AuctanePayTransactionCategory;
37
37
  }
38
38
  /**
39
39
  * @category Entities
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/js-api",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {