naystack 1.5.19 → 1.5.21
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/auth/email/index.cjs.js +8 -26
- package/dist/auth/email/index.esm.js +6 -30
- package/dist/auth/email/server.cjs.js +11 -29
- package/dist/auth/email/server.d.mts +2 -2
- package/dist/auth/email/server.d.ts +2 -2
- package/dist/auth/email/server.esm.js +15 -39
- package/dist/auth/index.cjs.js +8 -26
- package/dist/auth/index.esm.js +6 -30
- package/package.json +1 -1
|
@@ -310,40 +310,22 @@ var getPutRoute = (options) => async (req) => {
|
|
|
310
310
|
};
|
|
311
311
|
|
|
312
312
|
// src/auth/email/server.tsx
|
|
313
|
+
var import_client2 = require("naystack/auth/email/client");
|
|
313
314
|
var import_headers3 = require("next/headers");
|
|
314
|
-
|
|
315
|
-
// src/auth/email/client.tsx
|
|
316
|
-
var import_react = __toESM(require("react"));
|
|
317
|
-
var TokenContext = (0, import_react.createContext)({
|
|
318
|
-
token: null,
|
|
319
|
-
setToken: () => null
|
|
320
|
-
});
|
|
321
|
-
function AuthApply({ data }) {
|
|
322
|
-
const setToken = useSetToken();
|
|
323
|
-
(0, import_react.useEffect)(() => {
|
|
324
|
-
if (data) {
|
|
325
|
-
setToken(data);
|
|
326
|
-
}
|
|
327
|
-
}, [data]);
|
|
328
|
-
return null;
|
|
329
|
-
}
|
|
330
|
-
function useSetToken() {
|
|
331
|
-
const { setToken } = (0, import_react.useContext)(TokenContext);
|
|
332
|
-
return setToken;
|
|
333
|
-
}
|
|
315
|
+
var import_react3 = __toESM(require("react"));
|
|
334
316
|
|
|
335
317
|
// src/graphql/server.tsx
|
|
336
318
|
var import_client = require("@apollo/client");
|
|
337
319
|
var import_client_integration_nextjs = require("@apollo/client-integration-nextjs");
|
|
338
320
|
var import_headers2 = require("next/headers");
|
|
339
|
-
var
|
|
340
|
-
var
|
|
321
|
+
var import_react = __toESM(require("react"));
|
|
322
|
+
var import_react2 = require("react");
|
|
341
323
|
function Injector({
|
|
342
324
|
fetch: fetch2,
|
|
343
325
|
Component,
|
|
344
326
|
props
|
|
345
327
|
}) {
|
|
346
|
-
return /* @__PURE__ */
|
|
328
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react2.Suspense, { fallback: /* @__PURE__ */ import_react.default.createElement(Component, { ...props || {}, loading: true }) }, /* @__PURE__ */ import_react.default.createElement(InjectorSuspensed, { Component, fetch: fetch2, props }));
|
|
347
329
|
}
|
|
348
330
|
async function InjectorSuspensed({
|
|
349
331
|
fetch: fetch2,
|
|
@@ -351,7 +333,7 @@ async function InjectorSuspensed({
|
|
|
351
333
|
props
|
|
352
334
|
}) {
|
|
353
335
|
const data = await fetch2();
|
|
354
|
-
return /* @__PURE__ */
|
|
336
|
+
return /* @__PURE__ */ import_react.default.createElement(Component, { loading: false, ...props || {}, data });
|
|
355
337
|
}
|
|
356
338
|
var { query: gqlQuery } = (0, import_client_integration_nextjs.registerApolloClient)(() => {
|
|
357
339
|
return new import_client.ApolloClient({
|
|
@@ -364,7 +346,7 @@ var { query: gqlQuery } = (0, import_client_integration_nextjs.registerApolloCli
|
|
|
364
346
|
|
|
365
347
|
// src/auth/email/server.tsx
|
|
366
348
|
function AuthFetch() {
|
|
367
|
-
return /* @__PURE__ */
|
|
349
|
+
return /* @__PURE__ */ import_react3.default.createElement(
|
|
368
350
|
Injector,
|
|
369
351
|
{
|
|
370
352
|
fetch: async () => {
|
|
@@ -378,7 +360,7 @@ function AuthFetch() {
|
|
|
378
360
|
}
|
|
379
361
|
}).then((res) => res.json()).then((data) => data.accessToken).catch(() => null);
|
|
380
362
|
},
|
|
381
|
-
Component: AuthApply
|
|
363
|
+
Component: import_client2.AuthApply
|
|
382
364
|
}
|
|
383
365
|
);
|
|
384
366
|
}
|
|
@@ -271,33 +271,9 @@ var getPutRoute = (options) => async (req) => {
|
|
|
271
271
|
};
|
|
272
272
|
|
|
273
273
|
// src/auth/email/server.tsx
|
|
274
|
+
import { AuthApply } from "naystack/auth/email/client";
|
|
274
275
|
import { cookies as cookies3 } from "next/headers";
|
|
275
|
-
|
|
276
|
-
// src/auth/email/client.tsx
|
|
277
|
-
import React2, {
|
|
278
|
-
createContext,
|
|
279
|
-
useCallback,
|
|
280
|
-
useContext,
|
|
281
|
-
useEffect,
|
|
282
|
-
useState
|
|
283
|
-
} from "react";
|
|
284
|
-
var TokenContext = createContext({
|
|
285
|
-
token: null,
|
|
286
|
-
setToken: () => null
|
|
287
|
-
});
|
|
288
|
-
function AuthApply({ data }) {
|
|
289
|
-
const setToken = useSetToken();
|
|
290
|
-
useEffect(() => {
|
|
291
|
-
if (data) {
|
|
292
|
-
setToken(data);
|
|
293
|
-
}
|
|
294
|
-
}, [data]);
|
|
295
|
-
return null;
|
|
296
|
-
}
|
|
297
|
-
function useSetToken() {
|
|
298
|
-
const { setToken } = useContext(TokenContext);
|
|
299
|
-
return setToken;
|
|
300
|
-
}
|
|
276
|
+
import React2 from "react";
|
|
301
277
|
|
|
302
278
|
// src/graphql/server.tsx
|
|
303
279
|
import {
|
|
@@ -307,14 +283,14 @@ import {
|
|
|
307
283
|
} from "@apollo/client";
|
|
308
284
|
import { registerApolloClient } from "@apollo/client-integration-nextjs";
|
|
309
285
|
import { cookies as cookies2 } from "next/headers";
|
|
310
|
-
import
|
|
286
|
+
import React from "react";
|
|
311
287
|
import { Suspense } from "react";
|
|
312
288
|
function Injector({
|
|
313
289
|
fetch: fetch2,
|
|
314
290
|
Component,
|
|
315
291
|
props
|
|
316
292
|
}) {
|
|
317
|
-
return /* @__PURE__ */
|
|
293
|
+
return /* @__PURE__ */ React.createElement(Suspense, { fallback: /* @__PURE__ */ React.createElement(Component, { ...props || {}, loading: true }) }, /* @__PURE__ */ React.createElement(InjectorSuspensed, { Component, fetch: fetch2, props }));
|
|
318
294
|
}
|
|
319
295
|
async function InjectorSuspensed({
|
|
320
296
|
fetch: fetch2,
|
|
@@ -322,7 +298,7 @@ async function InjectorSuspensed({
|
|
|
322
298
|
props
|
|
323
299
|
}) {
|
|
324
300
|
const data = await fetch2();
|
|
325
|
-
return /* @__PURE__ */
|
|
301
|
+
return /* @__PURE__ */ React.createElement(Component, { loading: false, ...props || {}, data });
|
|
326
302
|
}
|
|
327
303
|
var { query: gqlQuery } = registerApolloClient(() => {
|
|
328
304
|
return new ApolloClient({
|
|
@@ -335,7 +311,7 @@ var { query: gqlQuery } = registerApolloClient(() => {
|
|
|
335
311
|
|
|
336
312
|
// src/auth/email/server.tsx
|
|
337
313
|
function AuthFetch() {
|
|
338
|
-
return /* @__PURE__ */
|
|
314
|
+
return /* @__PURE__ */ React2.createElement(
|
|
339
315
|
Injector,
|
|
340
316
|
{
|
|
341
317
|
fetch: async () => {
|
|
@@ -33,10 +33,16 @@ __export(server_exports, {
|
|
|
33
33
|
default: () => AuthFetch
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(server_exports);
|
|
36
|
+
var import_client2 = require("naystack/auth/email/client");
|
|
36
37
|
var import_headers2 = require("next/headers");
|
|
38
|
+
var import_react3 = __toESM(require("react"));
|
|
37
39
|
|
|
38
|
-
// src/
|
|
40
|
+
// src/graphql/server.tsx
|
|
41
|
+
var import_client = require("@apollo/client");
|
|
42
|
+
var import_client_integration_nextjs = require("@apollo/client-integration-nextjs");
|
|
43
|
+
var import_headers = require("next/headers");
|
|
39
44
|
var import_react = __toESM(require("react"));
|
|
45
|
+
var import_react2 = require("react");
|
|
40
46
|
|
|
41
47
|
// src/env.ts
|
|
42
48
|
var getEnvValue = (key) => {
|
|
@@ -87,37 +93,13 @@ function getEnv(key, skipCheck) {
|
|
|
87
93
|
return value;
|
|
88
94
|
}
|
|
89
95
|
|
|
90
|
-
// src/auth/email/client.tsx
|
|
91
|
-
var TokenContext = (0, import_react.createContext)({
|
|
92
|
-
token: null,
|
|
93
|
-
setToken: () => null
|
|
94
|
-
});
|
|
95
|
-
function AuthApply({ data }) {
|
|
96
|
-
const setToken = useSetToken();
|
|
97
|
-
(0, import_react.useEffect)(() => {
|
|
98
|
-
if (data) {
|
|
99
|
-
setToken(data);
|
|
100
|
-
}
|
|
101
|
-
}, [data]);
|
|
102
|
-
return null;
|
|
103
|
-
}
|
|
104
|
-
function useSetToken() {
|
|
105
|
-
const { setToken } = (0, import_react.useContext)(TokenContext);
|
|
106
|
-
return setToken;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
96
|
// src/graphql/server.tsx
|
|
110
|
-
var import_client = require("@apollo/client");
|
|
111
|
-
var import_client_integration_nextjs = require("@apollo/client-integration-nextjs");
|
|
112
|
-
var import_headers = require("next/headers");
|
|
113
|
-
var import_react2 = __toESM(require("react"));
|
|
114
|
-
var import_react3 = require("react");
|
|
115
97
|
function Injector({
|
|
116
98
|
fetch: fetch2,
|
|
117
99
|
Component,
|
|
118
100
|
props
|
|
119
101
|
}) {
|
|
120
|
-
return /* @__PURE__ */
|
|
102
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react2.Suspense, { fallback: /* @__PURE__ */ import_react.default.createElement(Component, { ...props || {}, loading: true }) }, /* @__PURE__ */ import_react.default.createElement(InjectorSuspensed, { Component, fetch: fetch2, props }));
|
|
121
103
|
}
|
|
122
104
|
async function InjectorSuspensed({
|
|
123
105
|
fetch: fetch2,
|
|
@@ -125,7 +107,7 @@ async function InjectorSuspensed({
|
|
|
125
107
|
props
|
|
126
108
|
}) {
|
|
127
109
|
const data = await fetch2();
|
|
128
|
-
return /* @__PURE__ */
|
|
110
|
+
return /* @__PURE__ */ import_react.default.createElement(Component, { loading: false, ...props || {}, data });
|
|
129
111
|
}
|
|
130
112
|
var { query: gqlQuery } = (0, import_client_integration_nextjs.registerApolloClient)(() => {
|
|
131
113
|
return new import_client.ApolloClient({
|
|
@@ -138,7 +120,7 @@ var { query: gqlQuery } = (0, import_client_integration_nextjs.registerApolloCli
|
|
|
138
120
|
|
|
139
121
|
// src/auth/email/server.tsx
|
|
140
122
|
function AuthFetch() {
|
|
141
|
-
return /* @__PURE__ */
|
|
123
|
+
return /* @__PURE__ */ import_react3.default.createElement(
|
|
142
124
|
Injector,
|
|
143
125
|
{
|
|
144
126
|
fetch: async () => {
|
|
@@ -152,7 +134,7 @@ function AuthFetch() {
|
|
|
152
134
|
}
|
|
153
135
|
}).then((res) => res.json()).then((data) => data.accessToken).catch(() => null);
|
|
154
136
|
},
|
|
155
|
-
Component: AuthApply
|
|
137
|
+
Component: import_client2.AuthApply
|
|
156
138
|
}
|
|
157
139
|
);
|
|
158
140
|
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
// src/auth/email/server.tsx
|
|
2
|
+
import { AuthApply } from "naystack/auth/email/client";
|
|
2
3
|
import { cookies as cookies2 } from "next/headers";
|
|
4
|
+
import React2 from "react";
|
|
3
5
|
|
|
4
|
-
// src/
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "
|
|
6
|
+
// src/graphql/server.tsx
|
|
7
|
+
import {
|
|
8
|
+
ApolloClient,
|
|
9
|
+
HttpLink,
|
|
10
|
+
InMemoryCache
|
|
11
|
+
} from "@apollo/client";
|
|
12
|
+
import { registerApolloClient } from "@apollo/client-integration-nextjs";
|
|
13
|
+
import { cookies } from "next/headers";
|
|
14
|
+
import React from "react";
|
|
15
|
+
import { Suspense } from "react";
|
|
12
16
|
|
|
13
17
|
// src/env.ts
|
|
14
18
|
var getEnvValue = (key) => {
|
|
@@ -59,41 +63,13 @@ function getEnv(key, skipCheck) {
|
|
|
59
63
|
return value;
|
|
60
64
|
}
|
|
61
65
|
|
|
62
|
-
// src/auth/email/client.tsx
|
|
63
|
-
var TokenContext = createContext({
|
|
64
|
-
token: null,
|
|
65
|
-
setToken: () => null
|
|
66
|
-
});
|
|
67
|
-
function AuthApply({ data }) {
|
|
68
|
-
const setToken = useSetToken();
|
|
69
|
-
useEffect(() => {
|
|
70
|
-
if (data) {
|
|
71
|
-
setToken(data);
|
|
72
|
-
}
|
|
73
|
-
}, [data]);
|
|
74
|
-
return null;
|
|
75
|
-
}
|
|
76
|
-
function useSetToken() {
|
|
77
|
-
const { setToken } = useContext(TokenContext);
|
|
78
|
-
return setToken;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
66
|
// src/graphql/server.tsx
|
|
82
|
-
import {
|
|
83
|
-
ApolloClient,
|
|
84
|
-
HttpLink,
|
|
85
|
-
InMemoryCache
|
|
86
|
-
} from "@apollo/client";
|
|
87
|
-
import { registerApolloClient } from "@apollo/client-integration-nextjs";
|
|
88
|
-
import { cookies } from "next/headers";
|
|
89
|
-
import React3 from "react";
|
|
90
|
-
import { Suspense } from "react";
|
|
91
67
|
function Injector({
|
|
92
68
|
fetch: fetch2,
|
|
93
69
|
Component,
|
|
94
70
|
props
|
|
95
71
|
}) {
|
|
96
|
-
return /* @__PURE__ */
|
|
72
|
+
return /* @__PURE__ */ React.createElement(Suspense, { fallback: /* @__PURE__ */ React.createElement(Component, { ...props || {}, loading: true }) }, /* @__PURE__ */ React.createElement(InjectorSuspensed, { Component, fetch: fetch2, props }));
|
|
97
73
|
}
|
|
98
74
|
async function InjectorSuspensed({
|
|
99
75
|
fetch: fetch2,
|
|
@@ -101,7 +77,7 @@ async function InjectorSuspensed({
|
|
|
101
77
|
props
|
|
102
78
|
}) {
|
|
103
79
|
const data = await fetch2();
|
|
104
|
-
return /* @__PURE__ */
|
|
80
|
+
return /* @__PURE__ */ React.createElement(Component, { loading: false, ...props || {}, data });
|
|
105
81
|
}
|
|
106
82
|
var { query: gqlQuery } = registerApolloClient(() => {
|
|
107
83
|
return new ApolloClient({
|
|
@@ -114,7 +90,7 @@ var { query: gqlQuery } = registerApolloClient(() => {
|
|
|
114
90
|
|
|
115
91
|
// src/auth/email/server.tsx
|
|
116
92
|
function AuthFetch() {
|
|
117
|
-
return /* @__PURE__ */
|
|
93
|
+
return /* @__PURE__ */ React2.createElement(
|
|
118
94
|
Injector,
|
|
119
95
|
{
|
|
120
96
|
fetch: async () => {
|
package/dist/auth/index.cjs.js
CHANGED
|
@@ -326,40 +326,22 @@ var getPutRoute = (options) => async (req) => {
|
|
|
326
326
|
};
|
|
327
327
|
|
|
328
328
|
// src/auth/email/server.tsx
|
|
329
|
+
var import_client2 = require("naystack/auth/email/client");
|
|
329
330
|
var import_headers3 = require("next/headers");
|
|
330
|
-
|
|
331
|
-
// src/auth/email/client.tsx
|
|
332
|
-
var import_react = __toESM(require("react"));
|
|
333
|
-
var TokenContext = (0, import_react.createContext)({
|
|
334
|
-
token: null,
|
|
335
|
-
setToken: () => null
|
|
336
|
-
});
|
|
337
|
-
function AuthApply({ data }) {
|
|
338
|
-
const setToken = useSetToken();
|
|
339
|
-
(0, import_react.useEffect)(() => {
|
|
340
|
-
if (data) {
|
|
341
|
-
setToken(data);
|
|
342
|
-
}
|
|
343
|
-
}, [data]);
|
|
344
|
-
return null;
|
|
345
|
-
}
|
|
346
|
-
function useSetToken() {
|
|
347
|
-
const { setToken } = (0, import_react.useContext)(TokenContext);
|
|
348
|
-
return setToken;
|
|
349
|
-
}
|
|
331
|
+
var import_react3 = __toESM(require("react"));
|
|
350
332
|
|
|
351
333
|
// src/graphql/server.tsx
|
|
352
334
|
var import_client = require("@apollo/client");
|
|
353
335
|
var import_client_integration_nextjs = require("@apollo/client-integration-nextjs");
|
|
354
336
|
var import_headers2 = require("next/headers");
|
|
355
|
-
var
|
|
356
|
-
var
|
|
337
|
+
var import_react = __toESM(require("react"));
|
|
338
|
+
var import_react2 = require("react");
|
|
357
339
|
function Injector({
|
|
358
340
|
fetch: fetch2,
|
|
359
341
|
Component,
|
|
360
342
|
props
|
|
361
343
|
}) {
|
|
362
|
-
return /* @__PURE__ */
|
|
344
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react2.Suspense, { fallback: /* @__PURE__ */ import_react.default.createElement(Component, { ...props || {}, loading: true }) }, /* @__PURE__ */ import_react.default.createElement(InjectorSuspensed, { Component, fetch: fetch2, props }));
|
|
363
345
|
}
|
|
364
346
|
async function InjectorSuspensed({
|
|
365
347
|
fetch: fetch2,
|
|
@@ -367,7 +349,7 @@ async function InjectorSuspensed({
|
|
|
367
349
|
props
|
|
368
350
|
}) {
|
|
369
351
|
const data = await fetch2();
|
|
370
|
-
return /* @__PURE__ */
|
|
352
|
+
return /* @__PURE__ */ import_react.default.createElement(Component, { loading: false, ...props || {}, data });
|
|
371
353
|
}
|
|
372
354
|
var { query: gqlQuery } = (0, import_client_integration_nextjs.registerApolloClient)(() => {
|
|
373
355
|
return new import_client.ApolloClient({
|
|
@@ -380,7 +362,7 @@ var { query: gqlQuery } = (0, import_client_integration_nextjs.registerApolloCli
|
|
|
380
362
|
|
|
381
363
|
// src/auth/email/server.tsx
|
|
382
364
|
function AuthFetch() {
|
|
383
|
-
return /* @__PURE__ */
|
|
365
|
+
return /* @__PURE__ */ import_react3.default.createElement(
|
|
384
366
|
Injector,
|
|
385
367
|
{
|
|
386
368
|
fetch: async () => {
|
|
@@ -394,7 +376,7 @@ function AuthFetch() {
|
|
|
394
376
|
}
|
|
395
377
|
}).then((res) => res.json()).then((data) => data.accessToken).catch(() => null);
|
|
396
378
|
},
|
|
397
|
-
Component: AuthApply
|
|
379
|
+
Component: import_client2.AuthApply
|
|
398
380
|
}
|
|
399
381
|
);
|
|
400
382
|
}
|
package/dist/auth/index.esm.js
CHANGED
|
@@ -283,33 +283,9 @@ var getPutRoute = (options) => async (req) => {
|
|
|
283
283
|
};
|
|
284
284
|
|
|
285
285
|
// src/auth/email/server.tsx
|
|
286
|
+
import { AuthApply } from "naystack/auth/email/client";
|
|
286
287
|
import { cookies as cookies3 } from "next/headers";
|
|
287
|
-
|
|
288
|
-
// src/auth/email/client.tsx
|
|
289
|
-
import React2, {
|
|
290
|
-
createContext,
|
|
291
|
-
useCallback,
|
|
292
|
-
useContext,
|
|
293
|
-
useEffect,
|
|
294
|
-
useState
|
|
295
|
-
} from "react";
|
|
296
|
-
var TokenContext = createContext({
|
|
297
|
-
token: null,
|
|
298
|
-
setToken: () => null
|
|
299
|
-
});
|
|
300
|
-
function AuthApply({ data }) {
|
|
301
|
-
const setToken = useSetToken();
|
|
302
|
-
useEffect(() => {
|
|
303
|
-
if (data) {
|
|
304
|
-
setToken(data);
|
|
305
|
-
}
|
|
306
|
-
}, [data]);
|
|
307
|
-
return null;
|
|
308
|
-
}
|
|
309
|
-
function useSetToken() {
|
|
310
|
-
const { setToken } = useContext(TokenContext);
|
|
311
|
-
return setToken;
|
|
312
|
-
}
|
|
288
|
+
import React2 from "react";
|
|
313
289
|
|
|
314
290
|
// src/graphql/server.tsx
|
|
315
291
|
import {
|
|
@@ -319,14 +295,14 @@ import {
|
|
|
319
295
|
} from "@apollo/client";
|
|
320
296
|
import { registerApolloClient } from "@apollo/client-integration-nextjs";
|
|
321
297
|
import { cookies as cookies2 } from "next/headers";
|
|
322
|
-
import
|
|
298
|
+
import React from "react";
|
|
323
299
|
import { Suspense } from "react";
|
|
324
300
|
function Injector({
|
|
325
301
|
fetch: fetch2,
|
|
326
302
|
Component,
|
|
327
303
|
props
|
|
328
304
|
}) {
|
|
329
|
-
return /* @__PURE__ */
|
|
305
|
+
return /* @__PURE__ */ React.createElement(Suspense, { fallback: /* @__PURE__ */ React.createElement(Component, { ...props || {}, loading: true }) }, /* @__PURE__ */ React.createElement(InjectorSuspensed, { Component, fetch: fetch2, props }));
|
|
330
306
|
}
|
|
331
307
|
async function InjectorSuspensed({
|
|
332
308
|
fetch: fetch2,
|
|
@@ -334,7 +310,7 @@ async function InjectorSuspensed({
|
|
|
334
310
|
props
|
|
335
311
|
}) {
|
|
336
312
|
const data = await fetch2();
|
|
337
|
-
return /* @__PURE__ */
|
|
313
|
+
return /* @__PURE__ */ React.createElement(Component, { loading: false, ...props || {}, data });
|
|
338
314
|
}
|
|
339
315
|
var { query: gqlQuery } = registerApolloClient(() => {
|
|
340
316
|
return new ApolloClient({
|
|
@@ -347,7 +323,7 @@ var { query: gqlQuery } = registerApolloClient(() => {
|
|
|
347
323
|
|
|
348
324
|
// src/auth/email/server.tsx
|
|
349
325
|
function AuthFetch() {
|
|
350
|
-
return /* @__PURE__ */
|
|
326
|
+
return /* @__PURE__ */ React2.createElement(
|
|
351
327
|
Injector,
|
|
352
328
|
{
|
|
353
329
|
fetch: async () => {
|