@revenuecat/purchases-ui-js 3.11.2 → 3.11.3

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.
@@ -10,7 +10,7 @@
10
10
  const props: InputOptionProps = $props();
11
11
  const { stack, option_id } = props;
12
12
 
13
- const { onButtonAction, onInputChanged } = getPaywallContext();
13
+ const { onButtonAction } = getPaywallContext();
14
14
  const inputChoiceContext = getInputChoiceContext();
15
15
 
16
16
  // Derive selected state from context (similar to Package)
@@ -41,13 +41,6 @@
41
41
  // Update selection state
42
42
  inputChoiceContext?.selectOption(option_id);
43
43
 
44
- // Notify host (e.g. workflows) so selections can be persisted when every option shares
45
- // the same workflow `on_press` id (e.g. `btn_*`); `onActionTriggered` alone is ambiguous.
46
- const fieldId = inputChoiceContext?.fieldId;
47
- if (fieldId) {
48
- onInputChanged?.(fieldId, option_id);
49
- }
50
-
51
44
  // Trigger navigation
52
45
  onButtonAction({ type: "workflow" }, actionId);
53
46
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@revenuecat/purchases-ui-js",
3
3
  "description": "Web components for Paywalls. Powered by RevenueCat",
4
4
  "private": false,
5
- "version": "3.11.2",
5
+ "version": "3.11.3",
6
6
  "author": {
7
7
  "name": "RevenueCat, Inc."
8
8
  },