@depay/coinbase-wallet-sdk
Advanced tools
Comparing version 0.9.24 to 0.9.25
{ | ||
"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") | ||
} | ||
}) | ||
], | ||
}, | ||
} | ||
] |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1434321
11
72