@authhero/saml 0.4.0 → 0.4.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.
@@ -0,0 +1,425 @@
1
+ import { z } from "@hono/zod-openapi";
2
+ export declare const samlIssuerSchema: z.ZodObject<{
3
+ "#text": z.ZodString;
4
+ "@_xmlns:saml": z.ZodOptional<z.ZodString>;
5
+ }, z.core.$strip>;
6
+ export declare const samlRequestSchema: z.ZodObject<{
7
+ "samlp:AuthnRequest": z.ZodObject<{
8
+ "saml:Issuer": z.ZodObject<{
9
+ "#text": z.ZodString;
10
+ "@_xmlns:saml": z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ "@_xmlns:samlp": z.ZodString;
13
+ "@_xmlns:saml": z.ZodOptional<z.ZodString>;
14
+ "@_ForceAuthn": z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<boolean, string>>>;
15
+ "@_ID": z.ZodString;
16
+ "@_IssueInstant": z.ZodString;
17
+ "@_Destination": z.ZodString;
18
+ "@_AssertionConsumerServiceURL": z.ZodOptional<z.ZodString>;
19
+ "@_ProtocolBinding": z.ZodOptional<z.ZodString>;
20
+ "@_Version": z.ZodString;
21
+ }, z.core.$strip>;
22
+ }, z.core.$strip>;
23
+ export declare const samlMetadataResponseSchema: z.ZodArray<z.ZodObject<{
24
+ ":@": z.ZodObject<{
25
+ "@_xmlns": z.ZodString;
26
+ "@_entityID": z.ZodString;
27
+ }, z.core.$strip>;
28
+ EntityDescriptor: z.ZodArray<z.ZodObject<{
29
+ ":@": z.ZodObject<{
30
+ "@_protocolSupportEnumeration": z.ZodString;
31
+ }, z.core.$strip>;
32
+ IDPSSODescriptor: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
33
+ KeyDescriptor: z.ZodArray<z.ZodObject<{
34
+ KeyInfo: z.ZodArray<z.ZodObject<{
35
+ X509Data: z.ZodArray<z.ZodObject<{
36
+ X509Certificate: z.ZodArray<z.ZodObject<{
37
+ "#text": z.ZodString;
38
+ }, z.core.$strip>>;
39
+ }, z.core.$strip>>;
40
+ }, z.core.$strip>>;
41
+ ":@": z.ZodObject<{
42
+ "@_xmlns": z.ZodString;
43
+ }, z.core.$strip>;
44
+ }, z.core.$strip>>;
45
+ ":@": z.ZodObject<{
46
+ "@_use": z.ZodString;
47
+ }, z.core.$strip>;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ SingleLogoutService: z.ZodArray<z.ZodObject<{}, z.core.$strip>>;
50
+ ":@": z.ZodObject<{
51
+ "@_Binding": z.ZodString;
52
+ "@_Location": z.ZodString;
53
+ }, z.core.$strip>;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ NameIDFormat: z.ZodArray<z.ZodObject<{
56
+ "#text": z.ZodString;
57
+ }, z.core.$strip>>;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ SingleSignOnService: z.ZodArray<z.ZodObject<{}, z.core.$strip>>;
60
+ ":@": z.ZodObject<{
61
+ "@_Binding": z.ZodString;
62
+ "@_Location": z.ZodString;
63
+ }, z.core.$strip>;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ Attribute: z.ZodArray<z.ZodObject<{}, z.core.$strip>>;
66
+ ":@": z.ZodObject<{
67
+ "@_Name": z.ZodString;
68
+ "@_NameFormat": z.ZodString;
69
+ "@_FriendlyName": z.ZodString;
70
+ "@_xmlns": z.ZodString;
71
+ }, z.core.$strip>;
72
+ }, z.core.$strip>]>>;
73
+ }, z.core.$strip>>;
74
+ }, z.core.$strip>>;
75
+ export type SAMLMetadataResponse = z.infer<typeof samlMetadataResponseSchema>;
76
+ export declare const dsSignatureSchema: z.ZodObject<{
77
+ "ds:Signature": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
78
+ "ds:SignedInfo": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
79
+ "ds:CanonicalizationMethod": z.ZodArray<z.ZodObject<{
80
+ ":@": z.ZodObject<{
81
+ "@_Algorithm": z.ZodString;
82
+ }, z.core.$strip>;
83
+ }, z.core.$strip>>;
84
+ }, z.core.$strip>, z.ZodObject<{
85
+ "ds:SignatureMethod": z.ZodArray<z.ZodObject<{
86
+ ":@": z.ZodObject<{
87
+ "@_Algorithm": z.ZodString;
88
+ }, z.core.$strip>;
89
+ }, z.core.$strip>>;
90
+ }, z.core.$strip>, z.ZodObject<{
91
+ "ds:Reference": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
92
+ "ds:Transforms": z.ZodArray<z.ZodObject<{
93
+ "ds:Transform": z.ZodArray<z.ZodAny>;
94
+ ":@": z.ZodObject<{
95
+ "@_Algorithm": z.ZodString;
96
+ }, z.core.$strip>;
97
+ }, z.core.$strip>>;
98
+ }, z.core.$strip>, z.ZodObject<{
99
+ "ds:DigestMethod": z.ZodArray<z.ZodObject<{
100
+ ":@": z.ZodObject<{
101
+ "@_Algorithm": z.ZodString;
102
+ }, z.core.$strip>;
103
+ }, z.core.$strip>>;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ "ds:DigestValue": z.ZodArray<z.ZodObject<{
106
+ "#text": z.ZodString;
107
+ }, z.core.$strip>>;
108
+ }, z.core.$strip>]>>;
109
+ ":@": z.ZodOptional<z.ZodObject<{
110
+ "@_URI": z.ZodOptional<z.ZodString>;
111
+ }, z.core.$strip>>;
112
+ }, z.core.$strip>]>>;
113
+ }, z.core.$strip>, z.ZodObject<{
114
+ "ds:SignatureValue": z.ZodArray<z.ZodObject<{
115
+ "#text": z.ZodString;
116
+ }, z.core.$strip>>;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ "ds:KeyInfo": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
119
+ "ds:KeyValue": z.ZodArray<z.ZodObject<{
120
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
121
+ "ds:Modulus": z.ZodArray<z.ZodObject<{
122
+ "#text": z.ZodString;
123
+ }, z.core.$strip>>;
124
+ }, z.core.$strip>, z.ZodObject<{
125
+ "ds:Exponent": z.ZodArray<z.ZodObject<{
126
+ "#text": z.ZodString;
127
+ }, z.core.$strip>>;
128
+ }, z.core.$strip>]>>;
129
+ }, z.core.$strip>>;
130
+ }, z.core.$strip>, z.ZodObject<{
131
+ "ds:X509Data": z.ZodArray<z.ZodObject<{
132
+ "ds:X509Certificate": z.ZodArray<z.ZodObject<{
133
+ "#text": z.ZodString;
134
+ }, z.core.$strip>>;
135
+ }, z.core.$strip>>;
136
+ }, z.core.$strip>, z.ZodObject<{
137
+ "ds:KeyValue": z.ZodArray<z.ZodObject<{
138
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
139
+ "ds:Modulus": z.ZodArray<z.ZodObject<{
140
+ "#text": z.ZodString;
141
+ }, z.core.$strip>>;
142
+ }, z.core.$strip>, z.ZodObject<{
143
+ "ds:Exponent": z.ZodArray<z.ZodObject<{
144
+ "#text": z.ZodString;
145
+ }, z.core.$strip>>;
146
+ }, z.core.$strip>]>>;
147
+ }, z.core.$strip>>;
148
+ "ds:X509Data": z.ZodArray<z.ZodObject<{
149
+ "ds:X509Certificate": z.ZodArray<z.ZodObject<{
150
+ "#text": z.ZodString;
151
+ }, z.core.$strip>>;
152
+ }, z.core.$strip>>;
153
+ }, z.core.$strip>]>>;
154
+ }, z.core.$strip>]>>;
155
+ ":@": z.ZodOptional<z.ZodObject<{
156
+ "@_xmlns:ds": z.ZodOptional<z.ZodString>;
157
+ }, z.core.$strip>>;
158
+ }, z.core.$strip>;
159
+ export type DSIGSignature = z.infer<typeof dsSignatureSchema>;
160
+ export declare const samlResponseJsonSchema: z.ZodArray<z.ZodObject<{
161
+ "samlp:Response": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
162
+ "saml:Issuer": z.ZodArray<z.ZodObject<{
163
+ "#text": z.ZodString;
164
+ }, z.core.$strip>>;
165
+ }, z.core.$strip>, z.ZodObject<{
166
+ "ds:Signature": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
167
+ "ds:SignedInfo": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
168
+ "ds:CanonicalizationMethod": z.ZodArray<z.ZodObject<{
169
+ ":@": z.ZodObject<{
170
+ "@_Algorithm": z.ZodString;
171
+ }, z.core.$strip>;
172
+ }, z.core.$strip>>;
173
+ }, z.core.$strip>, z.ZodObject<{
174
+ "ds:SignatureMethod": z.ZodArray<z.ZodObject<{
175
+ ":@": z.ZodObject<{
176
+ "@_Algorithm": z.ZodString;
177
+ }, z.core.$strip>;
178
+ }, z.core.$strip>>;
179
+ }, z.core.$strip>, z.ZodObject<{
180
+ "ds:Reference": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
181
+ "ds:Transforms": z.ZodArray<z.ZodObject<{
182
+ "ds:Transform": z.ZodArray<z.ZodAny>;
183
+ ":@": z.ZodObject<{
184
+ "@_Algorithm": z.ZodString;
185
+ }, z.core.$strip>;
186
+ }, z.core.$strip>>;
187
+ }, z.core.$strip>, z.ZodObject<{
188
+ "ds:DigestMethod": z.ZodArray<z.ZodObject<{
189
+ ":@": z.ZodObject<{
190
+ "@_Algorithm": z.ZodString;
191
+ }, z.core.$strip>;
192
+ }, z.core.$strip>>;
193
+ }, z.core.$strip>, z.ZodObject<{
194
+ "ds:DigestValue": z.ZodArray<z.ZodObject<{
195
+ "#text": z.ZodString;
196
+ }, z.core.$strip>>;
197
+ }, z.core.$strip>]>>;
198
+ ":@": z.ZodOptional<z.ZodObject<{
199
+ "@_URI": z.ZodOptional<z.ZodString>;
200
+ }, z.core.$strip>>;
201
+ }, z.core.$strip>]>>;
202
+ }, z.core.$strip>, z.ZodObject<{
203
+ "ds:SignatureValue": z.ZodArray<z.ZodObject<{
204
+ "#text": z.ZodString;
205
+ }, z.core.$strip>>;
206
+ }, z.core.$strip>, z.ZodObject<{
207
+ "ds:KeyInfo": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
208
+ "ds:KeyValue": z.ZodArray<z.ZodObject<{
209
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
210
+ "ds:Modulus": z.ZodArray<z.ZodObject<{
211
+ "#text": z.ZodString;
212
+ }, z.core.$strip>>;
213
+ }, z.core.$strip>, z.ZodObject<{
214
+ "ds:Exponent": z.ZodArray<z.ZodObject<{
215
+ "#text": z.ZodString;
216
+ }, z.core.$strip>>;
217
+ }, z.core.$strip>]>>;
218
+ }, z.core.$strip>>;
219
+ }, z.core.$strip>, z.ZodObject<{
220
+ "ds:X509Data": z.ZodArray<z.ZodObject<{
221
+ "ds:X509Certificate": z.ZodArray<z.ZodObject<{
222
+ "#text": z.ZodString;
223
+ }, z.core.$strip>>;
224
+ }, z.core.$strip>>;
225
+ }, z.core.$strip>, z.ZodObject<{
226
+ "ds:KeyValue": z.ZodArray<z.ZodObject<{
227
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
228
+ "ds:Modulus": z.ZodArray<z.ZodObject<{
229
+ "#text": z.ZodString;
230
+ }, z.core.$strip>>;
231
+ }, z.core.$strip>, z.ZodObject<{
232
+ "ds:Exponent": z.ZodArray<z.ZodObject<{
233
+ "#text": z.ZodString;
234
+ }, z.core.$strip>>;
235
+ }, z.core.$strip>]>>;
236
+ }, z.core.$strip>>;
237
+ "ds:X509Data": z.ZodArray<z.ZodObject<{
238
+ "ds:X509Certificate": z.ZodArray<z.ZodObject<{
239
+ "#text": z.ZodString;
240
+ }, z.core.$strip>>;
241
+ }, z.core.$strip>>;
242
+ }, z.core.$strip>]>>;
243
+ }, z.core.$strip>]>>;
244
+ ":@": z.ZodOptional<z.ZodObject<{
245
+ "@_xmlns:ds": z.ZodOptional<z.ZodString>;
246
+ }, z.core.$strip>>;
247
+ }, z.core.$strip>, z.ZodObject<{
248
+ "samlp:Status": z.ZodArray<z.ZodObject<{
249
+ "samlp:StatusCode": z.ZodArray<z.ZodObject<{
250
+ "#text": z.ZodString;
251
+ }, z.core.$strip>>;
252
+ ":@": z.ZodObject<{
253
+ "@_Value": z.ZodString;
254
+ }, z.core.$strip>;
255
+ }, z.core.$strip>>;
256
+ }, z.core.$strip>, z.ZodObject<{
257
+ "saml:Assertion": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
258
+ "saml:Issuer": z.ZodArray<z.ZodObject<{
259
+ "#text": z.ZodString;
260
+ }, z.core.$strip>>;
261
+ }, z.core.$strip>, z.ZodObject<{
262
+ "ds:Signature": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
263
+ "ds:SignedInfo": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
264
+ "ds:CanonicalizationMethod": z.ZodArray<z.ZodObject<{
265
+ ":@": z.ZodObject<{
266
+ "@_Algorithm": z.ZodString;
267
+ }, z.core.$strip>;
268
+ }, z.core.$strip>>;
269
+ }, z.core.$strip>, z.ZodObject<{
270
+ "ds:SignatureMethod": z.ZodArray<z.ZodObject<{
271
+ ":@": z.ZodObject<{
272
+ "@_Algorithm": z.ZodString;
273
+ }, z.core.$strip>;
274
+ }, z.core.$strip>>;
275
+ }, z.core.$strip>, z.ZodObject<{
276
+ "ds:Reference": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
277
+ "ds:Transforms": z.ZodArray<z.ZodObject<{
278
+ "ds:Transform": z.ZodArray<z.ZodAny>;
279
+ ":@": z.ZodObject<{
280
+ "@_Algorithm": z.ZodString;
281
+ }, z.core.$strip>;
282
+ }, z.core.$strip>>;
283
+ }, z.core.$strip>, z.ZodObject<{
284
+ "ds:DigestMethod": z.ZodArray<z.ZodObject<{
285
+ ":@": z.ZodObject<{
286
+ "@_Algorithm": z.ZodString;
287
+ }, z.core.$strip>;
288
+ }, z.core.$strip>>;
289
+ }, z.core.$strip>, z.ZodObject<{
290
+ "ds:DigestValue": z.ZodArray<z.ZodObject<{
291
+ "#text": z.ZodString;
292
+ }, z.core.$strip>>;
293
+ }, z.core.$strip>]>>;
294
+ ":@": z.ZodOptional<z.ZodObject<{
295
+ "@_URI": z.ZodOptional<z.ZodString>;
296
+ }, z.core.$strip>>;
297
+ }, z.core.$strip>]>>;
298
+ }, z.core.$strip>, z.ZodObject<{
299
+ "ds:SignatureValue": z.ZodArray<z.ZodObject<{
300
+ "#text": z.ZodString;
301
+ }, z.core.$strip>>;
302
+ }, z.core.$strip>, z.ZodObject<{
303
+ "ds:KeyInfo": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
304
+ "ds:KeyValue": z.ZodArray<z.ZodObject<{
305
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
306
+ "ds:Modulus": z.ZodArray<z.ZodObject<{
307
+ "#text": z.ZodString;
308
+ }, z.core.$strip>>;
309
+ }, z.core.$strip>, z.ZodObject<{
310
+ "ds:Exponent": z.ZodArray<z.ZodObject<{
311
+ "#text": z.ZodString;
312
+ }, z.core.$strip>>;
313
+ }, z.core.$strip>]>>;
314
+ }, z.core.$strip>>;
315
+ }, z.core.$strip>, z.ZodObject<{
316
+ "ds:X509Data": z.ZodArray<z.ZodObject<{
317
+ "ds:X509Certificate": z.ZodArray<z.ZodObject<{
318
+ "#text": z.ZodString;
319
+ }, z.core.$strip>>;
320
+ }, z.core.$strip>>;
321
+ }, z.core.$strip>, z.ZodObject<{
322
+ "ds:KeyValue": z.ZodArray<z.ZodObject<{
323
+ "ds:RSAKeyValue": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
324
+ "ds:Modulus": z.ZodArray<z.ZodObject<{
325
+ "#text": z.ZodString;
326
+ }, z.core.$strip>>;
327
+ }, z.core.$strip>, z.ZodObject<{
328
+ "ds:Exponent": z.ZodArray<z.ZodObject<{
329
+ "#text": z.ZodString;
330
+ }, z.core.$strip>>;
331
+ }, z.core.$strip>]>>;
332
+ }, z.core.$strip>>;
333
+ "ds:X509Data": z.ZodArray<z.ZodObject<{
334
+ "ds:X509Certificate": z.ZodArray<z.ZodObject<{
335
+ "#text": z.ZodString;
336
+ }, z.core.$strip>>;
337
+ }, z.core.$strip>>;
338
+ }, z.core.$strip>]>>;
339
+ }, z.core.$strip>]>>;
340
+ ":@": z.ZodOptional<z.ZodObject<{
341
+ "@_xmlns:ds": z.ZodOptional<z.ZodString>;
342
+ }, z.core.$strip>>;
343
+ }, z.core.$strip>, z.ZodObject<{
344
+ "saml:Subject": z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
345
+ "saml:NameID": z.ZodArray<z.ZodObject<{
346
+ "#text": z.ZodString;
347
+ }, z.core.$strip>>;
348
+ ":@": z.ZodObject<{
349
+ "@_Format": z.ZodString;
350
+ }, z.core.$strip>;
351
+ }, z.core.$strip>, z.ZodObject<{
352
+ "saml:SubjectConfirmation": z.ZodArray<z.ZodObject<{
353
+ "saml:SubjectConfirmationData": z.ZodArray<z.ZodAny>;
354
+ ":@": z.ZodObject<{
355
+ "@_InResponseTo": z.ZodString;
356
+ "@_NotOnOrAfter": z.ZodString;
357
+ "@_Recipient": z.ZodString;
358
+ }, z.core.$strip>;
359
+ }, z.core.$strip>>;
360
+ ":@": z.ZodObject<{
361
+ "@_Method": z.ZodString;
362
+ }, z.core.$strip>;
363
+ }, z.core.$strip>]>>;
364
+ }, z.core.$strip>, z.ZodObject<{
365
+ "saml:Conditions": z.ZodArray<z.ZodObject<{
366
+ "saml:AudienceRestriction": z.ZodArray<z.ZodObject<{
367
+ "saml:Audience": z.ZodArray<z.ZodObject<{
368
+ "#text": z.ZodString;
369
+ }, z.core.$strip>>;
370
+ }, z.core.$strip>>;
371
+ }, z.core.$strip>>;
372
+ ":@": z.ZodObject<{
373
+ "@_NotBefore": z.ZodString;
374
+ "@_NotOnOrAfter": z.ZodString;
375
+ }, z.core.$strip>;
376
+ }, z.core.$strip>, z.ZodObject<{
377
+ "saml:AuthnStatement": z.ZodArray<z.ZodObject<{
378
+ "saml:AuthnContext": z.ZodArray<z.ZodObject<{
379
+ "saml:AuthnContextClassRef": z.ZodArray<z.ZodObject<{
380
+ "#text": z.ZodString;
381
+ }, z.core.$strip>>;
382
+ }, z.core.$strip>>;
383
+ }, z.core.$strip>>;
384
+ ":@": z.ZodObject<{
385
+ "@_AuthnInstant": z.ZodString;
386
+ "@_SessionIndex": z.ZodString;
387
+ "@_SessionNotOnOrAfter": z.ZodString;
388
+ }, z.core.$strip>;
389
+ }, z.core.$strip>, z.ZodObject<{
390
+ "saml:AttributeStatement": z.ZodArray<z.ZodObject<{
391
+ "saml:Attribute": z.ZodArray<z.ZodObject<{
392
+ "saml:AttributeValue": z.ZodArray<z.ZodObject<{
393
+ "#text": z.ZodString;
394
+ }, z.core.$strip>>;
395
+ ":@": z.ZodOptional<z.ZodObject<{
396
+ "@_xmlns:xs": z.ZodOptional<z.ZodString>;
397
+ "@_xmlns:xsi": z.ZodString;
398
+ "@_xsi:type": z.ZodString;
399
+ }, z.core.$strip>>;
400
+ }, z.core.$strip>>;
401
+ ":@": z.ZodObject<{
402
+ "@_Name": z.ZodString;
403
+ "@_NameFormat": z.ZodString;
404
+ "@_FriendlyName": z.ZodOptional<z.ZodString>;
405
+ }, z.core.$strip>;
406
+ }, z.core.$strip>>;
407
+ }, z.core.$strip>]>>;
408
+ ":@": z.ZodObject<{
409
+ "@_xmlns": z.ZodString;
410
+ "@_ID": z.ZodString;
411
+ "@_IssueInstant": z.ZodString;
412
+ "@_Version": z.ZodString;
413
+ }, z.core.$strip>;
414
+ }, z.core.$strip>]>>;
415
+ ":@": z.ZodObject<{
416
+ "@_xmlns:samlp": z.ZodString;
417
+ "@_xmlns:saml": z.ZodString;
418
+ "@_Destination": z.ZodString;
419
+ "@_ID": z.ZodString;
420
+ "@_InResponseTo": z.ZodString;
421
+ "@_IssueInstant": z.ZodString;
422
+ "@_Version": z.ZodString;
423
+ }, z.core.$strip>;
424
+ }, z.core.$strip>>;
425
+ export type SAMLResponseJSON = z.infer<typeof samlResponseJsonSchema>;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "0.4.0",
14
+ "version": "0.4.1",
15
15
  "files": [
16
16
  "dist"
17
17
  ],
@@ -38,7 +38,7 @@
38
38
  "devDependencies": {
39
39
  "@hono/zod-openapi": "^1.4.0",
40
40
  "@types/node": "^22.9.1",
41
- "dts-bundle-generator": "^9.5.1",
41
+ "rollup-plugin-dts": "^6.4.1",
42
42
  "typescript": "^5.6.3",
43
43
  "vite": "^5.4.11",
44
44
  "vitest": "^2.1.5"
@@ -59,10 +59,7 @@
59
59
  "build:main": "vite build --config vite.config.main.ts",
60
60
  "build:core": "vite build --config vite.config.core.ts",
61
61
  "build:local": "vite build --config vite.config.local.ts",
62
- "build:dts": "tsc && pnpm build:dts:main && pnpm build:dts:core && pnpm build:dts:local",
63
- "build:dts:main": "dts-bundle-generator -o ./dist/saml.d.ts ./src/index.ts --no-check",
64
- "build:dts:core": "dts-bundle-generator -o ./dist/core.d.ts ./src/core.ts --no-check",
65
- "build:dts:local": "dts-bundle-generator -o ./dist/local-signer.d.ts ./src/local-signer.ts --no-check",
62
+ "build:dts": "tsc -p tsconfig.types.json && rollup -c rollup.dts.config.mjs",
66
63
  "test": "vitest run"
67
64
  }
68
65
  }