@base316/react 0.5.2 → 0.6.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/dist/index.js CHANGED
@@ -642,12 +642,13 @@ function Base316Provider({
642
642
  onTokenChange,
643
643
  appearance: appearance2,
644
644
  tenant,
645
+ organizationId,
645
646
  className,
646
647
  children
647
648
  }) {
648
649
  const client = useMemo(
649
- () => new Base316Browser({ publishableKey, baseUrl }),
650
- [publishableKey, baseUrl]
650
+ () => new Base316Browser({ publishableKey, baseUrl, organizationId: organizationId ?? void 0 }),
651
+ [publishableKey, baseUrl, organizationId]
651
652
  );
652
653
  useEffect(() => {
653
654
  if (document.getElementById(STYLE_ELEMENT_ID)) {