New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@xmtp/xmtp-js

Package Overview
Dependencies
Maintainers
7
Versions
251
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xmtp/xmtp-js - npm Package Compare versions

Comparing version 11.2.2 to 11.2.3

2

package.json
{
"name": "@xmtp/xmtp-js",
"version": "11.2.2",
"version": "11.2.3",
"description": "XMTP client SDK for interacting with XMTP networks.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -40,27 +40,12 @@ # XMTP-JS

If you get into issues with Buffer and polyfills check out our [fix below](https://xmtp.org/docs/developer-quickstart#troubleshooting).
### Buffer polyfill
### Create React App
If you run into issues with Buffer and polyfills, see this [solution](https://xmtp.org/docs/faq#why-my-app-is-failing-saying-buffer-is-not-found).
Use `react-scripts` prior to version `5.0.0`. For example:
### BigInt polyfill
```bash
npx create-react-app my-app --scripts-version 4.0.2
```
This SDK uses `BigInt` in a way that's incompatible with polyfills. To ensure that a polyfill isn't added to your application bundle, update your [browserslist](https://github.com/browserslist/browserslist) configuration to exclude browsers that don't support `BigInt`.
Or downgrade after creating your app.
For the list of browsers that don't support `BigInt`, see this [compatibility list](https://caniuse.com/bigint).
### Next.js
In `next.config.js`:
```js
webpack: (config, { isServer }) => {
if (!isServer) {
config.resolve.fallback.fs = false
}
return config
}
```
## Usage

@@ -67,0 +52,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc