@pagopa/io-wallet-oid4vp 2.0.0-apt → 2.0.0-launchpad
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/index.d.mts +4 -7
- package/dist/index.d.ts +4 -7
- package/dist/index.js +0 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -183,10 +183,6 @@ var zOpenid4vpAuthorizationRequestHeaderV1_3 = zOpenid4vpAuthorizationRequestHea
|
|
|
183
183
|
|
|
184
184
|
// src/authorization-request/create-authorization-request.ts
|
|
185
185
|
var dispatchCreateAuthorizationRequest = createVersionDispatcher({
|
|
186
|
-
[ItWalletSpecsVersion.APTITUDE]: async (o) => createAuthorizationRequestWithHeader(
|
|
187
|
-
o,
|
|
188
|
-
zOpenid4vpAuthorizationRequestHeaderV1_3
|
|
189
|
-
),
|
|
190
186
|
[ItWalletSpecsVersion.V1_0]: async (o) => createAuthorizationRequestWithHeader(
|
|
191
187
|
o,
|
|
192
188
|
zOpenid4vpAuthorizationRequestHeaderV1_0
|
|
@@ -534,7 +530,6 @@ function getPublicKeyForVerification(options) {
|
|
|
534
530
|
async function parseAuthorizeRequest(options) {
|
|
535
531
|
try {
|
|
536
532
|
const headerSchema = dispatchByVersion(options.config.itWalletSpecsVersion, {
|
|
537
|
-
[ItWalletSpecsVersion2.APTITUDE]: () => zOpenid4vpAuthorizationRequestHeaderV1_3,
|
|
538
533
|
[ItWalletSpecsVersion2.V1_0]: () => zOpenid4vpAuthorizationRequestHeaderV1_0,
|
|
539
534
|
[ItWalletSpecsVersion2.V1_3]: () => zOpenid4vpAuthorizationRequestHeaderV1_3,
|
|
540
535
|
[ItWalletSpecsVersion2.V1_4]: () => zOpenid4vpAuthorizationRequestHeaderV1_3
|
|
@@ -744,9 +739,6 @@ async function createAuthorizationResponse2(options) {
|
|
|
744
739
|
|
|
745
740
|
// src/authorization-response/create-authorization-response.ts
|
|
746
741
|
var dispatchCreateAuthorizationResponse = createVersionDispatcher2({
|
|
747
|
-
[ItWalletSpecsVersion3.APTITUDE]: (o) => createAuthorizationResponse2(
|
|
748
|
-
o
|
|
749
|
-
),
|
|
750
742
|
[ItWalletSpecsVersion3.V1_0]: (o) => (
|
|
751
743
|
// V1_0 shares the v1.3 response logic — JWKS / enc resolution is identical.
|
|
752
744
|
createAuthorizationResponse(
|