tornado-core 1.0.12
added minified umd files
This commit is contained in:
parent
29744cfce4
commit
20368b243b
2
dist/merkleTreeWorker.umd.min.js
vendored
Normal file
2
dist/merkleTreeWorker.umd.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
26
dist/merkleTreeWorker.umd.min.js.LICENSE.txt
vendored
Normal file
26
dist/merkleTreeWorker.umd.min.js.LICENSE.txt
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
/*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||||
|
||||
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||||
|
||||
/**
|
||||
* [js-sha3]{@link https://github.com/emn178/js-sha3}
|
||||
*
|
||||
* @version 0.8.0
|
||||
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
||||
* @copyright Chen, Yi-Cyuan 2015-2018
|
||||
* @license MIT
|
||||
*/
|
0
dist/index.umd.js → dist/tornado.umd.js
vendored
0
dist/index.umd.js → dist/tornado.umd.js
vendored
8
dist/tornado.umd.min.js
vendored
Normal file
8
dist/tornado.umd.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
34
dist/tornado.umd.min.js.LICENSE.txt
vendored
Normal file
34
dist/tornado.umd.min.js.LICENSE.txt
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
/*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/*! MIT License. Copyright 2015-2022 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
|
||||
|
||||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||||
|
||||
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||||
|
||||
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||||
|
||||
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||||
|
||||
/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||||
|
||||
/**
|
||||
* [js-sha3]{@link https://github.com/emn178/js-sha3}
|
||||
*
|
||||
* @version 0.8.0
|
||||
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
||||
* @copyright Chen, Yi-Cyuan 2015-2018
|
||||
* @license MIT
|
||||
*/
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@tornado/core",
|
||||
"version": "1.0.11",
|
||||
"version": "1.0.12",
|
||||
"description": "An SDK for building applications on top of Privacy Pools",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"unpkg": "./dist/index.umd.js",
|
||||
"jsdelivr": "./dist/index.umd.js",
|
||||
"unpkg": "./dist/tornado.umd.min.js",
|
||||
"jsdelivr": "./dist/tornado.umd.min.js",
|
||||
"scripts": {
|
||||
"typechain": "typechain --target ethers-v6 --out-dir src/typechain src/abi/*.json",
|
||||
"types": "tsc --declaration --emitDeclarationOnly",
|
||||
|
@ -29,7 +29,7 @@ module.exports = [
|
||||
},
|
||||
entry: './src/index.ts',
|
||||
output: {
|
||||
filename: 'index.umd.js',
|
||||
filename: 'tornado.umd.js',
|
||||
path: path.resolve(__dirname, './dist'),
|
||||
library: 'Tornado',
|
||||
libraryTarget: 'umd'
|
||||
@ -47,6 +47,28 @@ module.exports = [
|
||||
minimize: false,
|
||||
}
|
||||
},
|
||||
{
|
||||
mode: 'production',
|
||||
module: {
|
||||
rules: [esbuildLoader]
|
||||
},
|
||||
entry: './src/index.ts',
|
||||
output: {
|
||||
filename: 'tornado.umd.min.js',
|
||||
path: path.resolve(__dirname, './dist'),
|
||||
library: 'Tornado',
|
||||
libraryTarget: 'umd'
|
||||
},
|
||||
plugins: [
|
||||
new NodePolyfillPlugin(),
|
||||
],
|
||||
resolve: {
|
||||
extensions: ['.tsx', '.ts', '.js'],
|
||||
alias: {
|
||||
...commonAlias,
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
mode: 'production',
|
||||
module: {
|
||||
@ -70,5 +92,26 @@ module.exports = [
|
||||
optimization: {
|
||||
minimize: false,
|
||||
}
|
||||
},
|
||||
{
|
||||
mode: 'production',
|
||||
module: {
|
||||
rules: [esbuildLoader]
|
||||
},
|
||||
entry: './src/merkleTreeWorker.ts',
|
||||
output: {
|
||||
filename: 'merkleTreeWorker.umd.min.js',
|
||||
path: path.resolve(__dirname, './dist'),
|
||||
libraryTarget: 'umd'
|
||||
},
|
||||
plugins: [
|
||||
new NodePolyfillPlugin(),
|
||||
],
|
||||
resolve: {
|
||||
extensions: ['.tsx', '.ts', '.js'],
|
||||
alias: {
|
||||
...commonAlias,
|
||||
}
|
||||
},
|
||||
}
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user