@shipengine/alchemy 6.0.49 → 6.0.51
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 +1 -4
- package/index.mjs +1 -4
- 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,
|
|
16280
|
+
this.update = (billingInfo, creditCardInfo, 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,7 +16288,6 @@ class FundingSourcesAPI {
|
|
|
16288
16288
|
billingInfo,
|
|
16289
16289
|
endUserIpAddress,
|
|
16290
16290
|
paymentMethod: __spreadValues$E({
|
|
16291
|
-
bankAccountInfo,
|
|
16292
16291
|
creditCardInfo
|
|
16293
16292
|
}, auctanePayInfo)
|
|
16294
16293
|
}
|
|
@@ -35831,14 +35830,12 @@ const useUpdateFundingSource = () => {
|
|
|
35831
35830
|
mutationFn: (_0) => __async$E(void 0, [_0], function* ({
|
|
35832
35831
|
billingInfo,
|
|
35833
35832
|
creditCardInfo,
|
|
35834
|
-
bankAccountInfo,
|
|
35835
35833
|
fundingSourceId,
|
|
35836
35834
|
auctanePayInfo
|
|
35837
35835
|
}) {
|
|
35838
35836
|
const result = yield client.fundingSources.update(
|
|
35839
35837
|
billingInfo,
|
|
35840
35838
|
creditCardInfo,
|
|
35841
|
-
bankAccountInfo,
|
|
35842
35839
|
auctanePayInfo,
|
|
35843
35840
|
fundingSourceId
|
|
35844
35841
|
);
|
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,
|
|
16258
|
+
this.update = (billingInfo, creditCardInfo, 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,7 +16266,6 @@ class FundingSourcesAPI {
|
|
|
16266
16266
|
billingInfo,
|
|
16267
16267
|
endUserIpAddress,
|
|
16268
16268
|
paymentMethod: __spreadValues$E({
|
|
16269
|
-
bankAccountInfo,
|
|
16270
16269
|
creditCardInfo
|
|
16271
16270
|
}, auctanePayInfo)
|
|
16272
16271
|
}
|
|
@@ -35809,14 +35808,12 @@ const useUpdateFundingSource = () => {
|
|
|
35809
35808
|
mutationFn: (_0) => __async$E(void 0, [_0], function* ({
|
|
35810
35809
|
billingInfo,
|
|
35811
35810
|
creditCardInfo,
|
|
35812
|
-
bankAccountInfo,
|
|
35813
35811
|
fundingSourceId,
|
|
35814
35812
|
auctanePayInfo
|
|
35815
35813
|
}) {
|
|
35816
35814
|
const result = yield client.fundingSources.update(
|
|
35817
35815
|
billingInfo,
|
|
35818
35816
|
creditCardInfo,
|
|
35819
|
-
bankAccountInfo,
|
|
35820
35817
|
auctanePayInfo,
|
|
35821
35818
|
fundingSourceId
|
|
35822
35819
|
);
|