Remove npm: usage

This commit is contained in:
Jonatan Witoszek 2023-08-18 16:09:36 +02:00
parent fdd8f1dc53
commit dd607fe46f
No known key found for this signature in database
GPG key ID: D35056EA9CCE8472
3 changed files with 7 additions and 3 deletions

View file

@ -162,10 +162,14 @@
"https://deno.land/x/wren@0.8.0/types.ts": "62dc61a890eafa500c4c8469f1954b7c435f9ab7412c69de10723967565f75d1",
"https://deno.land/x/wren@0.8.0/util.ts": "5a94cde820ceac32c9bf6bd610b45cdb46153ffe8b1b0b94707c61490c50ee96",
"https://esm.sh/@saleor/app-sdk@0.43.0/APL": "ea531960b43c713b185736d4915791911a7eb35211859faf5cfa07a157928531",
"https://esm.sh/@saleor/app-sdk@0.43.0/const": "1750d57e5f59b6b0e048ae4b6f8d45691a9bd7dae043d4a8ef9bf526e3ce4246",
"https://esm.sh/@saleor/app-sdk@0.43.0/urls": "f4b024ecda1f7b8050cecfb8a2e5e5646cdaaa477293ac95748c88393a88271e",
"https://esm.sh/extract-files@12.0.0/extractFiles.mjs": "76f296d532a18252031ea29d44f8f22e77b1626a7807c9b8bd702ff5ee4b4539",
"https://esm.sh/extract-files@12.0.0/isExtractableFile.mjs": "6b7f8d38eb81c358f55969fe7343414e3c1c6694391574406b1a38faff83168f",
"https://esm.sh/graphql@16.6.0/language/parser#=": "7575a4b2d81377cb691de9082b0f24f10df31717da17517b711b2b4ae497b74e",
"https://esm.sh/v131/@saleor/app-sdk@0.43.0/denonext/APL.js": "df4463041e2b789413a0c1702c33374bf2824ce15c10345bf8c0ea29f5438d25",
"https://esm.sh/v131/@saleor/app-sdk@0.43.0/denonext/const.js": "63064ec2cab5db2556c09e5c609b262e212dbb96ee6ad67844d5651d622f09a8",
"https://esm.sh/v131/@saleor/app-sdk@0.43.0/denonext/urls.js": "9621c8e1b9e62469e9e4c9c8ab09b392463bee5d7d13ace7fb86224ebaca9891",
"https://esm.sh/v131/debug@4.3.4/denonext/debug.mjs": "892826bb4505deb6337df2f0f72b1e355e5377e702dd739b78774539d7482f5c",
"https://esm.sh/v131/extract-files@12.0.0/denonext/extractFiles.js": "3dcb697496a0e5d696d14f3aab79a44aac08abc1a8839249020e359badddc5e4",
"https://esm.sh/v131/extract-files@12.0.0/denonext/isExtractableFile.js": "93462c162e29fc0e8fd7e9de3665dfd7705f03d41d2721d654f177bc2a7fe305",

View file

@ -15,10 +15,10 @@ import {
import {
SALEOR_DOMAIN_HEADER,
SALEOR_API_URL_HEADER,
} from "npm:@saleor/app-sdk@0.43.0/const";
} from "saleor-app-sdk/const";
import { DenoAPL } from "./deno-apl.ts";
import { astToString, fetchRemoteJwks, getAppId } from "./utils.ts";
import { AuthData } from "npm:@saleor/app-sdk@0.43.0/APL";
import { AuthData } from "saleor-app-sdk/APL";
import "./logger.ts";
import * as log from "log/mod.ts";

View file

@ -1,5 +1,5 @@
import { ASTNode, print } from "graphql/mod.ts";
import { getJwksUrlFromSaleorApiUrl } from "npm:@saleor/app-sdk@0.43.0/urls";
import { getJwksUrlFromSaleorApiUrl } from "saleor-app-sdk/urls";
export const fetchRemoteJwks = async (saleorApiUrl: string) => {
const jwksResponse = await fetch(getJwksUrlFromSaleorApiUrl(saleorApiUrl));