@openfort/react 1.0.8 → 1.0.9

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.
@@ -14,7 +14,6 @@ import { ConnectorsContainer, ConnectorButton, ConnectorIcon, ConnectorLabel, Re
14
14
 
15
15
  const ConnectorList = () => {
16
16
  const context = useOpenfort();
17
- const isMobile = useIsMobile();
18
17
  const wallets = useExternalConnectors();
19
18
  const { lastConnectorId } = useLastConnector();
20
19
  const familyConnector = useFamilyConnector();
@@ -31,7 +30,7 @@ const ConnectorList = () => {
31
30
  ...wallets.filter((wallet) => lastConnectorId === wallet.connector.id && wallet.id !== embeddedWalletId),
32
31
  ...wallets.filter((wallet) => lastConnectorId !== wallet.connector.id && wallet.id !== embeddedWalletId),
33
32
  ];
34
- return (jsxs(ScrollArea, { mobileDirection: 'horizontal', children: [filteredWallets.length === 0 && jsx(Alert, { error: true, children: "No connectors found in Openfort config." }), filteredWallets.length > 0 && (jsx(ConnectorsContainer, { "$mobile": isMobile, "$totalResults": walletsToDisplay.length, children: filteredWallets.map((wallet) => (jsx(ConnectorItem, { wallet: wallet, isRecent: wallet.id === lastConnectorId }, wallet.id))) }))] }));
33
+ return (jsxs(ScrollArea, { mobileDirection: 'horizontal', children: [filteredWallets.length === 0 && jsx(Alert, { error: true, children: "No connectors found in Openfort config." }), filteredWallets.length > 0 && (jsx(ConnectorsContainer, { "$mobile": false, "$totalResults": walletsToDisplay.length, children: filteredWallets.map((wallet) => (jsx(ConnectorItem, { wallet: wallet, isRecent: wallet.id === lastConnectorId }, wallet.id))) }))] }));
35
34
  };
36
35
  const ConnectorItem = ({ wallet, isRecent }) => {
37
36
  var _a;
@@ -44,9 +43,9 @@ const ConnectorItem = ({ wallet, isRecent }) => {
44
43
  return (jsxs(Fragment, { children: [jsx(ConnectorIcon, { "data-small": wallet.iconShouldShrink, "data-shape": wallet.iconShape, children: (_a = wallet.iconConnector) !== null && _a !== void 0 ? _a : wallet.icon }), jsxs(ConnectorLabel, { children: [isMobile ? ((_b = wallet.shortName) !== null && _b !== void 0 ? _b : wallet.name) : wallet.name, !context.uiConfig.hideRecentBadge && isRecent && (jsx(RecentlyUsedTag, { children: jsx("span", { children: "Recent" }) }))] })] }));
45
44
  };
46
45
  return (jsx(ConnectorButton, { type: "button", onClick: async () => {
47
- // Disconnect if the same connector is selected, otherwise wagmi won't trigger the connection flow
48
- // Disconnect for wallet connect to work
49
- if (bridge && (wallet.id === 'walletConnect' || wallet.id === (connector === null || connector === void 0 ? void 0 : connector.id))) {
46
+ var _a;
47
+ // Only disconnect if actually connected and switching connectors or reconnecting WC
48
+ if (((_a = bridge === null || bridge === void 0 ? void 0 : bridge.account) === null || _a === void 0 ? void 0 : _a.isConnected) && (wallet.id === 'walletConnect' || wallet.id === (connector === null || connector === void 0 ? void 0 : connector.id))) {
50
49
  await bridge.disconnect();
51
50
  }
52
51
  context.setRoute({ route: routes.CONNECT, connectType: 'linkIfUserConnectIfNoUser' });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
- import { useEffect, useState, useCallback } from 'react';
2
+ import { useEffect, useState, useCallback, useRef } from 'react';
3
3
  import { useEthereumBridge } from '../../ethereum/OpenfortEthereumBridgeContext.js';
4
4
  import { useWalletConnectModal } from '../../hooks/useWalletConnectModal.js';
5
5
  import 'detect-browser';
@@ -46,6 +46,7 @@ const ConnectWithWalletConnect = () => {
46
46
  const wallet = useExternalConnector(connector.id);
47
47
  const { open: openWalletConnectModal } = useWalletConnectModal();
48
48
  const [error, setError] = useState(undefined);
49
+ const hasOpenedRef = useRef(false);
49
50
  const openModal = useCallback(async () => {
50
51
  setError(undefined);
51
52
  const { error } = await openWalletConnectModal();
@@ -53,6 +54,9 @@ const ConnectWithWalletConnect = () => {
53
54
  setError(error);
54
55
  }, [openWalletConnectModal]);
55
56
  useEffect(() => {
57
+ if (hasOpenedRef.current)
58
+ return;
59
+ hasOpenedRef.current = true;
56
60
  openModal();
57
61
  }, [openModal]);
58
62
  return (jsx(PageContent, { children: jsx(Loader, { header: error ? 'Error connecting wallet.' : `Connecting...`, icon: wallet === null || wallet === void 0 ? void 0 : wallet.icon, isError: !!error, description: error, onRetry: openModal }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectWithQRCode.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ConnectWithQRCode.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -32,9 +32,10 @@ let openfortProviderWarnedNoWagmi = false;
32
32
  * ```
33
33
  */
34
34
  const OpenfortProvider = ({ children, uiConfig, onConnect, onDisconnect, debugMode, publishableKey, walletConfig, overrides, thirdPartyAuth, }) => {
35
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
35
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
36
36
  const bridge = useContext(OpenfortEthereumBridgeContext);
37
37
  const hasWagmi = !!bridge;
38
+ const hasExternalWallets = (_b = (_a = bridge === null || bridge === void 0 ? void 0 : bridge.connectors) === null || _a === void 0 ? void 0 : _a.some((c) => c.id === 'walletConnect')) !== null && _b !== void 0 ? _b : false;
38
39
  const hasSolana = !!(walletConfig === null || walletConfig === void 0 ? void 0 : walletConfig.solana);
39
40
  // Only allow for mounting OpenfortProvider once, so we avoid weird global
40
41
  // state collisions.
@@ -61,7 +62,7 @@ const OpenfortProvider = ({ children, uiConfig, onConnect, onDisconnect, debugMo
61
62
  logger.enabled = result.openfortReactDebugMode;
62
63
  return result;
63
64
  }, [debugMode]);
64
- const injectedConnector = (_a = bridge === null || bridge === void 0 ? void 0 : bridge.connectors) === null || _a === void 0 ? void 0 : _a.find((c) => c.id === 'injected');
65
+ const injectedConnector = (_c = bridge === null || bridge === void 0 ? void 0 : bridge.connectors) === null || _c === void 0 ? void 0 : _c.find((c) => c.id === 'injected');
65
66
  const allowAutomaticRecovery = !!((walletConfig === null || walletConfig === void 0 ? void 0 : walletConfig.createEncryptedSessionEndpoint) || (walletConfig === null || walletConfig === void 0 ? void 0 : walletConfig.getEncryptionSession));
66
67
  const defaultUIOptions = useMemo(() => ({
67
68
  appName: 'Openfort',
@@ -93,19 +94,19 @@ const OpenfortProvider = ({ children, uiConfig, onConnect, onDisconnect, debugMo
93
94
  allowedMethods: [RecoveryMethod.PASSWORD, ...(allowAutomaticRecovery ? [RecoveryMethod.AUTOMATIC] : [])],
94
95
  defaultMethod: allowAutomaticRecovery ? RecoveryMethod.AUTOMATIC : RecoveryMethod.PASSWORD,
95
96
  },
96
- authProviders: hasWagmi
97
+ authProviders: hasExternalWallets
97
98
  ? [UIAuthProvider.GUEST, UIAuthProvider.EMAIL_OTP, UIAuthProvider.WALLET, UIAuthProvider.GOOGLE]
98
99
  : [UIAuthProvider.GUEST, UIAuthProvider.EMAIL_OTP, UIAuthProvider.GOOGLE],
99
- }), [allowAutomaticRecovery, hasWagmi]);
100
+ }), [allowAutomaticRecovery, hasExternalWallets]);
100
101
  const safeUiConfig = useMemo(() => {
101
102
  var _a, _b, _c, _d, _e;
102
103
  const merged = { ...defaultUIOptions, ...uiConfig };
103
104
  let authProviders = (_a = merged.authProviders) !== null && _a !== void 0 ? _a : defaultUIOptions.authProviders;
104
- if (!hasWagmi && authProviders.includes(UIAuthProvider.WALLET)) {
105
+ if (!hasExternalWallets && authProviders.includes(UIAuthProvider.WALLET)) {
105
106
  authProviders = authProviders.filter((p) => p !== UIAuthProvider.WALLET);
106
107
  if (process.env.NODE_ENV === 'development' && !openfortProviderWarnedNoWagmi) {
107
108
  openfortProviderWarnedNoWagmi = true;
108
- logger.warn('[@openfort/react] UIAuthProvider.WALLET was removed from authProviders because no Wagmi bridge is present. Add OpenfortWagmiBridge to enable external wallet sign-in.');
109
+ logger.warn('[@openfort/react] UIAuthProvider.WALLET was removed from authProviders because no WalletConnect connector is present. Pass walletConnectProjectId to getDefaultConfig/getDefaultConnectors to enable external wallet sign-in.');
109
110
  }
110
111
  }
111
112
  const walletRecovery = {
@@ -117,15 +118,15 @@ const OpenfortProvider = ({ children, uiConfig, onConnect, onDisconnect, debugMo
117
118
  logger.warn('Automatic recovery method was removed from allowedMethods because no recovery options are configured in the walletConfig. Please provide either createEncryptedSessionEndpoint or getEncryptionSession to enable automatic recovery.');
118
119
  }
119
120
  return { ...merged, authProviders, walletRecovery };
120
- }, [defaultUIOptions, uiConfig, hasWagmi, allowAutomaticRecovery]);
121
+ }, [defaultUIOptions, uiConfig, hasExternalWallets, allowAutomaticRecovery]);
121
122
  useEffect(() => {
122
123
  if (typeof window !== 'undefined' && safeUiConfig.bufferPolyfill && !window.Buffer) {
123
124
  window.Buffer = Buffer;
124
125
  }
125
126
  }, [safeUiConfig.bufferPolyfill]);
126
- const [ckTheme, setTheme] = useState((_b = safeUiConfig.theme) !== null && _b !== void 0 ? _b : 'auto');
127
- const [ckMode, setMode] = useState((_c = safeUiConfig.mode) !== null && _c !== void 0 ? _c : 'auto');
128
- const [ckCustomTheme, setCustomTheme] = useState((_d = safeUiConfig.customTheme) !== null && _d !== void 0 ? _d : {});
127
+ const [ckTheme, setTheme] = useState((_d = safeUiConfig.theme) !== null && _d !== void 0 ? _d : 'auto');
128
+ const [ckMode, setMode] = useState((_e = safeUiConfig.mode) !== null && _e !== void 0 ? _e : 'auto');
129
+ const [ckCustomTheme, setCustomTheme] = useState((_f = safeUiConfig.customTheme) !== null && _f !== void 0 ? _f : {});
129
130
  const [ckLang, setLang] = useState('en-US');
130
131
  const [open, setOpenWithoutHistory] = useState(false);
131
132
  const initialConnector = { id: '' };
@@ -138,7 +139,7 @@ const OpenfortProvider = ({ children, uiConfig, onConnect, onDisconnect, debugMo
138
139
  const [sendForm, setSendForm] = useState(defaultSendFormState);
139
140
  const [buyForm, setBuyForm] = useState(defaultBuyFormState);
140
141
  const [headerLeftSlot, setHeaderLeftSlot] = useState(null);
141
- const [chainType, setChainType] = useState((_e = walletConfig === null || walletConfig === void 0 ? void 0 : walletConfig.chainType) !== null && _e !== void 0 ? _e : ChainTypeEnum.EVM);
142
+ const [chainType, setChainType] = useState((_g = walletConfig === null || walletConfig === void 0 ? void 0 : walletConfig.chainType) !== null && _g !== void 0 ? _g : ChainTypeEnum.EVM);
142
143
  const setOpen = useCallback((value) => {
143
144
  if (value) {
144
145
  setRouteHistory([]);
@@ -170,10 +171,10 @@ const OpenfortProvider = ({ children, uiConfig, onConnect, onDisconnect, debugMo
170
171
  return chainIds.map((id) => buildChainFromConfig(id, rpcUrls));
171
172
  }
172
173
  return [];
173
- }, [(_f = bridge === null || bridge === void 0 ? void 0 : bridge.switchChain) === null || _f === void 0 ? void 0 : _f.chains, (_g = walletConfig === null || walletConfig === void 0 ? void 0 : walletConfig.ethereum) === null || _g === void 0 ? void 0 : _g.rpcUrls, (_h = walletConfig === null || walletConfig === void 0 ? void 0 : walletConfig.ethereum) === null || _h === void 0 ? void 0 : _h.chainId]);
174
+ }, [(_h = bridge === null || bridge === void 0 ? void 0 : bridge.switchChain) === null || _h === void 0 ? void 0 : _h.chains, (_j = walletConfig === null || walletConfig === void 0 ? void 0 : walletConfig.ethereum) === null || _j === void 0 ? void 0 : _j.rpcUrls, (_k = walletConfig === null || walletConfig === void 0 ? void 0 : walletConfig.ethereum) === null || _k === void 0 ? void 0 : _k.chainId]);
174
175
  const chain = bridge === null || bridge === void 0 ? void 0 : bridge.account.chain;
175
- const isConnected = (_j = bridge === null || bridge === void 0 ? void 0 : bridge.account.isConnected) !== null && _j !== void 0 ? _j : false;
176
- const isChainSupported = !(chain === null || chain === void 0 ? void 0 : chain.id) || ((_l = (_k = bridge === null || bridge === void 0 ? void 0 : bridge.config.chains) === null || _k === void 0 ? void 0 : _k.some((c) => c.id === chain.id)) !== null && _l !== void 0 ? _l : false);
176
+ const isConnected = (_l = bridge === null || bridge === void 0 ? void 0 : bridge.account.isConnected) !== null && _l !== void 0 ? _l : false;
177
+ const isChainSupported = !(chain === null || chain === void 0 ? void 0 : chain.id) || ((_o = (_m = bridge === null || bridge === void 0 ? void 0 : bridge.config.chains) === null || _m === void 0 ? void 0 : _m.some((c) => c.id === chain.id)) !== null && _o !== void 0 ? _o : false);
177
178
  useEffect(() => {
178
179
  if (hasWagmi && isConnected && safeUiConfig.enforceSupportedChains && !isChainSupported) {
179
180
  setOpen(true);
@@ -335,7 +336,7 @@ const OpenfortProvider = ({ children, uiConfig, onConnect, onDisconnect, debugMo
335
336
  }, children: JSON.stringify(routeHistory.map((item) => Object.fromEntries(Object.entries(item).map(([key, value]) => [
336
337
  key,
337
338
  typeof value === 'object' && value !== null ? '[object]' : value,
338
- ]))), null, 2) })), children, jsx(Suspense, { fallback: null, children: jsx(LazyConnectKitModal, { lang: ckLang, theme: ckTheme, mode: (_m = safeUiConfig.mode) !== null && _m !== void 0 ? _m : ckMode, customTheme: ckCustomTheme }) })] }));
339
+ ]))), null, 2) })), children, jsx(Suspense, { fallback: null, children: jsx(LazyConnectKitModal, { lang: ckLang, theme: ckTheme, mode: (_p = safeUiConfig.mode) !== null && _p !== void 0 ? _p : ckMode, customTheme: ckCustomTheme }) })] }));
339
340
  return (jsx(UIContext.Provider, { value: connectUIValue, children: jsx(OpenfortContext.Provider, { value: value, children: jsx(CoreOpenfortProvider, { openfortConfig: {
340
341
  baseConfiguration: { publishableKey },
341
342
  shieldConfiguration: walletConfig
@@ -1 +1 @@
1
- {"version":3,"file":"OpenfortProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"OpenfortProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,8 +1,8 @@
1
1
  export declare function useWalletConnectModal(): {
2
2
  isOpen: boolean;
3
3
  open: () => Promise<{
4
- error: string;
5
- } | {
6
4
  error?: undefined;
5
+ } | {
6
+ error: string;
7
7
  }>;
8
8
  };
@@ -1,4 +1,4 @@
1
- import { useState } from 'react';
1
+ import { useState, useRef, useCallback } from 'react';
2
2
  import { useEthereumBridge } from '../ethereum/OpenfortEthereumBridgeContext.js';
3
3
  import { isWalletConnectConnector } from '../utils/index.js';
4
4
  import { logger } from '../utils/logger.js';
@@ -6,53 +6,58 @@ import { logger } from '../utils/logger.js';
6
6
  function useWalletConnectModal() {
7
7
  const bridge = useEthereumBridge();
8
8
  const [isOpen, setIsOpen] = useState(false);
9
- return {
10
- isOpen,
11
- open: async () => {
12
- var _a;
13
- const w3mcss = document.createElement('style');
14
- w3mcss.textContent = `w3m-modal, wcm-modal{ --wcm-z-index: 2147483647; --w3m-z-index:2147483647; }`;
15
- document.head.appendChild(w3mcss);
16
- const removeChild = () => {
17
- if (document.head.contains(w3mcss)) {
18
- document.head.removeChild(w3mcss);
19
- }
20
- };
21
- const connectors = (_a = bridge === null || bridge === void 0 ? void 0 : bridge.connectors) !== null && _a !== void 0 ? _a : [];
22
- const clientConnector = connectors.find((c) => isWalletConnectConnector(c.id));
23
- if (clientConnector && (bridge === null || bridge === void 0 ? void 0 : bridge.connectAsync)) {
24
- try {
25
- setIsOpen(true);
26
- try {
27
- await bridge.connectAsync({ connector: clientConnector });
28
- }
29
- catch (err) {
30
- logger.log('WalletConnect', err);
31
- return {
32
- error: 'Connection failed',
33
- };
34
- }
35
- setIsOpen(false);
36
- removeChild();
37
- return {};
38
- }
39
- catch (err) {
40
- logger.log('Could not get WalletConnect provider', err);
41
- removeChild();
42
- return {
43
- error: 'Could not get WalletConnect provider',
44
- };
45
- }
9
+ const bridgeRef = useRef(bridge);
10
+ bridgeRef.current = bridge;
11
+ const connectingRef = useRef(false);
12
+ const open = useCallback(async () => {
13
+ var _a;
14
+ if (connectingRef.current)
15
+ return {};
16
+ connectingRef.current = true;
17
+ const currentBridge = bridgeRef.current;
18
+ const w3mcss = document.createElement('style');
19
+ w3mcss.textContent = `w3m-modal, wcm-modal{ --wcm-z-index: 2147483647; --w3m-z-index:2147483647; }`;
20
+ document.head.appendChild(w3mcss);
21
+ const removeChild = () => {
22
+ if (document.head.contains(w3mcss)) {
23
+ document.head.removeChild(w3mcss);
46
24
  }
47
- else {
25
+ };
26
+ const connectors = (_a = currentBridge === null || currentBridge === void 0 ? void 0 : currentBridge.connectors) !== null && _a !== void 0 ? _a : [];
27
+ const clientConnector = connectors.find((c) => isWalletConnectConnector(c.id));
28
+ if (clientConnector && (currentBridge === null || currentBridge === void 0 ? void 0 : currentBridge.connectAsync)) {
29
+ try {
30
+ currentBridge.reset();
31
+ setIsOpen(true);
32
+ await currentBridge.connectAsync({ connector: clientConnector });
33
+ setIsOpen(false);
48
34
  removeChild();
49
- logger.log('Configuration error: Please provide a WalletConnect Project ID in your wagmi config.');
50
- return {
51
- error: 'Configuration error: Please provide a WalletConnect Project ID in your wagmi config.',
52
- };
35
+ connectingRef.current = false;
36
+ return {};
53
37
  }
54
- },
55
- };
38
+ catch (err) {
39
+ setIsOpen(false);
40
+ removeChild();
41
+ connectingRef.current = false;
42
+ const message = err instanceof Error ? err.message : String(err);
43
+ if (message.includes('Connection request reset')) {
44
+ currentBridge.reset();
45
+ return { error: 'Connection cancelled' };
46
+ }
47
+ logger.log('WalletConnect', err);
48
+ return { error: 'Connection failed' };
49
+ }
50
+ }
51
+ else {
52
+ removeChild();
53
+ connectingRef.current = false;
54
+ logger.log('Configuration error: Please provide a WalletConnect Project ID in your wagmi config.');
55
+ return {
56
+ error: 'Configuration error: Please provide a WalletConnect Project ID in your wagmi config.',
57
+ };
58
+ }
59
+ }, []);
60
+ return { isOpen, open };
56
61
  }
57
62
 
58
63
  export { useWalletConnectModal };
@@ -1 +1 @@
1
- {"version":3,"file":"useWalletConnectModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"useWalletConnectModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- export declare const OPENFORT_VERSION = "1.0.8";
1
+ export declare const OPENFORT_VERSION = "1.0.9";
package/build/version.js CHANGED
@@ -1,4 +1,4 @@
1
- const OPENFORT_VERSION = '1.0.8';
1
+ const OPENFORT_VERSION = '1.0.9';
2
2
 
3
3
  export { OPENFORT_VERSION };
4
4
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfort/react",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "author": "Openfort (https://www.openfort.io)",
5
5
  "license": "BSD-2-Clause license",
6
6
  "description": "The easiest way to integrate Openfort to your project.",