naystack 1.5.7 → 1.5.8
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 +14 -2
- package/dist/auth/email/index.d.mts +1 -1
- package/dist/auth/email/index.d.ts +1 -1
- package/dist/auth/email/index.esm.js +12 -1
- package/dist/auth/email/routes/delete.cjs.js +1 -0
- package/dist/auth/email/routes/delete.esm.js +1 -0
- package/dist/auth/email/routes/post.cjs.js +1 -0
- package/dist/auth/email/routes/post.esm.js +1 -0
- package/dist/auth/email/routes/put.cjs.js +1 -0
- package/dist/auth/email/routes/put.esm.js +1 -0
- package/dist/auth/email/utils.cjs.js +12 -0
- package/dist/auth/email/utils.d.mts +2 -1
- package/dist/auth/email/utils.d.ts +2 -1
- package/dist/auth/email/utils.esm.js +11 -0
- package/dist/auth/index.cjs.js +16 -4
- package/dist/auth/index.d.mts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.esm.js +14 -3
- package/dist/file/index.cjs.js +1 -0
- package/dist/file/index.esm.js +1 -0
- package/dist/file/put.cjs.js +1 -0
- package/dist/file/put.esm.js +1 -0
- package/dist/file/setup.cjs.js +1 -0
- package/dist/file/setup.esm.js +1 -0
- package/dist/graphql/index.cjs.js +3 -2
- package/dist/graphql/index.esm.js +3 -2
- package/dist/graphql/init.cjs.js +1 -0
- package/dist/graphql/init.esm.js +1 -0
- package/package.json +1 -1
|
@@ -22,7 +22,8 @@ var email_exports = {};
|
|
|
22
22
|
__export(email_exports, {
|
|
23
23
|
checkAuthStatus: () => checkAuthStatus,
|
|
24
24
|
getContext: () => getContext,
|
|
25
|
-
getEmailAuthRoutes: () => getEmailAuthRoutes
|
|
25
|
+
getEmailAuthRoutes: () => getEmailAuthRoutes,
|
|
26
|
+
logout: () => logout
|
|
26
27
|
});
|
|
27
28
|
module.exports = __toCommonJS(email_exports);
|
|
28
29
|
|
|
@@ -141,6 +142,7 @@ async function checkAuthStatus(redirectUnauthorizedURL) {
|
|
|
141
142
|
|
|
142
143
|
// src/auth/email/utils.ts
|
|
143
144
|
var import_jsonwebtoken2 = require("jsonwebtoken");
|
|
145
|
+
var import_headers2 = require("next/headers");
|
|
144
146
|
|
|
145
147
|
// src/auth/utils/errors.ts
|
|
146
148
|
var import_server2 = require("next/server");
|
|
@@ -217,6 +219,15 @@ var getContext = (req) => {
|
|
|
217
219
|
}
|
|
218
220
|
return { userId: null };
|
|
219
221
|
};
|
|
222
|
+
async function logout(data) {
|
|
223
|
+
const Cookie = await (0, import_headers2.cookies)();
|
|
224
|
+
Cookie.delete(REFRESH_COOKIE_NAME);
|
|
225
|
+
await fetch(getEnv("NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT" /* NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT */), {
|
|
226
|
+
method: "DELETE",
|
|
227
|
+
credentials: "include",
|
|
228
|
+
body: JSON.stringify(data)
|
|
229
|
+
});
|
|
230
|
+
}
|
|
220
231
|
|
|
221
232
|
// src/auth/email/routes/delete.ts
|
|
222
233
|
var getDeleteRoute = (options) => async (req) => {
|
|
@@ -311,5 +322,6 @@ function getEmailAuthRoutes(options) {
|
|
|
311
322
|
0 && (module.exports = {
|
|
312
323
|
checkAuthStatus,
|
|
313
324
|
getContext,
|
|
314
|
-
getEmailAuthRoutes
|
|
325
|
+
getEmailAuthRoutes,
|
|
326
|
+
logout
|
|
315
327
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as next_server from 'next/server';
|
|
2
2
|
import { InitRoutesOptions } from './types.mjs';
|
|
3
3
|
export { checkAuthStatus } from './token.mjs';
|
|
4
|
-
export { getContext } from './utils.mjs';
|
|
4
|
+
export { getContext, logout } from './utils.mjs';
|
|
5
5
|
import '../types.mjs';
|
|
6
6
|
import '../../graphql/types.mjs';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as next_server from 'next/server';
|
|
2
2
|
import { InitRoutesOptions } from './types.js';
|
|
3
3
|
export { checkAuthStatus } from './token.js';
|
|
4
|
-
export { getContext } from './utils.js';
|
|
4
|
+
export { getContext, logout } from './utils.js';
|
|
5
5
|
import '../types.js';
|
|
6
6
|
import '../../graphql/types.js';
|
|
7
7
|
|
|
@@ -113,6 +113,7 @@ async function checkAuthStatus(redirectUnauthorizedURL) {
|
|
|
113
113
|
|
|
114
114
|
// src/auth/email/utils.ts
|
|
115
115
|
import { verify as verify2 } from "jsonwebtoken";
|
|
116
|
+
import { cookies as cookies2 } from "next/headers";
|
|
116
117
|
|
|
117
118
|
// src/auth/utils/errors.ts
|
|
118
119
|
import { NextResponse as NextResponse2 } from "next/server";
|
|
@@ -189,6 +190,15 @@ var getContext = (req) => {
|
|
|
189
190
|
}
|
|
190
191
|
return { userId: null };
|
|
191
192
|
};
|
|
193
|
+
async function logout(data) {
|
|
194
|
+
const Cookie = await cookies2();
|
|
195
|
+
Cookie.delete(REFRESH_COOKIE_NAME);
|
|
196
|
+
await fetch(getEnv("NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT" /* NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT */), {
|
|
197
|
+
method: "DELETE",
|
|
198
|
+
credentials: "include",
|
|
199
|
+
body: JSON.stringify(data)
|
|
200
|
+
});
|
|
201
|
+
}
|
|
192
202
|
|
|
193
203
|
// src/auth/email/routes/delete.ts
|
|
194
204
|
var getDeleteRoute = (options) => async (req) => {
|
|
@@ -282,5 +292,6 @@ function getEmailAuthRoutes(options) {
|
|
|
282
292
|
export {
|
|
283
293
|
checkAuthStatus,
|
|
284
294
|
getContext,
|
|
285
|
-
getEmailAuthRoutes
|
|
295
|
+
getEmailAuthRoutes,
|
|
296
|
+
logout
|
|
286
297
|
};
|
|
@@ -120,6 +120,7 @@ function getUserIdFromRefreshToken(refreshToken) {
|
|
|
120
120
|
|
|
121
121
|
// src/auth/email/utils.ts
|
|
122
122
|
var import_jsonwebtoken2 = require("jsonwebtoken");
|
|
123
|
+
var import_headers2 = require("next/headers");
|
|
123
124
|
|
|
124
125
|
// src/auth/utils/errors.ts
|
|
125
126
|
var import_server2 = require("next/server");
|
|
@@ -94,6 +94,7 @@ function getUserIdFromRefreshToken(refreshToken) {
|
|
|
94
94
|
|
|
95
95
|
// src/auth/email/utils.ts
|
|
96
96
|
import { verify as verify2 } from "jsonwebtoken";
|
|
97
|
+
import { cookies as cookies2 } from "next/headers";
|
|
97
98
|
|
|
98
99
|
// src/auth/utils/errors.ts
|
|
99
100
|
import { NextResponse as NextResponse2 } from "next/server";
|
|
@@ -129,6 +129,7 @@ function verifyUser(user, password) {
|
|
|
129
129
|
|
|
130
130
|
// src/auth/email/utils.ts
|
|
131
131
|
var import_jsonwebtoken2 = require("jsonwebtoken");
|
|
132
|
+
var import_headers2 = require("next/headers");
|
|
132
133
|
async function massageRequest(req, options) {
|
|
133
134
|
const data = await req.json();
|
|
134
135
|
if (!data.password)
|
|
@@ -105,6 +105,7 @@ function verifyUser(user, password) {
|
|
|
105
105
|
|
|
106
106
|
// src/auth/email/utils.ts
|
|
107
107
|
import { verify as verify2 } from "jsonwebtoken";
|
|
108
|
+
import { cookies as cookies2 } from "next/headers";
|
|
108
109
|
async function massageRequest(req, options) {
|
|
109
110
|
const data = await req.json();
|
|
110
111
|
if (!data.password)
|
|
@@ -128,6 +128,7 @@ function verifyUser(user, password) {
|
|
|
128
128
|
|
|
129
129
|
// src/auth/email/utils.ts
|
|
130
130
|
var import_jsonwebtoken2 = require("jsonwebtoken");
|
|
131
|
+
var import_headers2 = require("next/headers");
|
|
131
132
|
async function massageRequest(req, options) {
|
|
132
133
|
const data = await req.json();
|
|
133
134
|
if (!data.password)
|
|
@@ -102,6 +102,7 @@ function verifyUser(user, password) {
|
|
|
102
102
|
|
|
103
103
|
// src/auth/email/utils.ts
|
|
104
104
|
import { verify as verify2 } from "jsonwebtoken";
|
|
105
|
+
import { cookies as cookies2 } from "next/headers";
|
|
105
106
|
async function massageRequest(req, options) {
|
|
106
107
|
const data = await req.json();
|
|
107
108
|
if (!data.password)
|
|
@@ -21,11 +21,13 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var utils_exports = {};
|
|
22
22
|
__export(utils_exports, {
|
|
23
23
|
getContext: () => getContext,
|
|
24
|
+
logout: () => logout,
|
|
24
25
|
massageRequest: () => massageRequest,
|
|
25
26
|
verifyCaptcha: () => verifyCaptcha
|
|
26
27
|
});
|
|
27
28
|
module.exports = __toCommonJS(utils_exports);
|
|
28
29
|
var import_jsonwebtoken2 = require("jsonwebtoken");
|
|
30
|
+
var import_headers2 = require("next/headers");
|
|
29
31
|
|
|
30
32
|
// src/auth/email/token.ts
|
|
31
33
|
var import_bcryptjs = require("bcryptjs");
|
|
@@ -175,9 +177,19 @@ var getContext = (req) => {
|
|
|
175
177
|
}
|
|
176
178
|
return { userId: null };
|
|
177
179
|
};
|
|
180
|
+
async function logout(data) {
|
|
181
|
+
const Cookie = await (0, import_headers2.cookies)();
|
|
182
|
+
Cookie.delete(REFRESH_COOKIE_NAME);
|
|
183
|
+
await fetch(getEnv("NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT" /* NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT */), {
|
|
184
|
+
method: "DELETE",
|
|
185
|
+
credentials: "include",
|
|
186
|
+
body: JSON.stringify(data)
|
|
187
|
+
});
|
|
188
|
+
}
|
|
178
189
|
// Annotate the CommonJS export names for ESM import in node:
|
|
179
190
|
0 && (module.exports = {
|
|
180
191
|
getContext,
|
|
192
|
+
logout,
|
|
181
193
|
massageRequest,
|
|
182
194
|
verifyCaptcha
|
|
183
195
|
});
|
|
@@ -13,5 +13,6 @@ declare function massageRequest(req: NextRequest, options: InitRoutesOptions): P
|
|
|
13
13
|
}>;
|
|
14
14
|
declare function verifyCaptcha(token: string, secret?: string): Promise<boolean>;
|
|
15
15
|
declare const getContext: (req: NextRequest) => Context;
|
|
16
|
+
declare function logout(data?: object): Promise<void>;
|
|
16
17
|
|
|
17
|
-
export { getContext, massageRequest, verifyCaptcha };
|
|
18
|
+
export { getContext, logout, massageRequest, verifyCaptcha };
|
|
@@ -13,5 +13,6 @@ declare function massageRequest(req: NextRequest, options: InitRoutesOptions): P
|
|
|
13
13
|
}>;
|
|
14
14
|
declare function verifyCaptcha(token: string, secret?: string): Promise<boolean>;
|
|
15
15
|
declare const getContext: (req: NextRequest) => Context;
|
|
16
|
+
declare function logout(data?: object): Promise<void>;
|
|
16
17
|
|
|
17
|
-
export { getContext, massageRequest, verifyCaptcha };
|
|
18
|
+
export { getContext, logout, massageRequest, verifyCaptcha };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// src/auth/email/utils.ts
|
|
2
2
|
import { verify as verify2 } from "jsonwebtoken";
|
|
3
|
+
import { cookies as cookies2 } from "next/headers";
|
|
3
4
|
|
|
4
5
|
// src/auth/email/token.ts
|
|
5
6
|
import { compare } from "bcryptjs";
|
|
@@ -149,8 +150,18 @@ var getContext = (req) => {
|
|
|
149
150
|
}
|
|
150
151
|
return { userId: null };
|
|
151
152
|
};
|
|
153
|
+
async function logout(data) {
|
|
154
|
+
const Cookie = await cookies2();
|
|
155
|
+
Cookie.delete(REFRESH_COOKIE_NAME);
|
|
156
|
+
await fetch(getEnv("NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT" /* NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT */), {
|
|
157
|
+
method: "DELETE",
|
|
158
|
+
credentials: "include",
|
|
159
|
+
body: JSON.stringify(data)
|
|
160
|
+
});
|
|
161
|
+
}
|
|
152
162
|
export {
|
|
153
163
|
getContext,
|
|
164
|
+
logout,
|
|
154
165
|
massageRequest,
|
|
155
166
|
verifyCaptcha
|
|
156
167
|
};
|
package/dist/auth/index.cjs.js
CHANGED
|
@@ -25,7 +25,8 @@ __export(auth_exports, {
|
|
|
25
25
|
getEmailAuthRoutes: () => getEmailAuthRoutes,
|
|
26
26
|
getRefreshToken: () => getRefreshToken,
|
|
27
27
|
initGoogleAuth: () => initGoogleAuth,
|
|
28
|
-
initInstagramAuth: () => initInstagramAuth
|
|
28
|
+
initInstagramAuth: () => initInstagramAuth,
|
|
29
|
+
logout: () => logout
|
|
29
30
|
});
|
|
30
31
|
module.exports = __toCommonJS(auth_exports);
|
|
31
32
|
|
|
@@ -156,6 +157,7 @@ async function checkAuthStatus(redirectUnauthorizedURL) {
|
|
|
156
157
|
|
|
157
158
|
// src/auth/email/utils.ts
|
|
158
159
|
var import_jsonwebtoken2 = require("jsonwebtoken");
|
|
160
|
+
var import_headers2 = require("next/headers");
|
|
159
161
|
|
|
160
162
|
// src/auth/utils/errors.ts
|
|
161
163
|
var import_server2 = require("next/server");
|
|
@@ -232,6 +234,15 @@ var getContext = (req) => {
|
|
|
232
234
|
}
|
|
233
235
|
return { userId: null };
|
|
234
236
|
};
|
|
237
|
+
async function logout(data) {
|
|
238
|
+
const Cookie = await (0, import_headers2.cookies)();
|
|
239
|
+
Cookie.delete(REFRESH_COOKIE_NAME);
|
|
240
|
+
await fetch(getEnv("NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT" /* NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT */), {
|
|
241
|
+
method: "DELETE",
|
|
242
|
+
credentials: "include",
|
|
243
|
+
body: JSON.stringify(data)
|
|
244
|
+
});
|
|
245
|
+
}
|
|
235
246
|
|
|
236
247
|
// src/auth/email/routes/delete.ts
|
|
237
248
|
var getDeleteRoute = (options) => async (req) => {
|
|
@@ -515,9 +526,9 @@ function initInstagramAuth(props) {
|
|
|
515
526
|
}
|
|
516
527
|
|
|
517
528
|
// src/auth/utils/token.ts
|
|
518
|
-
var
|
|
529
|
+
var import_headers3 = require("next/headers");
|
|
519
530
|
async function getRefreshToken() {
|
|
520
|
-
const Cookie = await (0,
|
|
531
|
+
const Cookie = await (0, import_headers3.cookies)();
|
|
521
532
|
return Cookie.get(REFRESH_COOKIE_NAME)?.value || null;
|
|
522
533
|
}
|
|
523
534
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -527,5 +538,6 @@ async function getRefreshToken() {
|
|
|
527
538
|
getEmailAuthRoutes,
|
|
528
539
|
getRefreshToken,
|
|
529
540
|
initGoogleAuth,
|
|
530
|
-
initInstagramAuth
|
|
541
|
+
initInstagramAuth,
|
|
542
|
+
logout
|
|
531
543
|
});
|
package/dist/auth/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ export { initGoogleAuth } from './google/index.mjs';
|
|
|
3
3
|
export { initInstagramAuth } from './instagram/index.mjs';
|
|
4
4
|
export { getRefreshToken } from './utils/token.mjs';
|
|
5
5
|
export { checkAuthStatus } from './email/token.mjs';
|
|
6
|
-
export { getContext } from './email/utils.mjs';
|
|
6
|
+
export { getContext, logout } from './email/utils.mjs';
|
|
7
7
|
import 'next/server';
|
|
8
8
|
import './email/types.mjs';
|
|
9
9
|
import './types.mjs';
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { initGoogleAuth } from './google/index.js';
|
|
|
3
3
|
export { initInstagramAuth } from './instagram/index.js';
|
|
4
4
|
export { getRefreshToken } from './utils/token.js';
|
|
5
5
|
export { checkAuthStatus } from './email/token.js';
|
|
6
|
-
export { getContext } from './email/utils.js';
|
|
6
|
+
export { getContext, logout } from './email/utils.js';
|
|
7
7
|
import 'next/server';
|
|
8
8
|
import './email/types.js';
|
|
9
9
|
import './types.js';
|
package/dist/auth/index.esm.js
CHANGED
|
@@ -125,6 +125,7 @@ async function checkAuthStatus(redirectUnauthorizedURL) {
|
|
|
125
125
|
|
|
126
126
|
// src/auth/email/utils.ts
|
|
127
127
|
import { verify as verify2 } from "jsonwebtoken";
|
|
128
|
+
import { cookies as cookies2 } from "next/headers";
|
|
128
129
|
|
|
129
130
|
// src/auth/utils/errors.ts
|
|
130
131
|
import { NextResponse as NextResponse2 } from "next/server";
|
|
@@ -201,6 +202,15 @@ var getContext = (req) => {
|
|
|
201
202
|
}
|
|
202
203
|
return { userId: null };
|
|
203
204
|
};
|
|
205
|
+
async function logout(data) {
|
|
206
|
+
const Cookie = await cookies2();
|
|
207
|
+
Cookie.delete(REFRESH_COOKIE_NAME);
|
|
208
|
+
await fetch(getEnv("NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT" /* NEXT_PUBLIC_EMAIL_AUTH_ENDPOINT */), {
|
|
209
|
+
method: "DELETE",
|
|
210
|
+
credentials: "include",
|
|
211
|
+
body: JSON.stringify(data)
|
|
212
|
+
});
|
|
213
|
+
}
|
|
204
214
|
|
|
205
215
|
// src/auth/email/routes/delete.ts
|
|
206
216
|
var getDeleteRoute = (options) => async (req) => {
|
|
@@ -484,9 +494,9 @@ function initInstagramAuth(props) {
|
|
|
484
494
|
}
|
|
485
495
|
|
|
486
496
|
// src/auth/utils/token.ts
|
|
487
|
-
import { cookies as
|
|
497
|
+
import { cookies as cookies3 } from "next/headers";
|
|
488
498
|
async function getRefreshToken() {
|
|
489
|
-
const Cookie = await
|
|
499
|
+
const Cookie = await cookies3();
|
|
490
500
|
return Cookie.get(REFRESH_COOKIE_NAME)?.value || null;
|
|
491
501
|
}
|
|
492
502
|
export {
|
|
@@ -495,5 +505,6 @@ export {
|
|
|
495
505
|
getEmailAuthRoutes,
|
|
496
506
|
getRefreshToken,
|
|
497
507
|
initGoogleAuth,
|
|
498
|
-
initInstagramAuth
|
|
508
|
+
initInstagramAuth,
|
|
509
|
+
logout
|
|
499
510
|
};
|
package/dist/file/index.cjs.js
CHANGED
package/dist/file/index.esm.js
CHANGED
package/dist/file/put.cjs.js
CHANGED
package/dist/file/put.esm.js
CHANGED
package/dist/file/setup.cjs.js
CHANGED
package/dist/file/setup.esm.js
CHANGED
|
@@ -627,6 +627,7 @@ function getEnv(key, skipCheck) {
|
|
|
627
627
|
|
|
628
628
|
// src/auth/email/utils.ts
|
|
629
629
|
var import_jsonwebtoken2 = require("jsonwebtoken");
|
|
630
|
+
var import_headers2 = require("next/headers");
|
|
630
631
|
|
|
631
632
|
// src/auth/email/token.ts
|
|
632
633
|
var import_bcryptjs = require("bcryptjs");
|
|
@@ -716,7 +717,7 @@ async function initGraphQLServer({
|
|
|
716
717
|
}
|
|
717
718
|
|
|
718
719
|
// src/graphql/utils.ts
|
|
719
|
-
var
|
|
720
|
+
var import_headers3 = require("next/headers");
|
|
720
721
|
var import_react = require("react");
|
|
721
722
|
var import_type_graphql2 = require("type-graphql");
|
|
722
723
|
function query(fn, options) {
|
|
@@ -728,7 +729,7 @@ function query(fn, options) {
|
|
|
728
729
|
};
|
|
729
730
|
}
|
|
730
731
|
var getUserId = async () => {
|
|
731
|
-
const Cookie = await (0,
|
|
732
|
+
const Cookie = await (0, import_headers3.cookies)();
|
|
732
733
|
const refresh = Cookie.get(REFRESH_COOKIE_NAME)?.value;
|
|
733
734
|
return refresh ? getUserIdFromRefreshToken(refresh) : null;
|
|
734
735
|
};
|
|
@@ -614,6 +614,7 @@ function getEnv(key, skipCheck) {
|
|
|
614
614
|
|
|
615
615
|
// src/auth/email/utils.ts
|
|
616
616
|
import { verify as verify2 } from "jsonwebtoken";
|
|
617
|
+
import { cookies as cookies2 } from "next/headers";
|
|
617
618
|
|
|
618
619
|
// src/auth/email/token.ts
|
|
619
620
|
import { compare } from "bcryptjs";
|
|
@@ -703,7 +704,7 @@ async function initGraphQLServer({
|
|
|
703
704
|
}
|
|
704
705
|
|
|
705
706
|
// src/graphql/utils.ts
|
|
706
|
-
import { cookies as
|
|
707
|
+
import { cookies as cookies3 } from "next/headers";
|
|
707
708
|
import { cache } from "react";
|
|
708
709
|
import {
|
|
709
710
|
Arg,
|
|
@@ -724,7 +725,7 @@ function query(fn, options) {
|
|
|
724
725
|
};
|
|
725
726
|
}
|
|
726
727
|
var getUserId = async () => {
|
|
727
|
-
const Cookie = await
|
|
728
|
+
const Cookie = await cookies3();
|
|
728
729
|
const refresh = Cookie.get(REFRESH_COOKIE_NAME)?.value;
|
|
729
730
|
return refresh ? getUserIdFromRefreshToken(refresh) : null;
|
|
730
731
|
};
|
package/dist/graphql/init.cjs.js
CHANGED
package/dist/graphql/init.esm.js
CHANGED