From 814f7bbbd3b264a3185995942e33000f11cdc92f Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Tue, 5 Mar 2024 10:57:24 +0000 Subject: [PATCH] Patch + add changelog entry --- CHANGELOG.md | 4 ++++ ShopifyCheckoutSheetKit.podspec | 2 +- Sources/ShopifyCheckoutSheetKit/CheckoutBridge.swift | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 180e94cc..c58fd2cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.2 - March 5, 2024 + +Fixes an issue with strongly held references to old Webview instances. + ## 1.0.1 - January 31, 2024 Bumps the package version. diff --git a/ShopifyCheckoutSheetKit.podspec b/ShopifyCheckoutSheetKit.podspec index c047276c..f3f8e3f1 100644 --- a/ShopifyCheckoutSheetKit.podspec +++ b/ShopifyCheckoutSheetKit.podspec @@ -1,5 +1,5 @@ Pod::Spec.new do |s| - s.version = "1.0.1" + s.version = "1.0.2" s.name = "ShopifyCheckoutSheetKit" s.summary = "Enables Swift apps to embed the Shopify's highest converting, customizable, one-page checkout." diff --git a/Sources/ShopifyCheckoutSheetKit/CheckoutBridge.swift b/Sources/ShopifyCheckoutSheetKit/CheckoutBridge.swift index 933a19b2..976b57f7 100644 --- a/Sources/ShopifyCheckoutSheetKit/CheckoutBridge.swift +++ b/Sources/ShopifyCheckoutSheetKit/CheckoutBridge.swift @@ -98,6 +98,8 @@ extension CheckoutBridge { let name = try container.decode(String.self, forKey: .name) + print("[EVENT] \(name)") + switch name { case "completed": self = .checkoutComplete