@burdenoff/be-sdk 2026.529.3 → 2026.601.1
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/index.d.ts +18 -10
- package/dist/auth/index.js +1 -1
- package/dist/chunk-DVAZQEOL.js +1007 -0
- package/dist/chunk-DVAZQEOL.js.map +1 -0
- package/dist/{chunk-7NUQXGA7.js → chunk-KKCC3Z4I.js} +108 -30
- package/dist/chunk-KKCC3Z4I.js.map +1 -0
- package/dist/i18n/index.d.ts +3 -2
- package/dist/i18n-DrdPTann.d.ts +33 -0
- package/dist/{index-BV3G48cH.d.ts → index-D4l1u8VR.d.ts} +2 -1
- package/dist/index-kssw5ziY.d.ts +250 -0
- package/dist/index.d.ts +10 -7
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/server/index.d.ts +8 -226
- package/dist/sharing/index.d.ts +1 -0
- package/dist/sharing/index.js +5 -0
- package/dist/sharing/index.js.map +1 -0
- package/dist/{i18n-DA6IPnYy.d.ts → types-C8TbSdEj.d.ts} +1 -31
- package/dist/types-sKXodL2N.d.ts +227 -0
- package/package.json +3 -3
- package/dist/chunk-7NUQXGA7.js.map +0 -1
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { B as BurdenoffGraphQLClient } from '../graphql-DH3L5Hj7.js';
|
|
2
2
|
import { S as SDKContext } from '../index-Caqvetqq.js';
|
|
3
|
+
import { G as GraphQLContext } from '../types-sKXodL2N.js';
|
|
3
4
|
import 'graphql-request';
|
|
5
|
+
import 'graphql';
|
|
6
|
+
import 'graphql-yoga';
|
|
7
|
+
import '../client-CSjIrYKS.js';
|
|
8
|
+
import '@prisma/adapter-pg';
|
|
9
|
+
import 'pg';
|
|
10
|
+
import '../types-C8TbSdEj.js';
|
|
4
11
|
|
|
5
12
|
interface CookieOptions {
|
|
6
13
|
name: string;
|
|
@@ -12,20 +19,21 @@ interface CookieOptions {
|
|
|
12
19
|
secure?: boolean;
|
|
13
20
|
sameSite?: 'Strict' | 'Lax' | 'None';
|
|
14
21
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
declare const AuthCookieHelper: {
|
|
21
|
-
setAuthCookies(context: CookieContext, tokens: {
|
|
22
|
+
declare class AuthCookieHelper {
|
|
23
|
+
private static readonly ACCESS_TOKEN_COOKIE;
|
|
24
|
+
private static readonly REFRESH_TOKEN_COOKIE;
|
|
25
|
+
private static readonly PROFILE_ID_COOKIE;
|
|
26
|
+
static setAuthCookies(context: GraphQLContext, tokens: {
|
|
22
27
|
accessToken: string;
|
|
23
|
-
refreshToken
|
|
28
|
+
refreshToken?: string;
|
|
24
29
|
}, options?: {
|
|
30
|
+
profileId?: string;
|
|
25
31
|
rememberMe?: boolean;
|
|
26
32
|
}): void;
|
|
27
|
-
clearAuthCookies(context:
|
|
28
|
-
|
|
33
|
+
static clearAuthCookies(context: GraphQLContext): void;
|
|
34
|
+
private static setCookie;
|
|
35
|
+
}
|
|
36
|
+
|
|
29
37
|
interface TokenPayload {
|
|
30
38
|
jti: string;
|
|
31
39
|
sub: string;
|
package/dist/auth/index.js
CHANGED