@funkit/connect-rn 1.0.9 → 1.0.11
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 +11 -2
- package/dist/index.js.map +2 -2
- package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/src/logging/consoleLogTransport.d.ts +0 -10
- package/dist/src/logging/consoleLogTransport.d.ts.map +0 -1
- package/dist/src/statsig/StatsigProviderRN.d.ts +0 -7
- package/dist/src/statsig/StatsigProviderRN.d.ts.map +0 -1
- package/dist/src/statsig/useClientBootstrapInitRN.d.ts +0 -4
- package/dist/src/statsig/useClientBootstrapInitRN.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -3850,7 +3850,7 @@ function useFunkitFlow() {
|
|
|
3850
3850
|
}
|
|
3851
3851
|
|
|
3852
3852
|
// src/version.ts
|
|
3853
|
-
var CONNECT_RN_VERSION = true ? "1.0.
|
|
3853
|
+
var CONNECT_RN_VERSION = true ? "1.0.11" : "0.0.0-dev";
|
|
3854
3854
|
|
|
3855
3855
|
// src/providers/FunkitStatsigProvider.tsx
|
|
3856
3856
|
import {
|
|
@@ -4077,6 +4077,15 @@ function FunkitStatsigProvider({
|
|
|
4077
4077
|
// src/providers/FunkitProvider.tsx
|
|
4078
4078
|
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
4079
4079
|
var ANONYMOUS_CONFIG = { apiKey: "" };
|
|
4080
|
+
function createFallbackQueryClient() {
|
|
4081
|
+
return new QueryClient({
|
|
4082
|
+
defaultOptions: {
|
|
4083
|
+
queries: {
|
|
4084
|
+
staleTime: 6e4
|
|
4085
|
+
}
|
|
4086
|
+
}
|
|
4087
|
+
});
|
|
4088
|
+
}
|
|
4080
4089
|
function FunkitProvider({
|
|
4081
4090
|
children,
|
|
4082
4091
|
config,
|
|
@@ -4088,7 +4097,7 @@ function FunkitProvider({
|
|
|
4088
4097
|
copyToClipboard: copyToClipboard2
|
|
4089
4098
|
}) {
|
|
4090
4099
|
const fallbackClient = useRef7(void 0);
|
|
4091
|
-
fallbackClient.current ??=
|
|
4100
|
+
fallbackClient.current ??= createFallbackQueryClient();
|
|
4092
4101
|
const client = queryClient ?? fallbackClient.current;
|
|
4093
4102
|
const identity = useMemo10(
|
|
4094
4103
|
() => resolveFunkitIdentity(config ?? ANONYMOUS_CONFIG, walletAddress),
|