@temporary-name/server 1.9.3-alpha.f9f5ce625d5edee78250b87b3a64f1d9760c2244 → 1.9.3-alpha.fb7e3a67f82deaeffad5063e136b2f3c03c4b5b3
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/adapters/aws-lambda/index.d.mts +5 -6
- package/dist/adapters/aws-lambda/index.d.ts +5 -6
- package/dist/adapters/aws-lambda/index.mjs +5 -6
- package/dist/adapters/fetch/index.d.mts +8 -85
- package/dist/adapters/fetch/index.d.ts +8 -85
- package/dist/adapters/fetch/index.mjs +17 -157
- package/dist/adapters/node/index.d.mts +9 -63
- package/dist/adapters/node/index.d.ts +9 -63
- package/dist/adapters/node/index.mjs +15 -122
- package/dist/handler/index.d.mts +28 -0
- package/dist/handler/index.d.ts +28 -0
- package/dist/handler/index.mjs +8 -0
- package/dist/helpers/index.mjs +3 -29
- package/dist/index.d.mts +356 -206
- package/dist/index.d.ts +356 -206
- package/dist/index.mjs +466 -163
- package/dist/openapi/index.d.mts +18 -53
- package/dist/openapi/index.d.ts +18 -53
- package/dist/openapi/index.mjs +391 -368
- package/dist/shared/server.-tR-4rQ5.mjs +523 -0
- package/dist/shared/server.BwcJq6aP.d.mts +808 -0
- package/dist/shared/server.BwcJq6aP.d.ts +808 -0
- package/dist/shared/server.C1RJffw4.mjs +30 -0
- package/dist/shared/server.CjPiuQYH.d.mts +51 -0
- package/dist/shared/server.CjPiuQYH.d.ts +51 -0
- package/dist/shared/server.D2NXNHIf.mjs +156 -0
- package/dist/shared/server.Deg5phAY.d.ts +39 -0
- package/dist/shared/server.DvgWQUGK.mjs +496 -0
- package/dist/shared/server.hAH-LVh_.d.mts +39 -0
- package/dist/shared/server.n1y5fcVQ.mjs +315 -0
- package/package.json +13 -31
- package/dist/adapters/standard/index.d.mts +0 -30
- package/dist/adapters/standard/index.d.ts +0 -30
- package/dist/adapters/standard/index.mjs +0 -9
- package/dist/plugins/index.d.mts +0 -84
- package/dist/plugins/index.d.ts +0 -84
- package/dist/plugins/index.mjs +0 -122
- package/dist/shared/server.7aL9gcoU.d.mts +0 -23
- package/dist/shared/server.BL2R5jcp.d.mts +0 -228
- package/dist/shared/server.BL2R5jcp.d.ts +0 -228
- package/dist/shared/server.CVBLzkro.mjs +0 -255
- package/dist/shared/server.ClhVCxfg.mjs +0 -413
- package/dist/shared/server.D6Qs_UcF.d.mts +0 -55
- package/dist/shared/server.DFptr1Nz.d.ts +0 -23
- package/dist/shared/server.DpoO_ER_.d.ts +0 -55
- package/dist/shared/server.JtIZ8YG7.mjs +0 -237
|
@@ -1,31 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Interceptor, MaybeOptionalOptions } from '@temporary-name/shared';
|
|
1
|
+
import { MaybeOptionalOptions } from '@temporary-name/shared';
|
|
3
2
|
import { SendStandardResponseOptions, NodeHttpRequest, NodeHttpResponse } from '@temporary-name/standard-server-node';
|
|
4
|
-
import {
|
|
5
|
-
import { F as FriendlyStandardHandleOptions } from '../../shared/server.
|
|
6
|
-
import
|
|
7
|
-
import '@temporary-name/contract';
|
|
8
|
-
|
|
9
|
-
interface NodeHttpHandlerPlugin<T extends Context> extends StandardHandlerPlugin<T> {
|
|
10
|
-
initRuntimeAdapter?(options: NodeHttpHandlerOptions<T>): void;
|
|
11
|
-
}
|
|
12
|
-
declare class CompositeNodeHttpHandlerPlugin<T extends Context, TPlugin extends NodeHttpHandlerPlugin<T>> extends CompositeStandardHandlerPlugin<T, TPlugin> implements NodeHttpHandlerPlugin<T> {
|
|
13
|
-
initRuntimeAdapter(options: NodeHttpHandlerOptions<T>): void;
|
|
14
|
-
}
|
|
3
|
+
import { C as Context, m as Router } from '../../shared/server.BwcJq6aP.js';
|
|
4
|
+
import { F as FriendlyStandardHandleOptions } from '../../shared/server.Deg5phAY.js';
|
|
5
|
+
import '@temporary-name/zod';
|
|
15
6
|
|
|
16
7
|
type NodeHttpHandleResult = {
|
|
17
8
|
matched: true;
|
|
18
9
|
} | {
|
|
19
10
|
matched: false;
|
|
20
11
|
};
|
|
21
|
-
interface
|
|
22
|
-
request: NodeHttpRequest;
|
|
23
|
-
response: NodeHttpResponse;
|
|
24
|
-
sendStandardResponseOptions: SendStandardResponseOptions;
|
|
25
|
-
}
|
|
26
|
-
interface NodeHttpHandlerOptions<T extends Context> extends SendStandardResponseOptions, Omit<StandardHandlerOptions<T>, 'plugins'> {
|
|
27
|
-
adapterInterceptors?: Interceptor<NodeHttpHandlerInterceptorOptions<T>, Promise<NodeHttpHandleResult>>[];
|
|
28
|
-
plugins?: NodeHttpHandlerPlugin<T>[];
|
|
12
|
+
interface NodeHttpHandlerOptions extends SendStandardResponseOptions {
|
|
29
13
|
}
|
|
30
14
|
/**
|
|
31
15
|
* OpenAPI Handler for Node Server
|
|
@@ -33,50 +17,12 @@ interface NodeHttpHandlerOptions<T extends Context> extends SendStandardResponse
|
|
|
33
17
|
* @see {@link https://orpc.unnoq.com/docs/openapi/openapi-handler OpenAPI Handler Docs}
|
|
34
18
|
* @see {@link https://orpc.unnoq.com/docs/adapters/http HTTP Adapter Docs}
|
|
35
19
|
*/
|
|
36
|
-
declare class NodeHttpHandler<T extends Context>
|
|
20
|
+
declare class NodeHttpHandler<T extends Context> {
|
|
37
21
|
private readonly sendStandardResponseOptions;
|
|
38
|
-
private readonly adapterInterceptors;
|
|
39
22
|
private readonly standardHandler;
|
|
40
|
-
constructor(router: Router<
|
|
23
|
+
constructor(router: Router<T>, options?: NoInfer<NodeHttpHandlerOptions>);
|
|
41
24
|
handle(request: NodeHttpRequest, response: NodeHttpResponse, ...rest: MaybeOptionalOptions<FriendlyStandardHandleOptions<T>>): Promise<NodeHttpHandleResult>;
|
|
42
25
|
}
|
|
43
26
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
* The maximum size of the body in bytes.
|
|
47
|
-
*/
|
|
48
|
-
maxBodySize: number;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* The Body Limit Plugin restricts the size of the request body for the Node.js HTTP Server.
|
|
52
|
-
*
|
|
53
|
-
* @see {@link https://orpc.unnoq.com/docs/plugins/body-limit Body Limit Plugin Docs}
|
|
54
|
-
*/
|
|
55
|
-
declare class BodyLimitPlugin<T extends Context> implements NodeHttpHandlerPlugin<T> {
|
|
56
|
-
private readonly maxBodySize;
|
|
57
|
-
constructor(options: BodyLimitPluginOptions);
|
|
58
|
-
initRuntimeAdapter(options: NodeHttpHandlerOptions<T>): void;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
interface CompressionPluginOptions extends compression.CompressionOptions {
|
|
62
|
-
/**
|
|
63
|
-
* Override the default content-type filter used to determine which responses should be compressed.
|
|
64
|
-
*
|
|
65
|
-
* @warning [Event Iterator](https://orpc.unnoq.com/docs/event-iterator) responses are never compressed, regardless of this filter's return value.
|
|
66
|
-
* @default only responses with compressible content types are compressed.
|
|
67
|
-
*/
|
|
68
|
-
filter?: (req: NodeHttpRequest, res: NodeHttpResponse) => boolean;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* The Compression Plugin adds response compression to the Node.js HTTP Server.
|
|
72
|
-
*
|
|
73
|
-
* @see {@link https://orpc.unnoq.com/docs/plugins/compression Compression Plugin Docs}
|
|
74
|
-
*/
|
|
75
|
-
declare class CompressionPlugin<T extends Context> implements NodeHttpHandlerPlugin<T> {
|
|
76
|
-
private readonly compressionHandler;
|
|
77
|
-
constructor(options?: CompressionPluginOptions);
|
|
78
|
-
initRuntimeAdapter(options: NodeHttpHandlerOptions<T>): void;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export { BodyLimitPlugin, CompositeNodeHttpHandlerPlugin, CompressionPlugin, NodeHttpHandler };
|
|
82
|
-
export type { BodyLimitPluginOptions, CompressionPluginOptions, NodeHttpHandleResult, NodeHttpHandlerInterceptorOptions, NodeHttpHandlerOptions, NodeHttpHandlerPlugin };
|
|
27
|
+
export { NodeHttpHandler };
|
|
28
|
+
export type { NodeHttpHandleResult, NodeHttpHandlerOptions };
|
|
@@ -1,137 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import compression from '@temporary-name/interop/compression';
|
|
1
|
+
import { resolveMaybeOptionalOptions } from '@temporary-name/shared';
|
|
3
2
|
import { toStandardLazyRequest, sendStandardResponse } from '@temporary-name/standard-server-node';
|
|
4
|
-
import {
|
|
5
|
-
import '@temporary-name/contract';
|
|
6
|
-
import '@temporary-name/standard-server';
|
|
3
|
+
import { S as StandardHandler, r as resolveFriendlyStandardHandleOptions } from '../../shared/server.n1y5fcVQ.mjs';
|
|
7
4
|
import '@temporary-name/server';
|
|
5
|
+
import '@temporary-name/standard-server';
|
|
6
|
+
import '../../shared/server.DvgWQUGK.mjs';
|
|
8
7
|
import 'rou3';
|
|
8
|
+
import '../../shared/server.D2NXNHIf.mjs';
|
|
9
9
|
import '@temporary-name/zod';
|
|
10
|
-
import '../../shared/server.ClhVCxfg.mjs';
|
|
11
|
-
import '../../shared/server.JtIZ8YG7.mjs';
|
|
12
|
-
|
|
13
|
-
class BodyLimitPlugin {
|
|
14
|
-
maxBodySize;
|
|
15
|
-
constructor(options) {
|
|
16
|
-
this.maxBodySize = options.maxBodySize;
|
|
17
|
-
}
|
|
18
|
-
initRuntimeAdapter(options) {
|
|
19
|
-
options.adapterInterceptors ??= [];
|
|
20
|
-
options.adapterInterceptors.push(async (options2) => {
|
|
21
|
-
const checkHeader = once(() => {
|
|
22
|
-
if (Number(options2.request.headers["content-length"]) > this.maxBodySize) {
|
|
23
|
-
throw new ORPCError("PAYLOAD_TOO_LARGE");
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
const originalEmit = options2.request.emit;
|
|
27
|
-
let currentBodySize = 0;
|
|
28
|
-
options2.request.emit = (event, ...args) => {
|
|
29
|
-
if (event === "data") {
|
|
30
|
-
checkHeader();
|
|
31
|
-
currentBodySize += args[0].length;
|
|
32
|
-
if (currentBodySize > this.maxBodySize) {
|
|
33
|
-
throw new ORPCError("PAYLOAD_TOO_LARGE");
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return originalEmit.call(options2.request, event, ...args);
|
|
37
|
-
};
|
|
38
|
-
try {
|
|
39
|
-
return await options2.next(options2);
|
|
40
|
-
} finally {
|
|
41
|
-
options2.request.emit = originalEmit;
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
class CompressionPlugin {
|
|
48
|
-
compressionHandler;
|
|
49
|
-
constructor(options = {}) {
|
|
50
|
-
this.compressionHandler = compression({
|
|
51
|
-
...options,
|
|
52
|
-
filter: (req, res) => {
|
|
53
|
-
const hasContentDisposition = res.hasHeader("content-disposition");
|
|
54
|
-
const contentType = res.getHeader("content-type")?.toString();
|
|
55
|
-
if (!hasContentDisposition && contentType?.startsWith("text/event-stream")) {
|
|
56
|
-
return false;
|
|
57
|
-
}
|
|
58
|
-
return options.filter ? options.filter(req, res) : compression.filter(req, res);
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
initRuntimeAdapter(options) {
|
|
63
|
-
options.adapterInterceptors ??= [];
|
|
64
|
-
options.adapterInterceptors.unshift(async (options2) => {
|
|
65
|
-
let resolve;
|
|
66
|
-
let reject;
|
|
67
|
-
const promise = new Promise((res, rej) => {
|
|
68
|
-
resolve = res;
|
|
69
|
-
reject = rej;
|
|
70
|
-
});
|
|
71
|
-
const originalWrite = options2.response.write;
|
|
72
|
-
const originalEnd = options2.response.end;
|
|
73
|
-
const originalOn = options2.response.on;
|
|
74
|
-
this.compressionHandler(options2.request, options2.response, async (err) => {
|
|
75
|
-
if (err) {
|
|
76
|
-
reject(err);
|
|
77
|
-
} else {
|
|
78
|
-
try {
|
|
79
|
-
resolve(await options2.next());
|
|
80
|
-
} catch (error) {
|
|
81
|
-
reject(error);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
try {
|
|
86
|
-
return await promise;
|
|
87
|
-
} finally {
|
|
88
|
-
options2.response.write = originalWrite;
|
|
89
|
-
options2.response.end = originalEnd;
|
|
90
|
-
options2.response.on = originalOn;
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
class CompositeNodeHttpHandlerPlugin extends CompositeStandardHandlerPlugin {
|
|
97
|
-
initRuntimeAdapter(options) {
|
|
98
|
-
for (const plugin of this.plugins) {
|
|
99
|
-
plugin.initRuntimeAdapter?.(options);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
10
|
|
|
104
11
|
class NodeHttpHandler {
|
|
105
12
|
sendStandardResponseOptions;
|
|
106
|
-
adapterInterceptors;
|
|
107
13
|
standardHandler;
|
|
108
14
|
constructor(router, options = {}) {
|
|
109
|
-
this.standardHandler = new StandardHandler(router
|
|
110
|
-
const plugin = new CompositeNodeHttpHandlerPlugin(options.plugins);
|
|
111
|
-
plugin.initRuntimeAdapter(options);
|
|
112
|
-
this.adapterInterceptors = toArray(options.adapterInterceptors);
|
|
15
|
+
this.standardHandler = new StandardHandler(router);
|
|
113
16
|
this.sendStandardResponseOptions = options;
|
|
114
17
|
}
|
|
115
18
|
async handle(request, response, ...rest) {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
async ({ request: request2, response: response2, sendStandardResponseOptions, ...options }) => {
|
|
125
|
-
const standardRequest = toStandardLazyRequest(request2, response2);
|
|
126
|
-
const result = await this.standardHandler.handle(standardRequest, options);
|
|
127
|
-
if (!result.matched) {
|
|
128
|
-
return { matched: false };
|
|
129
|
-
}
|
|
130
|
-
await sendStandardResponse(response2, result.response, sendStandardResponseOptions);
|
|
131
|
-
return { matched: true };
|
|
132
|
-
}
|
|
133
|
-
);
|
|
19
|
+
const options = resolveFriendlyStandardHandleOptions(resolveMaybeOptionalOptions(rest));
|
|
20
|
+
const standardRequest = toStandardLazyRequest(request, response);
|
|
21
|
+
const result = await this.standardHandler.handle(standardRequest, options);
|
|
22
|
+
if (!result.matched) {
|
|
23
|
+
return { matched: false };
|
|
24
|
+
}
|
|
25
|
+
await sendStandardResponse(response, result.response, this.sendStandardResponseOptions);
|
|
26
|
+
return { matched: true };
|
|
134
27
|
}
|
|
135
28
|
}
|
|
136
29
|
|
|
137
|
-
export {
|
|
30
|
+
export { NodeHttpHandler };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export { F as FriendlyStandardHandleOptions, S as StandardHandleOptions, a as StandardHandleResult, b as StandardHandler, d as decodeParams, r as resolveFriendlyStandardHandleOptions, t as toRou3Pattern } from '../shared/server.hAH-LVh_.mjs';
|
|
2
|
+
import { AnyProcedure, AnyRouter } from '@temporary-name/server';
|
|
3
|
+
import { StandardLazyRequest, StandardResponse, HTTPPath } from '@temporary-name/shared';
|
|
4
|
+
import '../shared/server.BwcJq6aP.mjs';
|
|
5
|
+
import '@temporary-name/zod';
|
|
6
|
+
|
|
7
|
+
declare function decode(request: StandardLazyRequest, pathParams: Record<string, string> | undefined): Promise<{
|
|
8
|
+
path: unknown;
|
|
9
|
+
query: unknown;
|
|
10
|
+
headers: Headers;
|
|
11
|
+
body: unknown;
|
|
12
|
+
}>;
|
|
13
|
+
declare function encode(output: unknown, procedure: AnyProcedure): StandardResponse;
|
|
14
|
+
|
|
15
|
+
type StandardMatchResult = {
|
|
16
|
+
path: readonly string[];
|
|
17
|
+
procedure: AnyProcedure;
|
|
18
|
+
params?: Record<string, string>;
|
|
19
|
+
} | undefined;
|
|
20
|
+
declare class StandardOpenAPIMatcher {
|
|
21
|
+
private readonly tree;
|
|
22
|
+
private pendingRouters;
|
|
23
|
+
init(router: AnyRouter, path?: readonly string[]): void;
|
|
24
|
+
match(method: string, pathname: HTTPPath): Promise<StandardMatchResult>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { StandardOpenAPIMatcher, decode, encode };
|
|
28
|
+
export type { StandardMatchResult };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export { F as FriendlyStandardHandleOptions, S as StandardHandleOptions, a as StandardHandleResult, b as StandardHandler, d as decodeParams, r as resolveFriendlyStandardHandleOptions, t as toRou3Pattern } from '../shared/server.Deg5phAY.js';
|
|
2
|
+
import { AnyProcedure, AnyRouter } from '@temporary-name/server';
|
|
3
|
+
import { StandardLazyRequest, StandardResponse, HTTPPath } from '@temporary-name/shared';
|
|
4
|
+
import '../shared/server.BwcJq6aP.js';
|
|
5
|
+
import '@temporary-name/zod';
|
|
6
|
+
|
|
7
|
+
declare function decode(request: StandardLazyRequest, pathParams: Record<string, string> | undefined): Promise<{
|
|
8
|
+
path: unknown;
|
|
9
|
+
query: unknown;
|
|
10
|
+
headers: Headers;
|
|
11
|
+
body: unknown;
|
|
12
|
+
}>;
|
|
13
|
+
declare function encode(output: unknown, procedure: AnyProcedure): StandardResponse;
|
|
14
|
+
|
|
15
|
+
type StandardMatchResult = {
|
|
16
|
+
path: readonly string[];
|
|
17
|
+
procedure: AnyProcedure;
|
|
18
|
+
params?: Record<string, string>;
|
|
19
|
+
} | undefined;
|
|
20
|
+
declare class StandardOpenAPIMatcher {
|
|
21
|
+
private readonly tree;
|
|
22
|
+
private pendingRouters;
|
|
23
|
+
init(router: AnyRouter, path?: readonly string[]): void;
|
|
24
|
+
match(method: string, pathname: HTTPPath): Promise<StandardMatchResult>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { StandardOpenAPIMatcher, decode, encode };
|
|
28
|
+
export type { StandardMatchResult };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { S as StandardHandler, a as StandardOpenAPIMatcher, d as decode, b as decodeParams, e as encode, r as resolveFriendlyStandardHandleOptions, t as toRou3Pattern } from '../shared/server.n1y5fcVQ.mjs';
|
|
2
|
+
import '@temporary-name/shared';
|
|
3
|
+
import '../shared/server.DvgWQUGK.mjs';
|
|
4
|
+
import '@temporary-name/zod';
|
|
5
|
+
import '../shared/server.D2NXNHIf.mjs';
|
|
6
|
+
import '@temporary-name/standard-server';
|
|
7
|
+
import '@temporary-name/server';
|
|
8
|
+
import 'rou3';
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
export { d as deleteCookie, g as getCookie, s as setCookie } from '../shared/server.C1RJffw4.mjs';
|
|
2
|
+
import 'cookie';
|
|
2
3
|
|
|
3
4
|
function encodeBase64url(data) {
|
|
4
5
|
const chunkSize = 8192;
|
|
@@ -30,33 +31,6 @@ function decodeBase64url(base64url) {
|
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
|
|
33
|
-
function setCookie(headers, name, value, options = {}) {
|
|
34
|
-
if (headers === void 0) {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
const cookieString = serialize(name, value, {
|
|
38
|
-
path: "/",
|
|
39
|
-
...options
|
|
40
|
-
});
|
|
41
|
-
headers.append("Set-Cookie", cookieString);
|
|
42
|
-
}
|
|
43
|
-
function getCookie(headers, name, options = {}) {
|
|
44
|
-
if (headers === void 0) {
|
|
45
|
-
return void 0;
|
|
46
|
-
}
|
|
47
|
-
const cookieHeader = headers.get("cookie");
|
|
48
|
-
if (cookieHeader === null) {
|
|
49
|
-
return void 0;
|
|
50
|
-
}
|
|
51
|
-
return parse(cookieHeader, options)[name];
|
|
52
|
-
}
|
|
53
|
-
function deleteCookie(headers, name, options = {}) {
|
|
54
|
-
return setCookie(headers, name, "", {
|
|
55
|
-
...options,
|
|
56
|
-
maxAge: 0
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
|
|
60
34
|
const PBKDF2_CONFIG = {
|
|
61
35
|
name: "PBKDF2",
|
|
62
36
|
iterations: 6e4,
|
|
@@ -165,4 +139,4 @@ function getSignedValue(signedValue) {
|
|
|
165
139
|
return signedValue.slice(0, lastDotIndex);
|
|
166
140
|
}
|
|
167
141
|
|
|
168
|
-
export { decodeBase64url, decrypt,
|
|
142
|
+
export { decodeBase64url, decrypt, encodeBase64url, encrypt, getSignedValue, sign, unsign };
|