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.24 to 0.9.25

jest.js

2

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

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

@@ -1,3 +0,5 @@

console.log('jest.js')
console.log('global', global)
console.log('window', window)
import { Crypto } from "@peculiar/webcrypto"
import fetch from 'cross-fetch'
global.crypto = new Crypto()
global.fetch = fetch

@@ -32,18 +32,6 @@ const webpack = require('webpack');

filename: 'jest.js',
library: 'CoinbaseWalletSdk',
library: 'CoinbaseWalletSdkJest',
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")
}
})
],
path: path.resolve(__dirname)
}
},

@@ -73,27 +61,3 @@ {

],
},
{
target: "web",
mode: "production",
experiments: {
outputModule: true,
},
output: {
filename: 'jest.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")
}
})
],
},
}
]
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