Describe the bug
When trying to use https://github.com/cosmology-tech/cosmos-kit in a React app with lockdown, it crashes with an error like:
TypeError: Cannot assign to read only property 'concat' of object '[object Object]'
Steps to reproduce
- Go to https://github.com/agoric-labs/cosmos-kit-ses?tab=readme-ov-file
- Clone the repo
yarn && yarn dev to run locally
- Reload the url outputted by
yarn dev
- Observe the app crashes to a blank page and the error appears in the console
Expected behavior
There should be some way to use cosmos-kit alongside endo
Platform environment
- What OS are you using? MacOS 13.3.1 (22E261)
- What version of Node.js? v18.17.1
- Is there anything special/unusual about your platform? No
- What version of Endo are you using?
"ses": "^1.1.0"
Additional context
I tried using @endo/init/unsafe-fast.js to circumvent the issue in this branch unsuccessfully. It throws a different error TypeError#2: Cannot perform 'ownKeys' on a proxy that has been revoked described in the README.
Screenshots

Describe the bug
When trying to use https://github.com/cosmology-tech/cosmos-kit in a React app with lockdown, it crashes with an error like:
Steps to reproduce
yarn && yarn devto run locallyyarn devExpected behavior
There should be some way to use cosmos-kit alongside endo
Platform environment
"ses": "^1.1.0"Additional context
I tried using
@endo/init/unsafe-fast.jsto circumvent the issue in this branch unsuccessfully. It throws a different errorTypeError#2: Cannot perform 'ownKeys' on a proxy that has been revokeddescribed in the README.Screenshots