@plaidev/karte-action-sdk 1.1.270-29379017.f453cc451 → 1.1.270-29402162.208d0b23e

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.
@@ -11239,8 +11239,8 @@ function useClickable(props = {}) {
11239
11239
  if (eventName) send_event(eventName, eventValue);
11240
11240
  execOnClickOperation(onClick);
11241
11241
  }
11242
- function getFixedElement({ onClick, element: element$1 }) {
11243
- if (!onClick) return element$1 ?? "div";
11242
+ function getFixedElement({ onClick, element: element$1 = "div" }) {
11243
+ if (!onClick) return element$1;
11244
11244
  switch (onClick.operation) {
11245
11245
  case "linkTo":
11246
11246
  case "callNativeFunction": return "a";
package/dist/index.es.js CHANGED
@@ -10346,8 +10346,8 @@ function useClickable(props = {}) {
10346
10346
  if (eventName) send_event(eventName, eventValue);
10347
10347
  execOnClickOperation(onClick);
10348
10348
  }
10349
- function getFixedElement({ onClick, element: element$1 }) {
10350
- if (!onClick) return element$1 ?? "div";
10349
+ function getFixedElement({ onClick, element: element$1 = "div" }) {
10350
+ if (!onClick) return element$1;
10351
10351
  switch (onClick.operation) {
10352
10352
  case "linkTo":
10353
10353
  case "callNativeFunction": return "a";
@@ -3876,8 +3876,8 @@ function useClickable(props = {}) {
3876
3876
  if (eventName) send_event(eventName, eventValue);
3877
3877
  execOnClickOperation(onClick);
3878
3878
  }
3879
- function getFixedElement({ onClick, element }) {
3880
- if (!onClick) return element ?? "div";
3879
+ function getFixedElement({ onClick, element = "div" }) {
3880
+ if (!onClick) return element;
3881
3881
  switch (onClick.operation) {
3882
3882
  case "linkTo":
3883
3883
  case "callNativeFunction": return "a";
@@ -3845,8 +3845,8 @@ function useClickable(props = {}) {
3845
3845
  if (eventName) send_event(eventName, eventValue);
3846
3846
  execOnClickOperation(onClick);
3847
3847
  }
3848
- function getFixedElement({ onClick, element }) {
3849
- if (!onClick) return element ?? "div";
3848
+ function getFixedElement({ onClick, element = "div" }) {
3849
+ if (!onClick) return element;
3850
3850
  switch (onClick.operation) {
3851
3851
  case "linkTo":
3852
3852
  case "callNativeFunction": return "a";
@@ -3845,8 +3845,8 @@ function useClickable(props = {}) {
3845
3845
  if (eventName) send_event(eventName, eventValue);
3846
3846
  execOnClickOperation(onClick);
3847
3847
  }
3848
- function getFixedElement({ onClick, element }) {
3849
- if (!onClick) return element ?? "div";
3848
+ function getFixedElement({ onClick, element = "div" }) {
3849
+ if (!onClick) return element;
3850
3850
  switch (onClick.operation) {
3851
3851
  case "linkTo":
3852
3852
  case "callNativeFunction": return "a";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.270-29379017.f453cc451",
3
+ "version": "1.1.270-29402162.208d0b23e",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",