Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix @simplewebauthn/server not working in edge environments #455

Merged
merged 2 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/server/build_npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ await build({
name: '@hexagon/base64',
version: '^1.1.27',
},
'https://deno.land/x/[email protected]/index.js': {
'https://deno.land/x/[email protected]/encode.js': {
name: 'cbor-x',
subPath: 'encode',
version: '^1.5.2',
},
'https://esm.sh/[email protected]': {
Expand Down
1 change: 0 additions & 1 deletion packages/server/deno.lock

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

2 changes: 1 addition & 1 deletion packages/server/src/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type {
} from '../../typescript-types/src/index.ts';

// cbor (a.k.a. cbor-x in Node land)
export * as cborx from 'https://deno.land/x/[email protected]/index.js';
export * as cborx from 'https://deno.land/x/[email protected]/encode.js';

// b64 (a.k.a. @hexagon/base64 in Node land)
export { default as base64 } from 'https://deno.land/x/[email protected]/src/base64.js';
Expand Down