@pagopa/io-wallet-oid4vci 1.1.1 → 1.1.2
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/README.md +3 -5
- package/dist/index.d.mts +1038 -265
- package/dist/index.d.ts +1038 -265
- package/dist/index.js +26 -37
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +34 -40
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -308,13 +308,11 @@ Generic error thrown on Oid4vci operations
|
|
|
308
308
|
|
|
309
309
|
Error thrown in case the DPoP key passed to the `WalletProvider.createItWalletAttestationJwt` method doesn't contain a kid
|
|
310
310
|
```typescript
|
|
311
|
-
export class WalletProviderError extends
|
|
312
|
-
constructor(
|
|
313
|
-
message: string,
|
|
314
|
-
public readonly originalError?: unknown,
|
|
315
|
-
) {
|
|
311
|
+
export class WalletProviderError extends Oid4vciError {
|
|
312
|
+
constructor(message: string, cause?: unknown) {
|
|
316
313
|
super(message);
|
|
317
314
|
this.name = "WalletProviderError";
|
|
315
|
+
this.cause = cause;
|
|
318
316
|
}
|
|
319
317
|
}
|
|
320
318
|
```
|