@sphereon/ssi-sdk.credential-vcdm-jsonld-provider 0.34.1-fix.223 → 0.34.1-fix.247
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +15 -14
- package/src/__tests__/restAgent.test.ts +1 -1
- package/src/ld-document-loader.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -835,7 +835,7 @@ var import_debug2 = __toESM(require("debug"), 1);
|
|
|
835
835
|
// src/ld-document-loader.ts
|
|
836
836
|
var import_jsonld_signatures = __toESM(require("@digitalcredentials/jsonld-signatures"), 1);
|
|
837
837
|
var vc = __toESM(require("@digitalcredentials/vc"), 1);
|
|
838
|
-
var import_cross_fetch = require("cross-fetch");
|
|
838
|
+
var import_cross_fetch = __toESM(require("cross-fetch"), 1);
|
|
839
839
|
var import_debug = __toESM(require("debug"), 1);
|
|
840
840
|
var import_ssi_sdk_ext = require("@sphereon/ssi-sdk-ext.did-utils");
|
|
841
841
|
var debug = (0, import_debug.default)("sphereon:ssi-sdk:credential-jsonld");
|
|
@@ -930,7 +930,7 @@ var LdDocumentLoader = class {
|
|
|
930
930
|
if (attemptToFetchContexts) {
|
|
931
931
|
debug("WARNING: attempting to fetch the doc directly for ", url);
|
|
932
932
|
try {
|
|
933
|
-
const response = await (0, import_cross_fetch.
|
|
933
|
+
const response = await (0, import_cross_fetch.default)(url, {
|
|
934
934
|
redirect: "follow"
|
|
935
935
|
});
|
|
936
936
|
if (response.status === 200) {
|