@namiml/expo-sdk 3.4.0-dev.202605191719 → 3.4.0-dev.202605191927

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.
package/dist/index.cjs CHANGED
@@ -227,6 +227,18 @@ class ExpoUIAdapter {
227
227
  flowNavigateToScreen(paywall, options) {
228
228
  this.flowNavListener?.(paywall, options);
229
229
  }
230
+ /**
231
+ * Drop all registered listener refs. Called from `Nami.reset()` via the
232
+ * IUIAdapter contract so the singleton adapter doesn't hold stale
233
+ * closures from a pre-reset NamiView/PaywallView mount. If a NamiView
234
+ * is still mounted when reset runs, it will re-register its listeners
235
+ * on the next effect cycle.
236
+ */
237
+ onReset() {
238
+ this.paywallListener = null;
239
+ this.reRenderListener = null;
240
+ this.flowNavListener = null;
241
+ }
230
242
  }
231
243
 
232
244
  function getExpoNamiIap() {