@blitzjs/next
Advanced tools
Comparing version 0.0.0-fix-infinite-loop-20230817074830 to 0.0.0-fix-windows-rpc-20240104043406
import * as blitz from 'blitz'; | ||
import { ClientPlugin, Ctx } from 'blitz'; | ||
import { QueryClient, HydrateOptions } from '@blitzjs/rpc'; | ||
import { QueryClient } from '@blitzjs/rpc'; | ||
import * as React from 'react'; | ||
@@ -10,2 +10,3 @@ import React__default, { ReactNode } from 'react'; | ||
export { Routes } from '.blitz'; | ||
export { BlitzProvider } from './provider.js'; | ||
import { ExcludeRouterProps } from 'next/dist/client/with-router'; | ||
@@ -23,11 +24,2 @@ import { NextPageContext } from 'next'; | ||
declare type BlitzProviderProps = { | ||
children: JSX.Element; | ||
client?: QueryClient; | ||
contextSharing?: boolean; | ||
dehydratedState?: unknown; | ||
hydrateOptions?: HydrateOptions; | ||
}; | ||
declare const BlitzProvider: ({ client, contextSharing, dehydratedState, hydrateOptions, children, }: BlitzProviderProps) => JSX.Element; | ||
interface ErrorFallbackProps { | ||
@@ -95,5 +87,5 @@ error: Error & Record<any, any>; | ||
declare type ReturnTypes = "string" | "number" | "array"; | ||
declare function extractQueryFromAsPath(asPath: string): Record<string, string | string[]>; | ||
declare function extractQueryFromAsPath(asPath?: string): Record<string, string | string[]>; | ||
declare function useRouterQuery(): Record<string, string | string[]>; | ||
declare function extractRouterParams(routerQuery: ParsedUrlQuery, asPathQuery: ParsedUrlQuery): { | ||
declare function extractRouterParams(routerQuery: ParsedUrlQuery | undefined, asPathQuery: ParsedUrlQuery): { | ||
[k: string]: string | string[] | undefined; | ||
@@ -151,2 +143,2 @@ }; | ||
export { AppProps, BlitzLayout, BlitzPage, BlitzProvider, ErrorBoundary, ErrorBoundaryProps, ErrorBoundaryPropsWithComponent, ErrorBoundaryPropsWithFallback, ErrorBoundaryPropsWithRender, ErrorComponent, ErrorFallbackProps, ErrorProps, NoPageFlicker, RouterContext, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary }; | ||
export { AppProps, BlitzLayout, BlitzPage, ErrorBoundary, ErrorBoundaryProps, ErrorBoundaryPropsWithComponent, ErrorBoundaryPropsWithFallback, ErrorBoundaryPropsWithRender, ErrorComponent, ErrorFallbackProps, ErrorProps, NoPageFlicker, RouterContext, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary }; |
@@ -8,4 +8,5 @@ import * as tslog from 'tslog'; | ||
import { PreviewData } from 'next/types'; | ||
export { AppProps, BlitzLayout, BlitzPage, BlitzProvider, ErrorBoundary, ErrorBoundaryProps, ErrorBoundaryPropsWithComponent, ErrorBoundaryPropsWithFallback, ErrorBoundaryPropsWithRender, ErrorComponent, ErrorFallbackProps, ErrorProps, NoPageFlicker, RouterContext, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary } from './index-browser.js'; | ||
export { AppProps, BlitzLayout, BlitzPage, ErrorBoundary, ErrorBoundaryProps, ErrorBoundaryPropsWithComponent, ErrorBoundaryPropsWithFallback, ErrorBoundaryPropsWithRender, ErrorComponent, ErrorFallbackProps, ErrorProps, NoPageFlicker, RouterContext, extractQueryFromAsPath, extractRouterParams, setupBlitzClient, useErrorHandler, useParam, useParams, useRouterQuery, withErrorBoundary } from './index-browser.js'; | ||
export { Routes } from '.blitz'; | ||
export { BlitzProvider } from './provider.js'; | ||
import 'react'; | ||
@@ -12,0 +13,0 @@ import 'url'; |
{ | ||
"name": "@blitzjs/next", | ||
"version": "0.0.0-fix-infinite-loop-20230817074830", | ||
"version": "0.0.0-fix-windows-rpc-20240104043406", | ||
"homepage": "https://blitzjs.com/", | ||
@@ -22,3 +22,3 @@ "repository": { | ||
"dependencies": { | ||
"@blitzjs/rpc": "0.0.0-fix-infinite-loop-20230817074830", | ||
"@blitzjs/rpc": "0.0.0-fix-windows-rpc-20240104043406", | ||
"@types/hoist-non-react-statics": "3.3.1", | ||
@@ -32,9 +32,9 @@ "debug": "4.3.3", | ||
"peerDependencies": { | ||
"blitz": "0.0.0-fix-infinite-loop-20230817074830", | ||
"blitz": "0.0.0-fix-windows-rpc-20240104043406", | ||
"next": "*", | ||
"react": "*", | ||
"tslog": "*" | ||
"tslog": "4.9.0" | ||
}, | ||
"devDependencies": { | ||
"@blitzjs/config": "0.0.0-fix-infinite-loop-20230817074830", | ||
"@blitzjs/config": "0.0.0-fix-windows-rpc-20240104043406", | ||
"@testing-library/dom": "8.13.0", | ||
@@ -50,6 +50,6 @@ "@testing-library/jest-dom": "5.16.3", | ||
"@types/testing-library__react-hooks": "4.0.0", | ||
"blitz": "0.0.0-fix-infinite-loop-20230817074830", | ||
"blitz": "0.0.0-fix-windows-rpc-20240104043406", | ||
"cross-spawn": "7.0.3", | ||
"find-up": "4.1.0", | ||
"next": "13.3.0", | ||
"next": "14.0.4", | ||
"next-router-mock": "0.9.1", | ||
@@ -56,0 +56,0 @@ "react": "18.2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
104327
25
2396
+ Added@blitzjs/rpc@0.0.0-fix-windows-rpc-20240104043406(transitive)
+ Addedblitz@0.0.0-fix-windows-rpc-20240104043406(transitive)
- Removed@blitzjs/rpc@0.0.0-fix-infinite-loop-20230817074830(transitive)
- Removedblitz@0.0.0-fix-infinite-loop-20230817074830(transitive)
- Removedtslog@4.9.3(transitive)