/
opt
/
canhelp
/
node_modules
/
better-auth
/
node_modules
/
better-call
/
dist
/
/opt/canhelp/node_modules/better-auth/node_modules/better-call/dist
mkdir
upload
Name
Size
Mode
Actions
adapters/
-
0755
rm
_virtual/
-
0755
rm
client.cjs
980
0644
edit
dl
rm
client.cjs.map
3882
0644
edit
dl
rm
client.d.cts
3098
0644
edit
dl
rm
client.d.mts
3098
0644
edit
dl
rm
client.mjs
617
0644
edit
dl
rm
client.mjs.map
3883
0644
edit
dl
rm
context.cjs
3936
0644
edit
dl
rm
context.cjs.map
12836
0644
edit
dl
rm
context.d.cts
12695
0644
edit
dl
rm
context.d.mts
12695
0644
edit
dl
rm
context.mjs
3796
0644
edit
dl
rm
context.mjs.map
12655
0644
edit
dl
rm
cookies.cjs
3201
0644
edit
dl
rm
cookies.cjs.map
9553
0644
edit
dl
rm
cookies.d.cts
4491
0644
edit
dl
rm
cookies.d.mts
4491
0644
edit
dl
rm
cookies.mjs
3074
0644
edit
dl
rm
cookies.mjs.map
9521
0644
edit
dl
rm
crypto.cjs
1580
0644
edit
dl
rm
crypto.cjs.map
2680
0644
edit
dl
rm
crypto.mjs
1376
0644
edit
dl
rm
crypto.mjs.map
2694
0644
edit
dl
rm
endpoint.cjs
2507
0644
edit
dl
rm
endpoint.cjs.map
21307
0644
edit
dl
rm
endpoint.d.cts
13742
0644
edit
dl
rm
endpoint.d.mts
13742
0644
edit
dl
rm
endpoint.mjs
2402
0644
edit
dl
rm
endpoint.mjs.map
21188
0644
edit
dl
rm
error.cjs
3981
0644
edit
dl
rm
error.cjs.map
7666
0644
edit
dl
rm
error.d.cts
4668
0644
edit
dl
rm
error.d.mts
4668
0644
edit
dl
rm
error.mjs
3722
0644
edit
dl
rm
error.mjs.map
7664
0644
edit
dl
rm
helper.d.cts
1579
0644
edit
dl
rm
helper.d.mts
1579
0644
edit
dl
rm
index.cjs
1534
0644
edit
dl
rm
index.d.cts
2464
0644
edit
dl
rm
index.d.mts
2464
0644
edit
dl
rm
index.mjs
880
0644
edit
dl
rm
middleware.cjs
1732
0644
edit
dl
rm
middleware.cjs.map
7961
0644
edit
dl
rm
middleware.d.cts
4446
0644
edit
dl
rm
middleware.d.mts
4446
0644
edit
dl
rm
middleware.mjs
1678
0644
edit
dl
rm
middleware.mjs.map
7897
0644
edit
dl
rm
node.cjs
684
0644
edit
dl
rm
node.cjs.map
1047
0644
edit
dl
rm
node.d.cts
432
0644
edit
dl
rm
node.d.mts
432
0644
edit
dl
rm
node.mjs
498
0644
edit
dl
rm
node.mjs.map
1016
0644
edit
dl
rm
openapi.cjs
6018
0644
edit
dl
rm
openapi.cjs.map
14067
0644
edit
dl
rm
openapi.d.cts
2541
0644
edit
dl
rm
openapi.d.mts
2541
0644
edit
dl
rm
openapi.mjs
5914
0644
edit
dl
rm
openapi.mjs.map
14030
0644
edit
dl
rm
router.cjs
4562
0644
edit
dl
rm
router.cjs.map
11641
0644
edit
dl
rm
router.d.cts
2655
0644
edit
dl
rm
router.d.mts
2655
0644
edit
dl
rm
router.mjs
4326
0644
edit
dl
rm
router.mjs.map
11586
0644
edit
dl
rm
standard-schema.d.cts
2364
0644
edit
dl
rm
standard-schema.d.mts
2364
0644
edit
dl
rm
to-response.cjs
3474
0644
edit
dl
rm
to-response.cjs.map
6869
0644
edit
dl
rm
to-response.d.cts
375
0644
edit
dl
rm
to-response.d.mts
375
0644
edit
dl
rm
to-response.mjs
3444
0644
edit
dl
rm
to-response.mjs.map
6855
0644
edit
dl
rm
utils.cjs
3063
0644
edit
dl
rm
utils.cjs.map
5492
0644
edit
dl
rm
utils.mjs
2928
0644
edit
dl
rm
utils.mjs.map
5476
0644
edit
dl
rm
validator.cjs
1351
0644
edit
dl
rm
validator.cjs.map
3098
0644
edit
dl
rm
validator.mjs
1337
0644
edit
dl
rm
validator.mjs.map
3097
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/better-auth/node_modules/better-call/dist/cookies.d.mts
(4491B)
//#region src/cookies.d.ts type CookiePrefixOptions = "host" | "secure"; type CookieOptions = { /** * Domain of the cookie * * The Domain attribute specifies which server can receive a cookie. If specified, cookies are * available on the specified server and its subdomains. If the it is not * specified, the cookies are available on the server that sets it but not on * its subdomains. * * @example * `domain: "example.com"` */ domain?: string; /** * A lifetime of a cookie. Permanent cookies are deleted after the date specified in the * Expires attribute: * * Expires has been available for longer than Max-Age, however Max-Age is less error-prone, and * takes precedence when both are set. The rationale behind this is that when you set an * Expires date and time, they're relative to the client the cookie is being set on. If the * server is set to a different time, this could cause errors */ expires?: Date; /** * Forbids JavaScript from accessing the cookie, for example, through the Document.cookie * property. Note that a cookie that has been created with HttpOnly will still be sent with * JavaScript-initiated requests, for example, when calling XMLHttpRequest.send() or fetch(). * This mitigates attacks against cross-site scripting */ httpOnly?: boolean; /** * Indicates the number of seconds until the cookie expires. A zero or negative number will * expire the cookie immediately. If both Expires and Max-Age are set, Max-Age has precedence. * * @example 604800 - 7 days */ maxAge?: number; /** * Indicates the path that must exist in the requested URL for the browser to send the Cookie * header. * * @example * "/docs" * // -> the request paths /docs, /docs/, /docs/Web/, and /docs/Web/HTTP will all match. the request paths /, /fr/docs will not match. */ path?: string; /** * Indicates that the cookie is sent to the server only when a request is made with the https: * scheme (except on localhost), and therefore, is more resistant to man-in-the-middle attacks. */ secure?: boolean; /** * Controls whether or not a cookie is sent with cross-site requests, providing some protection * against cross-site request forgery attacks (CSRF). * * Strict - Means that the browser sends the cookie only for same-site requests, that is, * requests originating from the same site that set the cookie. If a request originates from a * different domain or scheme (even with the same domain), no cookies with the SameSite=Strict * attribute are sent. * * Lax - Means that the cookie is not sent on cross-site requests, such as on requests to load * images or frames, but is sent when a user is navigating to the origin site from an external * site (for example, when following a link). This is the default behavior if the SameSite * attribute is not specified. * * None - Means that the browser sends the cookie with both cross-site and same-site requests. * The Secure attribute must also be set when setting this value. */ sameSite?: "Strict" | "Lax" | "None" | "strict" | "lax" | "none"; /** * Indicates that the cookie should be stored using partitioned storage. Note that if this is * set, the Secure directive must also be set. * * @see https://developer.mozilla.org/en-US/docs/Web/Privacy/Privacy_sandbox/Partitioned_cookies */ partitioned?: boolean; /** * Cooke Prefix * * - secure: `__Secure-` -> `__Secure-cookie-name` * - host: `__Host-` -> `__Host-cookie-name` * * `secure` must be set to true to use prefixes */ prefix?: CookiePrefixOptions; }; declare const getCookieKey: (key: string, prefix?: CookiePrefixOptions) => string | undefined; /** * Parse an HTTP Cookie header string and returning an object of all cookie * name-value pairs. * * Inspired by https://github.com/unjs/cookie-es/blob/main/src/cookie/parse.ts * * @param str the string representing a `Cookie` header value */ declare function parseCookies(str: string): Map<string, string>; declare const serializeCookie: (key: string, value: string, opt?: CookieOptions) => string; declare const serializeSignedCookie: (key: string, value: string, secret: string, opt?: CookieOptions) => Promise<string>; //#endregion export { CookieOptions, CookiePrefixOptions, getCookieKey, parseCookies, serializeCookie, serializeSignedCookie }; //# sourceMappingURL=cookies.d.mts.map
Save
cmd:
run