anymal-protocol 1.0.87 → 1.0.89
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/dist/index.js +7 -1
- package/dist/index.mjs +7 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1739,7 +1739,7 @@ function useProcessPartialKibblePayment() {
|
|
|
1739
1739
|
timeout: 3e4,
|
|
1740
1740
|
retryCount: 10
|
|
1741
1741
|
});
|
|
1742
|
-
return { success: true, message: receipt };
|
|
1742
|
+
return { success: true, message: receipt.userOpHash };
|
|
1743
1743
|
} catch (error) {
|
|
1744
1744
|
const errorMessage = error instanceof Error ? error.message : "An unknown error occurred";
|
|
1745
1745
|
return {
|
|
@@ -2552,6 +2552,12 @@ function useSubmitContractAction() {
|
|
|
2552
2552
|
if (isWishlistPurchaseAction(payload)) {
|
|
2553
2553
|
sourceTypePayload = {
|
|
2554
2554
|
...basisType,
|
|
2555
|
+
orderId: payload.orderId,
|
|
2556
|
+
totalSpent: payload.totalSpent,
|
|
2557
|
+
paymentTxId: payload.paymentTxId,
|
|
2558
|
+
paymentSource: payload.paymentSource,
|
|
2559
|
+
kibblePaymentTxId: payload.kibblePaymentTxId,
|
|
2560
|
+
lineItems: payload.lineItems || [],
|
|
2555
2561
|
wishlistId: payload.wishlistId
|
|
2556
2562
|
};
|
|
2557
2563
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1676,7 +1676,7 @@ function useProcessPartialKibblePayment() {
|
|
|
1676
1676
|
timeout: 3e4,
|
|
1677
1677
|
retryCount: 10
|
|
1678
1678
|
});
|
|
1679
|
-
return { success: true, message: receipt };
|
|
1679
|
+
return { success: true, message: receipt.userOpHash };
|
|
1680
1680
|
} catch (error) {
|
|
1681
1681
|
const errorMessage = error instanceof Error ? error.message : "An unknown error occurred";
|
|
1682
1682
|
return {
|
|
@@ -2409,6 +2409,12 @@ function useSubmitContractAction() {
|
|
|
2409
2409
|
if (isWishlistPurchaseAction(payload)) {
|
|
2410
2410
|
sourceTypePayload = {
|
|
2411
2411
|
...basisType,
|
|
2412
|
+
orderId: payload.orderId,
|
|
2413
|
+
totalSpent: payload.totalSpent,
|
|
2414
|
+
paymentTxId: payload.paymentTxId,
|
|
2415
|
+
paymentSource: payload.paymentSource,
|
|
2416
|
+
kibblePaymentTxId: payload.kibblePaymentTxId,
|
|
2417
|
+
lineItems: payload.lineItems || [],
|
|
2412
2418
|
wishlistId: payload.wishlistId
|
|
2413
2419
|
};
|
|
2414
2420
|
}
|
package/package.json
CHANGED