Skip to content

Commit

Permalink
workaround for the import error
Browse files Browse the repository at this point in the history
  • Loading branch information
garciafdezpatricia committed May 30, 2024
1 parent 5da4104 commit 145fd3f
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
},
"dependencies": {
"@inrupt/solid-client": "^2.0.0",
"@inrupt/solid-client-vc": "^1.0.0",
"@inrupt/solid-client-vc": "^1.0.3",
"@types/rdfjs__dataset": "^2.0.7",
"auth-header": "^1.0.0",
"base64url": "^3.0.1",
Expand Down
3 changes: 2 additions & 1 deletion src/common/verify/isValidAccessGrant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ import {
getIssuer,
getVerifiableCredentialApiConfiguration,
} from "@inrupt/solid-client-vc";
import { isUrl } from "@inrupt/solid-client-vc/dist/common/common";
// eslint-disable-next-line import/no-unresolved
import { isUrl } from "@inrupt/solid-client-vc/common";
import { getBaseAccess } from "../../gConsent/util/getBaseAccessVerifiableCredential";
import { getSessionFetch } from "../util/getSessionFetch";
import { isDatasetCore } from "../../gConsent/guard/isDatasetCore";
Expand Down
3 changes: 2 additions & 1 deletion src/gConsent/discover/redirectToAccessManagementUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ import type {
DatasetWithId,
VerifiableCredential,
} from "@inrupt/solid-client-vc";
import { isUrl } from "@inrupt/solid-client-vc/dist/common/common";
// eslint-disable-next-line import/no-unresolved
import { isUrl } from "@inrupt/solid-client-vc/common";
import { getBaseAccess } from "../util/getBaseAccessVerifiableCredential";
import { getSessionFetch } from "../../common/util/getSessionFetch";
import {
Expand Down
3 changes: 2 additions & 1 deletion src/gConsent/manage/approveAccessRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
import type { UrlString } from "@inrupt/solid-client";
// eslint-disable-next-line camelcase
import { acp_ess_2 } from "@inrupt/solid-client";
// eslint-disable-next-line import/no-unresolved
import { isUrl } from "@inrupt/solid-client-vc/common";
import type {
DatasetWithId,
VerifiableCredential,
VerifiableCredentialBase,
} from "@inrupt/solid-client-vc";
import { isUrl } from "@inrupt/solid-client-vc/dist/common/common";
import { gc, solidVc } from "../../common/constants";
import { getSessionFetch } from "../../common/util/getSessionFetch";
import type { AccessModes } from "../../type/AccessModes";
Expand Down
3 changes: 2 additions & 1 deletion src/gConsent/manage/denyAccessRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ import {
type DatasetWithId,
type VerifiableCredential,
} from "@inrupt/solid-client-vc";
import { isUrl } from "@inrupt/solid-client-vc/dist/common/common";
// eslint-disable-next-line import/no-unresolved
import { isUrl } from "@inrupt/solid-client-vc/common";
import { gc, solidVc } from "../../common/constants";
import { CREDENTIAL_TYPE_ACCESS_DENIAL } from "../constants";
import type { AccessBaseOptions } from "../type/AccessBaseOptions";
Expand Down
3 changes: 2 additions & 1 deletion src/gConsent/manage/revokeAccessGrant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ import {
} from "@inrupt/solid-client-vc";
import { DataFactory } from "n3";
import type { NamedNode } from "n3";
import { isUrl } from "@inrupt/solid-client-vc/dist/common/common";
// eslint-disable-next-line import/no-unresolved
import { isUrl } from "@inrupt/solid-client-vc/common";
import { TYPE, solidVc } from "../../common/constants";
import { getSessionFetch } from "../../common/util/getSessionFetch";
import type { AccessBaseOptions } from "../type/AccessBaseOptions";
Expand Down

0 comments on commit 145fd3f

Please sign in to comment.