@depay/coinbase-wallet-sdk
Advanced tools
Comparing version 0.9.22 to 0.9.23
{ | ||
"name": "@depay/coinbase-wallet-sdk", | ||
"version": "0.9.22", | ||
"version": "0.9.23", | ||
"description": "Coinbase Wallet SDK browser pre-built usable in rollup bundles.", | ||
@@ -5,0 +5,0 @@ "main": "dist/umd/index.js", |
const webpack = require('webpack'); | ||
const path = require('path'); | ||
const umd = { | ||
target: "web", | ||
mode: "production", | ||
output: { | ||
filename: 'index.js', | ||
library: 'CoinbaseWalletSdk', | ||
libraryTarget: 'umd', | ||
path: path.resolve(__dirname, 'dist/umd') | ||
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") | ||
} | ||
}) | ||
], | ||
}, | ||
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 esm = { | ||
target: "web", | ||
mode: "production", | ||
experiments: { | ||
outputModule: true, | ||
{ | ||
target: "web", | ||
mode: "production", | ||
output: { | ||
filename: 'jest.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") | ||
} | ||
}) | ||
], | ||
}, | ||
output: { | ||
filename: 'index.js', | ||
libraryTarget: 'module', | ||
path: path.resolve(__dirname, 'dist/esm') | ||
{ | ||
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") | ||
} | ||
}) | ||
], | ||
}, | ||
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") | ||
} | ||
}) | ||
], | ||
} | ||
module.exports = [umd, esm] | ||
{ | ||
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
1910798
13
107
4