Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@depay/coinbase-wallet-sdk

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@depay/coinbase-wallet-sdk - npm Package Compare versions

Comparing version 0.9.10 to 0.9.12

dist/esm/index.js.LICENSE.txt

13

package.json
{
"name": "@depay/coinbase-wallet-sdk",
"version": "0.9.10",
"version": "0.9.12",
"description": "Coinbase Wallet SDK browser pre-built usable in rollup bundles.",

@@ -26,13 +26,10 @@ "main": "dist/umd/index.js",

"devDependencies": {
"@purtuga/esm-webpack-plugin": "^1.5.0",
"webpack": "^4.46.0",
"webpack-cli": "^4.9.1"
"webpack": "^5.49.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@coinbase/wallet-sdk": "^3.0.5",
"crypto-browserify": "^3.12.0"
},
"browser": {
"crypto": false
"buffer": "^6.0.3",
"util": "^0.12.4"
}
}

@@ -0,5 +1,7 @@

const webpack = require('webpack');
const path = require('path');
const EsmWebpackPlugin = require("@purtuga/esm-webpack-plugin");
const umd = {
target: "web",
mode: "production",
output: {

@@ -11,32 +13,37 @@ filename: 'index.js',

},
node: {
Buffer: true
resolve: {
fallback: {
// stream: require.resolve('stream-browserify'),
},
},
resolve: {
alias: {
"crypto": "crypto-browserify"
}
}
plugins: [
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
}),
],
}
const esm = {
target: "web",
mode: "production",
experiments: {
outputModule: true,
},
output: {
filename: 'index.js',
library: 'CoinbaseWalletSdk',
libraryTarget: 'var',
libraryTarget: 'module',
path: path.resolve(__dirname, 'dist/esm')
},
resolve: {
fallback: {
// stream: require.resolve('stream-browserify'),
},
},
plugins: [
new EsmWebpackPlugin()
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
}),
],
node: {
Buffer: true,
},
resolve: {
alias: {
"crypto": "crypto-browserify"
}
}
}
module.exports = [umd, esm]

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

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

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