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

chore: upgrade ses version #141

Merged
merged 1 commit into from
Feb 28, 2024
Merged

chore: upgrade ses version #141

merged 1 commit into from
Feb 28, 2024

Conversation

samsiegart
Copy link
Contributor

fixes #140

Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: cd7454b
Status: ✅  Deploy successful!
Preview URL: https://a0adb95b.wallet-app.pages.dev
Branch Preview URL: https://upgrade-ses.wallet-app.pages.dev

View logs

@@ -86,7 +86,7 @@
"analyze": "source-map-explorer 'build/static/js/*.js'",
"start": "yarn build:ses && react-app-rewired start",
"build": "yarn build:ses && yarn build:react",
"build:ses": "cp node_modules/ses/dist/lockdown.umd.js public/",
"build:ses": "cp ../node_modules/ses/dist/lockdown.umd.js public/",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question

Just curious, is this script still needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, the wallet-app is structured differently from the other apps, and does lockdown in index.html https://github.com/Agoric/wallet-app/blob/main/wallet/public/index.html#L5-L21

IIRC it was done so that the bundler would not transform lockdown.umd.js, which was causing issues at the time. The newer apps that use vite don't have this problem.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, thanks for the explanation

@samsiegart samsiegart merged commit 7710845 into main Feb 28, 2024
2 checks passed
@samsiegart samsiegart deleted the upgrade-ses branch February 28, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update SES version to be compatible with latest Chrome version
3 participants