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 1.0.2 to 1.0.3

7

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

@@ -26,4 +26,5 @@ "main": "dist/umd/index.js",

"devDependencies": {
"webpack": "^5.49.0",
"webpack-cli": "^4.9.2"
"@purtuga/esm-webpack-plugin": "^1.5.0",
"webpack": "^4.46.0",
"webpack-cli": "^4.9.1"
},

@@ -30,0 +31,0 @@ "dependencies": {

@@ -1,51 +0,31 @@

const webpack = require('webpack');
const path = require('path');
const EsmWebpackPlugin = require("@purtuga/esm-webpack-plugin");
module.exports = [
{
target: "web",
mode: "production",
output: {
filename: 'index.js',
library: 'CoinbaseWalletSdk',
libraryTarget: 'umd',
path: path.resolve(__dirname, 'dist/umd')
},
plugins: [
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
}),
new webpack.DefinePlugin({
"process.env": {
NODE_ENV: JSON.stringify("production"),
LINK_API_URL: JSON.stringify("https://www.walletlink.org"),
SDK_VERSION: JSON.stringify("3.0.5")
}
})
],
const umd = {
output: {
filename: 'index.js',
library: 'CoinbaseWalletSdk',
libraryTarget: 'umd',
path: path.resolve(__dirname, 'dist/umd')
},
{
target: "web",
mode: "production",
experiments: {
outputModule: true,
},
output: {
filename: 'index.js',
libraryTarget: 'module',
path: path.resolve(__dirname, 'dist/esm')
},
plugins: [
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
}),
new webpack.DefinePlugin({
"process.env": {
NODE_ENV: JSON.stringify("production"),
LINK_API_URL: JSON.stringify("https://www.walletlink.org"),
SDK_VERSION: JSON.stringify("3.0.5")
}
})
],
node: {
Buffer: true
}
]
}
const esm = {
output: {
filename: 'index.js',
library: 'CoinbaseWalletSdk',
libraryTarget: 'var',
path: path.resolve(__dirname, 'dist/esm')
},
plugins: [
new EsmWebpackPlugin()
],
node: {
Buffer: true
}
}
module.exports = [umd, esm]
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