@shipengine/alchemy 6.0.30 → 6.0.32
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 +7 -3
- package/index.mjs +7 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -16232,7 +16232,7 @@ class FundingSourcesAPI {
|
|
|
16232
16232
|
* user to update the billing address or payment information associated with the
|
|
16233
16233
|
* funding source.
|
|
16234
16234
|
*/
|
|
16235
|
-
this.update = (billingInfo, creditCardInfo, fundingSourceId) => __async$V(this, null, function* () {
|
|
16235
|
+
this.update = (billingInfo, creditCardInfo, auctanePayInfo, fundingSourceId) => __async$V(this, null, function* () {
|
|
16236
16236
|
const endUserIpAddress = yield getEndUserIpAddress();
|
|
16237
16237
|
if (!endUserIpAddress) {
|
|
16238
16238
|
return Promise.reject([new CodedError("Unable to get IP address")]);
|
|
@@ -16242,7 +16242,9 @@ class FundingSourcesAPI {
|
|
|
16242
16242
|
{
|
|
16243
16243
|
billingInfo,
|
|
16244
16244
|
endUserIpAddress,
|
|
16245
|
-
paymentMethod: {
|
|
16245
|
+
paymentMethod: __spreadValues$u({
|
|
16246
|
+
creditCardInfo
|
|
16247
|
+
}, auctanePayInfo)
|
|
16246
16248
|
}
|
|
16247
16249
|
);
|
|
16248
16250
|
});
|
|
@@ -35617,11 +35619,13 @@ const useUpdateFundingSource = () => {
|
|
|
35617
35619
|
mutationFn: (_0) => __async$B(void 0, [_0], function* ({
|
|
35618
35620
|
billingInfo,
|
|
35619
35621
|
creditCardInfo,
|
|
35620
|
-
fundingSourceId
|
|
35622
|
+
fundingSourceId,
|
|
35623
|
+
auctanePayInfo
|
|
35621
35624
|
}) {
|
|
35622
35625
|
const result = yield client.fundingSources.update(
|
|
35623
35626
|
billingInfo,
|
|
35624
35627
|
creditCardInfo,
|
|
35628
|
+
auctanePayInfo,
|
|
35625
35629
|
fundingSourceId
|
|
35626
35630
|
);
|
|
35627
35631
|
return result.data;
|
package/index.mjs
CHANGED
|
@@ -16210,7 +16210,7 @@ class FundingSourcesAPI {
|
|
|
16210
16210
|
* user to update the billing address or payment information associated with the
|
|
16211
16211
|
* funding source.
|
|
16212
16212
|
*/
|
|
16213
|
-
this.update = (billingInfo, creditCardInfo, fundingSourceId) => __async$V(this, null, function* () {
|
|
16213
|
+
this.update = (billingInfo, creditCardInfo, auctanePayInfo, fundingSourceId) => __async$V(this, null, function* () {
|
|
16214
16214
|
const endUserIpAddress = yield getEndUserIpAddress();
|
|
16215
16215
|
if (!endUserIpAddress) {
|
|
16216
16216
|
return Promise.reject([new CodedError("Unable to get IP address")]);
|
|
@@ -16220,7 +16220,9 @@ class FundingSourcesAPI {
|
|
|
16220
16220
|
{
|
|
16221
16221
|
billingInfo,
|
|
16222
16222
|
endUserIpAddress,
|
|
16223
|
-
paymentMethod: {
|
|
16223
|
+
paymentMethod: __spreadValues$u({
|
|
16224
|
+
creditCardInfo
|
|
16225
|
+
}, auctanePayInfo)
|
|
16224
16226
|
}
|
|
16225
16227
|
);
|
|
16226
16228
|
});
|
|
@@ -35595,11 +35597,13 @@ const useUpdateFundingSource = () => {
|
|
|
35595
35597
|
mutationFn: (_0) => __async$B(void 0, [_0], function* ({
|
|
35596
35598
|
billingInfo,
|
|
35597
35599
|
creditCardInfo,
|
|
35598
|
-
fundingSourceId
|
|
35600
|
+
fundingSourceId,
|
|
35601
|
+
auctanePayInfo
|
|
35599
35602
|
}) {
|
|
35600
35603
|
const result = yield client.fundingSources.update(
|
|
35601
35604
|
billingInfo,
|
|
35602
35605
|
creditCardInfo,
|
|
35606
|
+
auctanePayInfo,
|
|
35603
35607
|
fundingSourceId
|
|
35604
35608
|
);
|
|
35605
35609
|
return result.data;
|