Skip to content

Commit

Permalink
Add https agent base polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley committed Jul 26, 2023
1 parent 61562cd commit 608e145
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 6 deletions.
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@walletconnect/web3-provider": "^1.8.0",
"@web3modal/ethereum": "^2.7.1",
"@web3modal/html": "^2.7.1",
"agent-base": "^7.1.0",
"borsh": "^0.7.0",
"buffer": "^6.0.3",
"d3": "^7.8.1",
Expand Down
3 changes: 2 additions & 1 deletion apps/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export default defineConfig({
resolve: {
alias: {
'@': path.resolve(path.dirname(fileURLToPath(import.meta.url)), 'src'),
'./runtimeConfig': './runtimeConfig.browser'
'./runtimeConfig': './runtimeConfig.browser',
https: 'agent-base'
},
extensions: [
'.js',
Expand Down
42 changes: 37 additions & 5 deletions package-lock.json

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

0 comments on commit 608e145

Please sign in to comment.