confio / ts-relayer

IBC Relayer in TypeScript
MIT License
109 stars 63 forks source link

Bump TypeScript build target to es2018 (same as CosmJS) #248

Closed webmaster128 closed 2 years ago

webmaster128 commented 2 years ago

to get more modern JavaScript output.

No more __awaiter code like this:

"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 96dec9ffbeca1808ef09f0bc785815da747cb82e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------- | ----- | | @confio/relayer | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR