@shipengine/alchemy 6.0.44 → 6.0.45
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/index.js +4 -1
- package/index.mjs +4 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -16277,7 +16277,7 @@ class FundingSourcesAPI {
|
|
|
16277
16277
|
* user to update the billing address or payment information associated with the
|
|
16278
16278
|
* funding source.
|
|
16279
16279
|
*/
|
|
16280
|
-
this.update = (billingInfo, creditCardInfo, auctanePayInfo, fundingSourceId) => __async$Z(this, null, function* () {
|
|
16280
|
+
this.update = (billingInfo, creditCardInfo, bankAccountInfo, auctanePayInfo, fundingSourceId) => __async$Z(this, null, function* () {
|
|
16281
16281
|
const endUserIpAddress = yield getEndUserIpAddress();
|
|
16282
16282
|
if (!endUserIpAddress) {
|
|
16283
16283
|
return Promise.reject([new CodedError("Unable to get IP address")]);
|
|
@@ -16288,6 +16288,7 @@ class FundingSourcesAPI {
|
|
|
16288
16288
|
billingInfo,
|
|
16289
16289
|
endUserIpAddress,
|
|
16290
16290
|
paymentMethod: __spreadValues$D({
|
|
16291
|
+
bankAccountInfo,
|
|
16291
16292
|
creditCardInfo
|
|
16292
16293
|
}, auctanePayInfo)
|
|
16293
16294
|
}
|
|
@@ -35793,12 +35794,14 @@ const useUpdateFundingSource = () => {
|
|
|
35793
35794
|
mutationFn: (_0) => __async$E(void 0, [_0], function* ({
|
|
35794
35795
|
billingInfo,
|
|
35795
35796
|
creditCardInfo,
|
|
35797
|
+
bankAccountInfo,
|
|
35796
35798
|
fundingSourceId,
|
|
35797
35799
|
auctanePayInfo
|
|
35798
35800
|
}) {
|
|
35799
35801
|
const result = yield client.fundingSources.update(
|
|
35800
35802
|
billingInfo,
|
|
35801
35803
|
creditCardInfo,
|
|
35804
|
+
bankAccountInfo,
|
|
35802
35805
|
auctanePayInfo,
|
|
35803
35806
|
fundingSourceId
|
|
35804
35807
|
);
|
package/index.mjs
CHANGED
|
@@ -16255,7 +16255,7 @@ class FundingSourcesAPI {
|
|
|
16255
16255
|
* user to update the billing address or payment information associated with the
|
|
16256
16256
|
* funding source.
|
|
16257
16257
|
*/
|
|
16258
|
-
this.update = (billingInfo, creditCardInfo, auctanePayInfo, fundingSourceId) => __async$Z(this, null, function* () {
|
|
16258
|
+
this.update = (billingInfo, creditCardInfo, bankAccountInfo, auctanePayInfo, fundingSourceId) => __async$Z(this, null, function* () {
|
|
16259
16259
|
const endUserIpAddress = yield getEndUserIpAddress();
|
|
16260
16260
|
if (!endUserIpAddress) {
|
|
16261
16261
|
return Promise.reject([new CodedError("Unable to get IP address")]);
|
|
@@ -16266,6 +16266,7 @@ class FundingSourcesAPI {
|
|
|
16266
16266
|
billingInfo,
|
|
16267
16267
|
endUserIpAddress,
|
|
16268
16268
|
paymentMethod: __spreadValues$D({
|
|
16269
|
+
bankAccountInfo,
|
|
16269
16270
|
creditCardInfo
|
|
16270
16271
|
}, auctanePayInfo)
|
|
16271
16272
|
}
|
|
@@ -35771,12 +35772,14 @@ const useUpdateFundingSource = () => {
|
|
|
35771
35772
|
mutationFn: (_0) => __async$E(void 0, [_0], function* ({
|
|
35772
35773
|
billingInfo,
|
|
35773
35774
|
creditCardInfo,
|
|
35775
|
+
bankAccountInfo,
|
|
35774
35776
|
fundingSourceId,
|
|
35775
35777
|
auctanePayInfo
|
|
35776
35778
|
}) {
|
|
35777
35779
|
const result = yield client.fundingSources.update(
|
|
35778
35780
|
billingInfo,
|
|
35779
35781
|
creditCardInfo,
|
|
35782
|
+
bankAccountInfo,
|
|
35780
35783
|
auctanePayInfo,
|
|
35781
35784
|
fundingSourceId
|
|
35782
35785
|
);
|