Importing SimpleWebAuthn packages from "https://deno.land/x/simplewebauthn/..."
URLs is no longer
supported. Please use Deno's native support for JSR imports instead.
Before:
import { generateAuthenticationOptions } from 'https://deno.land/x/simplewebauthn/deno/server.ts';
After:
import { generateAuthenticationOptions } from 'jsr:@simplewebauthn/server';
Alternatively, use deno add
to install them from JSR:
# Deno v1.43 and higher
deno add jsr:@simplewebauthn/server
import { generateAuthenticationOptions } from '@simplewebauthn/server';