Skip to content

Commit ee53508

Browse files
committed
Upgrade cocoapod, update error codes
1 parent 01369d4 commit ee53508

File tree

3 files changed

+24
-26
lines changed

3 files changed

+24
-26
lines changed

modules/@shopify/checkout-sheet-kit/ios/ShopifyCheckoutSheetKit+EventSerialization.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ internal enum ShopifyEventSerialization {
112112
*/
113113
static func serialize(checkoutError error: CheckoutError) -> [String: Any] {
114114
switch error {
115-
case let .checkoutExpired(message, code, recoverable):
115+
case let .expired(message, code, recoverable):
116116
return [
117117
"__typename": "CheckoutExpiredError",
118118
"message": message,
119119
"code": code.rawValue,
120120
"recoverable": recoverable
121121
]
122122

123-
case let .checkoutUnavailable(message, code, recoverable):
123+
case let .unavailable(message, code, recoverable):
124124
switch code {
125125
case let .clientError(clientErrorCode):
126126
return [
@@ -139,15 +139,15 @@ internal enum ShopifyEventSerialization {
139139
]
140140
}
141141

142-
case let .configurationError(message, code, recoverable):
142+
case let .misconfiguration(message, code, recoverable):
143143
return [
144144
"__typename": "ConfigurationError",
145145
"message": message,
146146
"code": code.rawValue,
147147
"recoverable": recoverable
148148
]
149149

150-
case let .sdkError(underlying, recoverable):
150+
case let .internal(underlying, recoverable):
151151
return [
152152
"__typename": "InternalError",
153153
"code": "unknown",

sample/Gemfile.lock

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.7)
5-
base64
6-
nkf
7-
rexml
8-
activesupport (7.2.2.2)
4+
CFPropertyList (3.0.8)
5+
activesupport (7.2.3)
96
base64
107
benchmark (>= 0.3)
118
bigdecimal
@@ -17,15 +14,15 @@ GEM
1714
minitest (>= 5.1)
1815
securerandom (>= 0.3)
1916
tzinfo (~> 2.0, >= 2.0.5)
20-
addressable (2.8.7)
21-
public_suffix (>= 2.0.2, < 7.0)
17+
addressable (2.8.8)
18+
public_suffix (>= 2.0.2, < 8.0)
2219
algoliasearch (1.27.5)
2320
httpclient (~> 2.8, >= 2.8.3)
2421
json (>= 1.5.1)
2522
atomos (0.1.3)
2623
base64 (0.3.0)
27-
benchmark (0.4.1)
28-
bigdecimal (3.2.3)
24+
benchmark (0.5.0)
25+
bigdecimal (4.0.1)
2926
claide (1.1.0)
3027
cocoapods (1.15.2)
3128
addressable (~> 2.8)
@@ -68,7 +65,7 @@ GEM
6865
cocoapods-try (1.2.0)
6966
colored2 (3.1.2)
7067
concurrent-ruby (1.3.3)
71-
connection_pool (2.5.4)
68+
connection_pool (3.0.2)
7269
drb (2.2.3)
7370
escape (0.0.4)
7471
ethon (0.15.0)
@@ -81,15 +78,16 @@ GEM
8178
mutex_m
8279
i18n (1.14.7)
8380
concurrent-ruby (~> 1.0)
84-
json (2.15.0)
81+
json (2.18.0)
8582
logger (1.7.0)
86-
minitest (5.25.5)
83+
minitest (6.0.0)
84+
prism (~> 1.5)
8785
molinillo (0.8.0)
8886
mutex_m (0.3.0)
8987
nanaimo (0.3.0)
9088
nap (1.1.0)
9189
netrc (0.11.0)
92-
nkf (0.2.0)
90+
prism (1.7.0)
9391
public_suffix (4.0.7)
9492
rexml (3.4.4)
9593
ruby-macho (2.5.1)

sample/ios/Podfile.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2544,11 +2544,11 @@ PODS:
25442544
- ReactCommon/turbomodule/core
25452545
- SocketRocket
25462546
- Yoga
2547-
- ShopifyCheckoutSheetKit (3.4.0-rc.8):
2548-
- ShopifyCheckoutSheetKit/Core (= 3.4.0-rc.8)
2549-
- ShopifyCheckoutSheetKit/AcceleratedCheckouts (3.4.0-rc.8):
2547+
- ShopifyCheckoutSheetKit (3.4.0-rc.9):
2548+
- ShopifyCheckoutSheetKit/Core (= 3.4.0-rc.9)
2549+
- ShopifyCheckoutSheetKit/AcceleratedCheckouts (3.4.0-rc.9):
25502550
- ShopifyCheckoutSheetKit/Core
2551-
- ShopifyCheckoutSheetKit/Core (3.4.0-rc.8)
2551+
- ShopifyCheckoutSheetKit/Core (3.4.0-rc.9)
25522552
- SocketRocket (0.7.1)
25532553
- Yoga (0.0.0)
25542554

@@ -2595,7 +2595,7 @@ DEPENDENCIES:
25952595
- React-Mapbuffer (from `../../node_modules/react-native/ReactCommon`)
25962596
- React-microtasksnativemodule (from `../../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`)
25972597
- react-native-config (from `../node_modules/react-native-config`)
2598-
- react-native-safe-area-context (from `../../node_modules/react-native-safe-area-context`)
2598+
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
25992599
- React-NativeModulesApple (from `../../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
26002600
- React-oscompat (from `../../node_modules/react-native/ReactCommon/oscompat`)
26012601
- React-perflogger (from `../../node_modules/react-native/ReactCommon/reactperflogger`)
@@ -2630,7 +2630,7 @@ DEPENDENCIES:
26302630
- "RNCMaskedView (from `../node_modules/@react-native-masked-view/masked-view`)"
26312631
- RNGestureHandler (from `../../node_modules/react-native-gesture-handler`)
26322632
- RNReanimated (from `../node_modules/react-native-reanimated`)
2633-
- RNScreens (from `../../node_modules/react-native-screens`)
2633+
- RNScreens (from `../node_modules/react-native-screens`)
26342634
- "RNShopifyCheckoutSheetKit (from `../../modules/@shopify/checkout-sheet-kit`)"
26352635
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
26362636
- ShopifyCheckoutSheetKit (from `~/src/github.com/Shopify/checkout-sheet-kit-swift`)
@@ -2727,7 +2727,7 @@ EXTERNAL SOURCES:
27272727
react-native-config:
27282728
:path: "../node_modules/react-native-config"
27292729
react-native-safe-area-context:
2730-
:path: "../../node_modules/react-native-safe-area-context"
2730+
:path: "../node_modules/react-native-safe-area-context"
27312731
React-NativeModulesApple:
27322732
:path: "../../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios"
27332733
React-oscompat:
@@ -2797,7 +2797,7 @@ EXTERNAL SOURCES:
27972797
RNReanimated:
27982798
:path: "../node_modules/react-native-reanimated"
27992799
RNScreens:
2800-
:path: "../../node_modules/react-native-screens"
2800+
:path: "../node_modules/react-native-screens"
28012801
RNShopifyCheckoutSheetKit:
28022802
:path: "../../modules/@shopify/checkout-sheet-kit"
28032803
RNVectorIcons:
@@ -2887,7 +2887,7 @@ SPEC CHECKSUMS:
28872887
RNScreens: 26bb60cdb2ef2ca06fd87feefc495072f25982a7
28882888
RNShopifyCheckoutSheetKit: 26063fe3dfaed4a2f8ba0c6a5c92b8dfef15c1fb
28892889
RNVectorIcons: be4d047a76ad307ffe54732208fb0498fcb8477f
2890-
ShopifyCheckoutSheetKit: 8e1574805ee7b3043608c92f3cdbea3adf7079fa
2890+
ShopifyCheckoutSheetKit: 4941c60418f1da7637a73a3f1aa33f68304ce1d3
28912891
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
28922892
Yoga: a742cc68e8366fcfc681808162492bc0aa7a9498
28932893

0 commit comments

Comments
 (0)