Skip to content

Commit 417bac4

Browse files
committed
rename cart payment token input
1 parent 4f45bc6 commit 417bac4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/@shopify/checkout-sheet-kit/src/events.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ export interface CheckoutSubmitStart {
586586
/**
587587
* Payment token input for delegated payment processing.
588588
*/
589-
export interface CartPaymentTokenInput {
589+
export interface PaymentTokenInput {
590590
token: string;
591591
tokenType: string;
592592
tokenProvider: string;
@@ -603,7 +603,7 @@ export interface CheckoutSubmitStartResponse {
603603
/**
604604
* Optional payment token information for delegated payment processing.
605605
*/
606-
payment?: CartPaymentTokenInput;
606+
payment?: PaymentTokenInput;
607607
/**
608608
* Updated cart input with delivery addresses and optional buyer identity.
609609
*/

modules/@shopify/checkout-sheet-kit/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ export type {
505505
CartDeliveryAddressInput,
506506
CartDeliveryInput,
507507
CartInput,
508-
CartPaymentTokenInput,
508+
PaymentTokenInput,
509509
CheckoutSession,
510510
CheckoutAddressChangeStart,
511511
CheckoutAddressChangeStartResponse,

0 commit comments

Comments
 (0)