Added missing shebang

This commit is contained in:
Tornado Contrib 2024-05-06 02:14:08 +00:00
parent 5fc4b15786
commit b5d469fd16
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1
4 changed files with 19 additions and 11 deletions

16
dist/cli.js vendored

@ -1,3 +1,5 @@
#!/usr/bin/env node
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
@ -179204,7 +179206,7 @@ var __async$a = (__this, __arguments, generator) => {
});
};
const isEmptyArray = (arr) => !Array.isArray(arr) || !arr.length;
const first = 1e3;
const GRAPHQL_LIMIT = 1e3;
function queryGraph(_0) {
return __async$a(this, arguments, function* ({
graphApi,
@ -179320,7 +179322,7 @@ function getRegisters({
subgraphName,
query: GET_REGISTERED,
variables: {
first,
first: GRAPHQL_LIMIT,
fromBlock
},
fetchDataOptions: fetchDataOptions2
@ -179409,7 +179411,7 @@ function getDeposits({
variables: {
currency,
amount,
first,
first: GRAPHQL_LIMIT,
fromBlock
},
fetchDataOptions: fetchDataOptions2
@ -179506,7 +179508,7 @@ function getWithdrawals({
variables: {
currency,
amount,
first,
first: GRAPHQL_LIMIT,
fromBlock
},
fetchDataOptions: fetchDataOptions2
@ -179635,7 +179637,7 @@ function getGraphEchoEvents({
subgraphName,
query: GET_ECHO_EVENTS,
variables: {
first,
first: GRAPHQL_LIMIT,
fromBlock
},
fetchDataOptions: fetchDataOptions2
@ -179724,7 +179726,7 @@ function getEncryptedNotes({
subgraphName,
query: GET_ENCRYPTED_NOTES,
variables: {
first,
first: GRAPHQL_LIMIT,
fromBlock
},
fetchDataOptions: fetchDataOptions2
@ -179809,7 +179811,7 @@ function getGovernanceEvents({
subgraphName,
query: GET_GOVERNANCE_EVENTS,
variables: {
first,
first: GRAPHQL_LIMIT,
fromBlock
},
fetchDataOptions: fetchDataOptions2

@ -53,7 +53,7 @@
"@colors/colors": "1.5.0",
"@metamask/eth-sig-util": "^7.0.1",
"@tornado/contracts": "1.0.0",
"@tornado/core": "git+https://git.tornado.ws/tornadocontrib/tornado-core.git#4fde41b10ce601bcf687e2e8b93785f86237ac6c",
"@tornado/core": "git+https://git.tornado.ws/tornadocontrib/tornado-core.git#77ebefe1351bc33da31d6c25e6c7be8eda03b452",
"@tornado/fixed-merkle-tree": "0.7.3",
"@tornado/snarkjs": "0.1.20",
"@tornado/websnark": "0.0.4",

@ -1,5 +1,6 @@
const esbuild = require('esbuild');
const path = require('path');
const { BannerPlugin } = require('webpack');
const esbuildLoader = {
test: /\.ts?$/,
@ -23,7 +24,12 @@ module.exports = [
path: path.resolve(__dirname, './dist'),
},
target: 'node',
plugins: [],
plugins: [
new BannerPlugin({
banner: '#!/usr/bin/env node\n',
raw: true
})
],
resolve: {
extensions: ['.tsx', '.ts', '.js'],
alias: {},

@ -771,9 +771,9 @@
"@openzeppelin/contracts-v3" "npm:@openzeppelin/contracts@3.2.0-rc.0"
ethers "^6.4.0"
"@tornado/core@git+https://git.tornado.ws/tornadocontrib/tornado-core.git#4fde41b10ce601bcf687e2e8b93785f86237ac6c":
"@tornado/core@git+https://git.tornado.ws/tornadocontrib/tornado-core.git#77ebefe1351bc33da31d6c25e6c7be8eda03b452":
version "1.0.1"
resolved "git+https://git.tornado.ws/tornadocontrib/tornado-core.git#4fde41b10ce601bcf687e2e8b93785f86237ac6c"
resolved "git+https://git.tornado.ws/tornadocontrib/tornado-core.git#77ebefe1351bc33da31d6c25e6c7be8eda03b452"
dependencies:
"@metamask/eth-sig-util" "^7.0.1"
"@tornado/contracts" "^1.0.0"