@openid4vc/oauth2 0.3.0-alpha-20250322133827 → 0.3.0-alpha-20250322155633
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.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -810,7 +810,7 @@ async function verifyJwtProfileAccessToken(options) {
|
|
|
810
810
|
}
|
|
811
811
|
|
|
812
812
|
// src/resource-request/make-resource-request.ts
|
|
813
|
-
import {
|
|
813
|
+
import { createFetcher } from "@openid4vc/utils";
|
|
814
814
|
|
|
815
815
|
// src/dpop/dpop.ts
|
|
816
816
|
import {
|
|
@@ -1028,8 +1028,7 @@ async function resourceRequest(options) {
|
|
|
1028
1028
|
nonce: options.dpop.nonce,
|
|
1029
1029
|
accessToken: options.accessToken
|
|
1030
1030
|
}) : void 0;
|
|
1031
|
-
const
|
|
1032
|
-
const response = await fetch(options.url, {
|
|
1031
|
+
const response = await createFetcher(options.callbacks.fetch)(options.url, {
|
|
1033
1032
|
...options.requestOptions,
|
|
1034
1033
|
headers: {
|
|
1035
1034
|
...options.requestOptions.headers,
|