Skip to content

Commit

Permalink
Merge pull request #455 from Maronato/patch-1
Browse files Browse the repository at this point in the history
Fix `@simplewebauthn/server` not working in edge environments
  • Loading branch information
MasterKale authored Oct 11, 2023
2 parents a1bf750 + 8252a60 commit 8a5c3be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 8a5c3be

Please sign in to comment.