@openfort/react 1.1.0 → 1.1.1
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.
|
@@ -12,11 +12,16 @@ import { isFamily } from '../../utils/wallets.js';
|
|
|
12
12
|
import { OpenfortContext, UIContext } from './context.js';
|
|
13
13
|
import { UIAuthProvider, routes, defaultSendFormState, defaultBuyFormState, notStoredInHistoryRoutes } from './types.js';
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
// These chunks are lazy-loaded with static specifiers so every bundler (Vite, Rollup, webpack)
|
|
16
|
+
// can resolve and code-split them. Do NOT add a vite-ignore hint to these imports: it makes
|
|
17
|
+
// Vite's dependency pre-bundler keep the import external, so the relative path resolves against
|
|
18
|
+
// node_modules/.vite/deps instead of the package and the provider fails to load in dev
|
|
19
|
+
// ("Failed to resolve import ../../solana/SolanaContext.js"), blanking any Vite app.
|
|
20
|
+
const SolanaContextProvider = lazy(() => import('../../solana/SolanaContext.js').then((m) => ({ default: m.SolanaContextProvider })));
|
|
21
|
+
const LazyEmbeddedWalletWagmiSync = lazy(() => import('../../wagmi/useEmbeddedWalletWagmiSync.js').then((m) => ({
|
|
17
22
|
default: m.EmbeddedWalletWagmiSync,
|
|
18
23
|
})));
|
|
19
|
-
const LazyConnectKitModal = lazy(() => import(
|
|
24
|
+
const LazyConnectKitModal = lazy(() => import('../ConnectModal/index.js'));
|
|
20
25
|
let openfortProviderWarnedNoWagmi = false;
|
|
21
26
|
/**
|
|
22
27
|
* Root provider for Openfort. Wrap your app with this to enable connect modal, auth, and wallet features.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenfortProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OpenfortProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const OPENFORT_VERSION = "1.1.
|
|
1
|
+
export declare const OPENFORT_VERSION = "1.1.1";
|
package/build/version.js
CHANGED