From ba08a3b1633d8deb4dc2a3e274d050479e0653cc Mon Sep 17 00:00:00 2001 From: Aryeh Harris Date: Mon, 9 Oct 2023 20:36:29 -0500 Subject: [PATCH] getTez: Make target ES6 + update readme --- getTez/README.md | 2 +- getTez/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/getTez/README.md b/getTez/README.md index 6aae29e..4972dc9 100644 --- a/getTez/README.md +++ b/getTez/README.md @@ -1,6 +1,6 @@ # get-tez -This zero dependency package provides a programmatic interface to interact with the [Tezos faucet](https://github.com/oxheadalpha/tezos-faucet-backend). It is a script that can be run from a JavaScript/Typescript program or directly from a shell. +This zero dependency package provides a programmatic interface to interact with the [Tezos faucet](https://github.com/oxheadalpha/tezos-faucet-backend). It is a script that can be run from a JavaScript/Typescript program or directly from a shell. Your NodeJS version should support the [`fetch`](https://nodejs.org/dist/latest-v18.x/docs/api/globals.html#fetch) api. ## Installation diff --git a/getTez/tsconfig.json b/getTez/tsconfig.json index e8f6a25..01803bb 100644 --- a/getTez/tsconfig.json +++ b/getTez/tsconfig.json @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "ES2020", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "ES6", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */