Message: {
    data: {
        purchases: Purchase[];
    };
    type: "setPurchases";
} | {
    data: {
        purchases: Purchase[];
    };
    type: "purchasesUpdated";
} | {
    data: {
        purchase: Purchase;
    };
    type: "purchaseConsumed";
} | {
    data: {
        purchase: Purchase;
    };
    type: "onPriceChangeConfirmationResultOK" | "onPriceChangeConfirmationResultUserCanceled" | "onPriceChangeConfirmationResultUnknownSku";
}

Type declaration

  • data: {
        purchases: Purchase[];
    }
  • type: "setPurchases"

Type declaration

  • data: {
        purchases: Purchase[];
    }
  • type: "purchasesUpdated"

Type declaration

Type declaration

  • data: {
        purchase: Purchase;
    }
  • type: "onPriceChangeConfirmationResultOK" | "onPriceChangeConfirmationResultUserCanceled" | "onPriceChangeConfirmationResultUnknownSku"