react-native-vroom-chart 0.17.0 → 0.18.0

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/lib/index.mjs CHANGED
@@ -454,10 +454,11 @@ var EMPTY_FOOTPRINTS = footprintsToSpec({ prints: [] });
454
454
  var installed = false;
455
455
  function ensureInstalled() {
456
456
  if (installed) return;
457
- const ok = NativeVroomChart_default.install();
458
- if (!ok) throw new Error("VroomChartModule.install() returned false");
457
+ NativeVroomChart_default.install();
459
458
  if (typeof globalThis.VroomChartJSI === "undefined") {
460
- throw new Error("global.VroomChartJSI undefined after install()");
459
+ throw new Error(
460
+ "global.VroomChartJSI is undefined \u2014 VroomChartModule did not install its JSI bindings. This requires react-native >= 0.78 with the New Architecture enabled."
461
+ );
461
462
  }
462
463
  installed = true;
463
464
  }