rampkit-expo-dev 0.0.12 → 0.0.13

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.
@@ -158,10 +158,16 @@ function hideRampkitOverlay() {
158
158
  activeCloseHandler = null;
159
159
  }
160
160
  function closeRampkitOverlay() {
161
- if (activeCloseHandler) {
162
- activeCloseHandler();
163
- return;
161
+ // Try to drive the same animated close path as in the onboarding-finished event
162
+ try {
163
+ if (activeCloseHandler) {
164
+ activeCloseHandler();
165
+ }
166
+ }
167
+ catch (_) {
168
+ // fall through to hard hide
164
169
  }
170
+ // Always fall back to a hard hide so the overlay is guaranteed to disappear
165
171
  hideRampkitOverlay();
166
172
  }
167
173
  function preloadRampkitOverlay(opts) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rampkit-expo-dev",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "The Expo SDK for RampKit. Build, test, and personalize app onboardings with instant updates.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",