@shipengine/react-api 3.11.0 → 3.12.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.
@@ -1,7 +1,12 @@
1
1
  import { SE } from "@shipengine/js-api";
2
2
  export type UpdateFundingSourceData = {
3
+ /** (Optional) AuctanePay Session info */
4
+ auctanePayInfo?: SE.AuctanePayInfo;
5
+ /** Billing info used for the Funding Source */
3
6
  billingInfo: SE.FundingSourceAddress;
4
- creditCardInfo: SE.CreditCardInfo;
7
+ /** (Optional) CreditCardIng used the funding source */
8
+ creditCardInfo?: SE.CreditCardInfo;
9
+ /** The ID of the Funding Source to be updated */
5
10
  fundingSourceId: string;
6
11
  };
7
12
  /**
package/index.js CHANGED
@@ -1005,11 +1005,13 @@ const useUpdateFundingSource = () => {
1005
1005
  mutationFn: (_0) => __async$A(void 0, [_0], function* ({
1006
1006
  billingInfo,
1007
1007
  creditCardInfo,
1008
- fundingSourceId
1008
+ fundingSourceId,
1009
+ auctanePayInfo
1009
1010
  }) {
1010
1011
  const result = yield client.fundingSources.update(
1011
1012
  billingInfo,
1012
1013
  creditCardInfo,
1014
+ auctanePayInfo,
1013
1015
  fundingSourceId
1014
1016
  );
1015
1017
  return result.data;
package/index.mjs CHANGED
@@ -1002,11 +1002,13 @@ const useUpdateFundingSource = () => {
1002
1002
  mutationFn: (_0) => __async$A(void 0, [_0], function* ({
1003
1003
  billingInfo,
1004
1004
  creditCardInfo,
1005
- fundingSourceId
1005
+ fundingSourceId,
1006
+ auctanePayInfo
1006
1007
  }) {
1007
1008
  const result = yield client.fundingSources.update(
1008
1009
  billingInfo,
1009
1010
  creditCardInfo,
1011
+ auctanePayInfo,
1010
1012
  fundingSourceId
1011
1013
  );
1012
1014
  return result.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/react-api",
3
- "version": "3.11.0",
3
+ "version": "3.12.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {