@cedarjs/web 7.0.0 → 8.0.0-canary.3263
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/apollo/ApolloClientFactoryContext.d.ts +26 -0
- package/dist/apollo/ApolloClientFactoryContext.d.ts.map +1 -0
- package/dist/apollo/ApolloClientFactoryContext.js +5 -0
- package/dist/apollo/ApolloProviderWithFetchConfig.d.ts +9 -3
- package/dist/apollo/ApolloProviderWithFetchConfig.d.ts.map +1 -1
- package/dist/apollo/ApolloProviderWithFetchConfig.js +60 -37
- package/dist/apollo/CedarApolloProvider.d.ts +1 -0
- package/dist/apollo/CedarApolloProvider.d.ts.map +1 -1
- package/dist/apollo/CedarApolloProvider.js +13 -6
- package/dist/apollo/apolloLinkTypes.d.ts +9 -4
- package/dist/apollo/apolloLinkTypes.d.ts.map +1 -1
- package/dist/apollo/fragmentRegistry.d.ts +3 -3
- package/dist/apollo/fragmentRegistry.d.ts.map +1 -1
- package/dist/apollo/fragmentRegistry.js +35 -8
- package/dist/apollo/index.d.ts +4 -0
- package/dist/apollo/index.d.ts.map +1 -1
- package/dist/apollo/index.js +3 -1
- package/dist/apollo/links.d.ts +6 -5
- package/dist/apollo/links.d.ts.map +1 -1
- package/dist/apollo/links.js +14 -9
- package/dist/apollo/parsedScalars.d.ts +36 -0
- package/dist/apollo/parsedScalars.d.ts.map +1 -0
- package/dist/apollo/parsedScalars.js +75 -0
- package/dist/apollo/sseLink.d.ts +5 -8
- package/dist/apollo/sseLink.d.ts.map +1 -1
- package/dist/apollo/sseLink.js +9 -12
- package/dist/apollo/suspense.d.ts +5 -3
- package/dist/apollo/suspense.d.ts.map +1 -1
- package/dist/apollo/suspense.js +35 -7
- package/dist/apollo/typeOverrides.d.ts +8 -0
- package/dist/apollo/typeOverrides.d.ts.map +1 -0
- package/dist/apollo/typeOverrides.js +0 -0
- package/dist/apollo/useCache.d.ts +4 -6
- package/dist/apollo/useCache.d.ts.map +1 -1
- package/dist/apollo/useCache.js +1 -1
- package/dist/apollo/useCreateApolloClient.d.ts +11 -0
- package/dist/apollo/useCreateApolloClient.d.ts.map +1 -0
- package/dist/apollo/useCreateApolloClient.js +14 -0
- package/dist/bundled/apollo-upload-client.d.ts +2 -2
- package/dist/bundled/apollo-upload-client.d.ts.map +1 -1
- package/dist/bundled/apollo-upload-client.js +1562 -1734
- package/dist/components/DevFatalErrorPage.d.ts +3 -3
- package/dist/components/DevFatalErrorPage.d.ts.map +1 -1
- package/dist/components/DevFatalErrorPage.js +66 -49
- package/dist/components/FatalErrorBoundary.d.ts +1 -1
- package/dist/components/cell/CellErrorBoundary.d.ts +3 -3
- package/dist/components/cell/CellErrorBoundary.d.ts.map +1 -1
- package/dist/components/cell/cellTypes.d.ts +51 -18
- package/dist/components/cell/cellTypes.d.ts.map +1 -1
- package/dist/components/cell/createCell.d.ts +2 -1
- package/dist/components/cell/createCell.d.ts.map +1 -1
- package/dist/components/cell/createCell.js +65 -60
- package/dist/components/cell/createFragmentCell.d.ts +2 -1
- package/dist/components/cell/createFragmentCell.d.ts.map +1 -1
- package/dist/components/cell/createFragmentCell.js +4 -2
- package/dist/components/cell/createServerCell.d.ts +3 -2
- package/dist/components/cell/createServerCell.d.ts.map +1 -1
- package/dist/components/cell/createServerCell.js +4 -2
- package/dist/components/cell/createSuspendingCell.d.ts +2 -1
- package/dist/components/cell/createSuspendingCell.d.ts.map +1 -1
- package/dist/components/cell/createSuspendingCell.js +37 -34
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -5
- package/dist/server/middleware.d.ts +1 -1
- package/dist/server/middleware.d.ts.map +1 -1
- package/package.json +20 -26
- package/apollo/index.js +0 -1
- package/apollo/package.json +0 -5
- package/toast/index.js +0 -1
- package/toast/package.json +0 -5
|
@@ -26,9 +26,11 @@ function createServerCell(createCellProps) {
|
|
|
26
26
|
try {
|
|
27
27
|
const data = await dataFn(variables);
|
|
28
28
|
if (isEmpty(data, { isDataEmpty }) && Empty) {
|
|
29
|
-
|
|
29
|
+
const emptyProps = { ...props, ...data };
|
|
30
|
+
return /* @__PURE__ */ React.createElement(Empty, { ...emptyProps });
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
+
const successProps = { ...data, ...props };
|
|
33
|
+
return /* @__PURE__ */ React.createElement(Success, { ...successProps });
|
|
32
34
|
} catch (error) {
|
|
33
35
|
return /* @__PURE__ */ React.createElement(FailureComponent, { error });
|
|
34
36
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { OperationVariables } from '@apollo/client';
|
|
2
3
|
import type { CreateCellProps } from './cellTypes.js';
|
|
3
4
|
type AnyObj = Record<string, unknown>;
|
|
4
5
|
/**
|
|
@@ -6,6 +7,6 @@ type AnyObj = Record<string, unknown>;
|
|
|
6
7
|
* using the hooks useBackgroundQuery and useReadQuery
|
|
7
8
|
*
|
|
8
9
|
*/
|
|
9
|
-
export declare function createSuspendingCell<CellProps extends AnyObj, CellVariables extends
|
|
10
|
+
export declare function createSuspendingCell<CellProps extends AnyObj, CellVariables extends OperationVariables = OperationVariables, GQLResult = any>(createCellProps: CreateCellProps<AnyObj, CellVariables, GQLResult>): React.FC<CellProps>;
|
|
10
11
|
export {};
|
|
11
12
|
//# sourceMappingURL=createSuspendingCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSuspendingCell.d.ts","sourceRoot":"","sources":["../../../src/components/cell/createSuspendingCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"createSuspendingCell.d.ts","sourceRoot":"","sources":["../../../src/components/cell/createSuspendingCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAWxD,OAAO,KAAK,EAEV,eAAe,EAIhB,MAAM,gBAAgB,CAAA;AAGvB,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AACrC;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,SAAS,MAAM,EACxB,aAAa,SAAS,kBAAkB,GAAG,kBAAkB,EAC7D,SAAS,GAAG,GAAG,EAEf,eAAe,EAAE,eAAe,CAAC,MAAM,EAAE,aAAa,EAAE,SAAS,CAAC,GACjE,KAAK,CAAC,EAAE,CAAC,SAAS,CAAC,CAkNrB"}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import React, { Suspense } from "react";
|
|
2
|
+
import { CombinedGraphQLErrors } from "@apollo/client";
|
|
2
3
|
import {
|
|
3
4
|
useApolloClient,
|
|
4
5
|
useBackgroundQuery,
|
|
5
6
|
useReadQuery
|
|
6
|
-
} from "@apollo/client/react
|
|
7
|
+
} from "@apollo/client/react";
|
|
7
8
|
import { CellErrorBoundary } from "./CellErrorBoundary.js";
|
|
8
9
|
import { isDataEmpty } from "./isCellEmpty.js";
|
|
9
10
|
function createSuspendingCell(createCellProps) {
|
|
10
11
|
const {
|
|
11
12
|
QUERY,
|
|
13
|
+
// Unlike in createCell this is destructured from a variable rather than
|
|
14
|
+
// from an annotated parameter, so the default's return type has to be
|
|
15
|
+
// spelled out. Without it the inferred object literal type widens the
|
|
16
|
+
// union and options like `skip` are no longer visible on it
|
|
12
17
|
beforeQuery = (props) => ({
|
|
13
18
|
// By default, we assume that the props are the gql-variables.
|
|
14
19
|
variables: props,
|
|
@@ -44,31 +49,36 @@ function createSuspendingCell(createCellProps) {
|
|
|
44
49
|
networkStatus
|
|
45
50
|
};
|
|
46
51
|
if (isEmpty(data, { isDataEmpty }) && Empty) {
|
|
47
|
-
|
|
48
|
-
Empty,
|
|
49
|
-
{
|
|
50
|
-
...userProps,
|
|
51
|
-
...afterQueryData,
|
|
52
|
-
queryResult: queryResultWithNetworkStatus
|
|
53
|
-
}
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
return /* @__PURE__ */ React.createElement(
|
|
57
|
-
Success,
|
|
58
|
-
{
|
|
59
|
-
...afterQueryData,
|
|
52
|
+
const emptyProps = {
|
|
60
53
|
...userProps,
|
|
54
|
+
...afterQueryData,
|
|
61
55
|
queryResult: queryResultWithNetworkStatus
|
|
62
|
-
}
|
|
63
|
-
|
|
56
|
+
};
|
|
57
|
+
return /* @__PURE__ */ React.createElement(Empty, { ...emptyProps });
|
|
58
|
+
}
|
|
59
|
+
const successProps = {
|
|
60
|
+
...afterQueryData,
|
|
61
|
+
...userProps,
|
|
62
|
+
queryResult: queryResultWithNetworkStatus
|
|
63
|
+
};
|
|
64
|
+
return /* @__PURE__ */ React.createElement(Success, { ...successProps });
|
|
64
65
|
}
|
|
65
66
|
SuspendingSuccess.displayName = displayName;
|
|
66
67
|
return (props) => {
|
|
67
68
|
const { children: _, ...variables } = props;
|
|
68
69
|
const options = beforeQuery(variables);
|
|
69
|
-
const
|
|
70
|
-
const
|
|
70
|
+
const queryOptions = typeof options === "symbol" ? void 0 : options;
|
|
71
|
+
const skipped = !queryOptions || queryOptions.skip === true;
|
|
72
|
+
const query = typeof cellQuery === "function" ? cellQuery(queryOptions ?? {}) : cellQuery;
|
|
73
|
+
const backgroundQueryOptions = options;
|
|
74
|
+
const [queryRef, other] = useBackgroundQuery(
|
|
75
|
+
query,
|
|
76
|
+
backgroundQueryOptions
|
|
77
|
+
);
|
|
71
78
|
const client = useApolloClient();
|
|
79
|
+
if (skipped || !queryRef) {
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
72
82
|
const suspenseQueryResult = {
|
|
73
83
|
client,
|
|
74
84
|
...other,
|
|
@@ -77,7 +87,7 @@ function createSuspendingCell(createCellProps) {
|
|
|
77
87
|
const FailureComponent = ({ error, resetErrorBoundary }) => {
|
|
78
88
|
if (!Failure) {
|
|
79
89
|
if (error) {
|
|
80
|
-
throw error;
|
|
90
|
+
throw error instanceof Error ? error : new Error(error.message);
|
|
81
91
|
}
|
|
82
92
|
throw new Error("Unreachable code: FailureComponent without a Failure");
|
|
83
93
|
}
|
|
@@ -88,26 +98,19 @@ function createSuspendingCell(createCellProps) {
|
|
|
88
98
|
return suspenseQueryResult.refetch?.(variables2);
|
|
89
99
|
}
|
|
90
100
|
};
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
);
|
|
101
|
+
const failureProps = {
|
|
102
|
+
error,
|
|
103
|
+
errorCode: CombinedGraphQLErrors.is(error) ? error.errors[0]?.extensions?.["code"] : void 0,
|
|
104
|
+
queryResult: queryResultWithErrorReset
|
|
105
|
+
};
|
|
106
|
+
return /* @__PURE__ */ React.createElement(Failure, { ...failureProps });
|
|
99
107
|
};
|
|
100
108
|
const wrapInSuspenseIfLoadingPresent = (suspendingSuccessElement, LoadingComponent) => {
|
|
101
109
|
if (!LoadingComponent) {
|
|
102
110
|
return suspendingSuccessElement;
|
|
103
111
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
{
|
|
107
|
-
fallback: /* @__PURE__ */ React.createElement(LoadingComponent, { ...props, queryResult: suspenseQueryResult })
|
|
108
|
-
},
|
|
109
|
-
suspendingSuccessElement
|
|
110
|
-
);
|
|
112
|
+
const loadingProps = { ...props, queryResult: suspenseQueryResult };
|
|
113
|
+
return /* @__PURE__ */ React.createElement(Suspense, { fallback: /* @__PURE__ */ React.createElement(LoadingComponent, { ...loadingProps }) }, suspendingSuccessElement);
|
|
111
114
|
};
|
|
112
115
|
return /* @__PURE__ */ React.createElement(CellErrorBoundary, { renderFallback: FailureComponent }, wrapInSuspenseIfLoadingPresent(
|
|
113
116
|
/* @__PURE__ */ React.createElement(
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import './global.web-auto-imports.js';
|
|
2
|
+
import './apollo/typeOverrides.js';
|
|
2
3
|
import './config.js';
|
|
3
4
|
export { FatalErrorBoundary } from './components/FatalErrorBoundary.js';
|
|
4
5
|
export { FetchConfigProvider, useFetchConfig, } from './components/FetchConfigProvider.js';
|
|
5
|
-
export { useQuery, useMutation, useSubscription
|
|
6
|
+
export { useQuery, useMutation, useSubscription } from '@apollo/client/react';
|
|
6
7
|
export { useFragment } from './apollo/fragmentRegistry.js';
|
|
7
8
|
export type { FragmentHookOptions, FragmentHookResult, } from './apollo/fragmentRegistry.js';
|
|
8
9
|
export * from './components/cell/CellCacheContext.js';
|
|
9
10
|
export { createCell } from './components/cell/createCell.js';
|
|
10
11
|
export { createFragmentCell } from './components/cell/createFragmentCell.js';
|
|
11
|
-
export type { CellProps, CellFailureProps, CellLoadingProps, CellSuccessProps, CellSuccessData, } from './components/cell/cellTypes.js';
|
|
12
|
+
export type { CellProps, CellFailureProps, CellLoadingProps, CellSuccessProps, CellSuccessData, CellBeforeQueryOptions, CellBeforeQueryResult, DataObject, } from './components/cell/cellTypes.js';
|
|
12
13
|
export * from './graphql.js';
|
|
13
14
|
export * from './components/CedarProvider.js';
|
|
14
15
|
export * from './components/MetaTags.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAA;AACrC,OAAO,aAAa,CAAA;AAEpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAA;AAEvE,OAAO,EACL,mBAAmB,EACnB,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAA;AACrC,OAAO,2BAA2B,CAAA;AAClC,OAAO,aAAa,CAAA;AAEpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAA;AAEvE,OAAO,EACL,mBAAmB,EACnB,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,YAAY,EACV,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,8BAA8B,CAAA;AAErC,cAAc,uCAAuC,CAAA;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAA;AAE5E,YAAY,EACV,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACrB,UAAU,GACX,MAAM,gCAAgC,CAAA;AAEvC,cAAc,cAAc,CAAA;AAE5B,cAAc,+BAA+B,CAAA;AAE7C,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,MAAM,IAAI,IAAI,EAAE,MAAM,EAAE,CAAA;AAEjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,uBAAuB,CAAA;AAErC,cAAc,8BAA8B,CAAA;AAE5C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import "./global.web-auto-imports.js";
|
|
2
|
+
import "./apollo/typeOverrides.js";
|
|
2
3
|
import "./config.js";
|
|
3
4
|
import { FatalErrorBoundary } from "./components/FatalErrorBoundary.js";
|
|
4
5
|
import {
|
|
5
6
|
FetchConfigProvider,
|
|
6
7
|
useFetchConfig
|
|
7
8
|
} from "./components/FetchConfigProvider.js";
|
|
8
|
-
import {
|
|
9
|
-
useQuery,
|
|
10
|
-
useMutation,
|
|
11
|
-
useSubscription
|
|
12
|
-
} from "@apollo/client/react/hooks/hooks.cjs";
|
|
9
|
+
import { useQuery, useMutation, useSubscription } from "@apollo/client/react";
|
|
13
10
|
import { useFragment } from "./apollo/fragmentRegistry.js";
|
|
14
11
|
export * from "./components/cell/CellCacheContext.js";
|
|
15
12
|
import { createCell } from "./components/cell/createCell.js";
|
|
@@ -8,7 +8,7 @@ export type MiddlewareInvokeOptions = {
|
|
|
8
8
|
route?: RWRouteManifestItem;
|
|
9
9
|
cssPaths?: string[];
|
|
10
10
|
params?: Record<string, unknown>;
|
|
11
|
-
|
|
11
|
+
viteSsrDevServer?: ViteDevServer;
|
|
12
12
|
};
|
|
13
13
|
export type Middleware = (req: MiddlewareRequest, res: MiddlewareResponse, options?: MiddlewareInvokeOptions) => Promise<MiddlewareResponse> | MiddlewareResponse | void;
|
|
14
14
|
export interface MiddlewareClass {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/server/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAIzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAE3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAEjE,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AAEvC,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,CAAC,EAAE,mBAAmB,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,
|
|
1
|
+
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/server/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAIzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAE3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAEjE,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AAEvC,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,CAAC,EAAE,mBAAmB,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,gBAAgB,CAAC,EAAE,aAAa,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,CACvB,GAAG,EAAE,iBAAiB,EACtB,GAAG,EAAE,kBAAkB,EACvB,OAAO,CAAC,EAAE,uBAAuB,KAC9B,OAAO,CAAC,kBAAkB,CAAC,GAAG,kBAAkB,GAAG,IAAI,CAAA;AAE5D,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,UAAU,CAAA;CACnB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-canary.3263",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -63,9 +63,7 @@
|
|
|
63
63
|
"tsc": "./dist/bins/tsc.js"
|
|
64
64
|
},
|
|
65
65
|
"files": [
|
|
66
|
-
"dist"
|
|
67
|
-
"apollo",
|
|
68
|
-
"toast"
|
|
66
|
+
"dist"
|
|
69
67
|
],
|
|
70
68
|
"scripts": {
|
|
71
69
|
"build": "node ./build.ts",
|
|
@@ -80,49 +78,45 @@
|
|
|
80
78
|
"test:watch": "vitest watch"
|
|
81
79
|
},
|
|
82
80
|
"dependencies": {
|
|
83
|
-
"@apollo/client": "3.
|
|
84
|
-
"@cedarjs/server-store": "
|
|
81
|
+
"@apollo/client": "4.3.1",
|
|
82
|
+
"@cedarjs/server-store": "8.0.0-canary.3263",
|
|
85
83
|
"@dr.pogodin/react-helmet": "2.0.4",
|
|
86
|
-
"@whatwg-node/fetch": "0.
|
|
87
|
-
"apollo-upload-client": "
|
|
84
|
+
"@whatwg-node/fetch": "0.12.0",
|
|
85
|
+
"apollo-upload-client": "19.0.0",
|
|
88
86
|
"cookie": "1.1.1",
|
|
89
87
|
"graphql": "16.14.2",
|
|
90
88
|
"graphql-sse": "2.6.1",
|
|
91
|
-
"graphql-tag": "2.12.
|
|
89
|
+
"graphql-tag": "2.12.7",
|
|
92
90
|
"react-hot-toast": "2.6.1",
|
|
91
|
+
"rxjs": "7.8.2",
|
|
93
92
|
"stacktracey": "2.2.0",
|
|
94
93
|
"ts-toolbelt": "9.6.0"
|
|
95
94
|
},
|
|
96
95
|
"devDependencies": {
|
|
97
|
-
"@apollo/client-react-streaming": "0.
|
|
96
|
+
"@apollo/client-react-streaming": "0.14.5",
|
|
98
97
|
"@arethetypeswrong/cli": "0.18.5",
|
|
99
|
-
"@
|
|
100
|
-
"@
|
|
101
|
-
"@
|
|
102
|
-
"@babel/runtime": "7.29.7",
|
|
103
|
-
"@cedarjs/auth": "7.0.0",
|
|
104
|
-
"@cedarjs/framework-tools": "7.0.0",
|
|
105
|
-
"@cedarjs/internal": "7.0.0",
|
|
106
|
-
"@rollup/plugin-babel": "6.1.0",
|
|
98
|
+
"@cedarjs/auth": "8.0.0-canary.3263",
|
|
99
|
+
"@cedarjs/framework-tools": "8.0.0-canary.3263",
|
|
100
|
+
"@cedarjs/internal": "8.0.0-canary.3263",
|
|
107
101
|
"@testing-library/dom": "10.4.2",
|
|
108
102
|
"@testing-library/jest-dom": "6.9.1",
|
|
109
103
|
"@testing-library/react": "16.3.3",
|
|
110
|
-
"@types/apollo-upload-client": "^
|
|
111
|
-
"@types/react": "^
|
|
112
|
-
"@types/react-dom": "^
|
|
104
|
+
"@types/apollo-upload-client": "^19",
|
|
105
|
+
"@types/react": "^19.2.0",
|
|
106
|
+
"@types/react-dom": "^19.2.0",
|
|
113
107
|
"concurrently": "9.2.4",
|
|
114
108
|
"nodemon": "3.1.14",
|
|
115
109
|
"publint": "0.3.24",
|
|
116
|
-
"react": "
|
|
117
|
-
"react-dom": "
|
|
110
|
+
"react": "19.3.0",
|
|
111
|
+
"react-dom": "19.3.0",
|
|
118
112
|
"tstyche": "5.0.2",
|
|
119
113
|
"typescript": "5.9.3",
|
|
120
114
|
"vitest": "4.1.11"
|
|
121
115
|
},
|
|
122
116
|
"peerDependencies": {
|
|
123
|
-
"@cedarjs/auth": "
|
|
124
|
-
"react": "
|
|
125
|
-
"react-dom": "
|
|
117
|
+
"@cedarjs/auth": "8.0.0-canary.3263",
|
|
118
|
+
"react": "19.3.0",
|
|
119
|
+
"react-dom": "19.3.0"
|
|
126
120
|
},
|
|
127
121
|
"engines": {
|
|
128
122
|
"node": ">=24"
|
package/apollo/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('../dist/cjs/apollo/index.js')
|
package/apollo/package.json
DELETED
package/toast/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('../dist/toast')
|