@rosen-bridge/address-extractor 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,92 @@
1
+ # Address Extractor
2
+
3
+
4
+
5
+ ## Getting started
6
+
7
+ To make it easy for you to get started with GitLab, here's a list of recommended next steps.
8
+
9
+ Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
10
+
11
+ ## Add your files
12
+
13
+ - [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
14
+ - [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
15
+
16
+ ```
17
+ cd existing_repo
18
+ git remote add origin https://git.ergopool.io/rosen-bridge/scanner/address-extractor.git
19
+ git branch -M master
20
+ git push -uf origin master
21
+ ```
22
+
23
+ ## Integrate with your tools
24
+
25
+ - [ ] [Set up project integrations](https://git.ergopool.io/rosen-bridge/scanner/address-extractor/-/settings/integrations)
26
+
27
+ ## Collaborate with your team
28
+
29
+ - [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
30
+ - [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
31
+ - [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
32
+ - [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
33
+ - [ ] [Automatically merge when pipeline succeeds](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
34
+
35
+ ## Test and Deploy
36
+
37
+ Use the built-in continuous integration in GitLab.
38
+
39
+ - [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
40
+ - [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
41
+ - [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
42
+ - [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
43
+ - [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
44
+
45
+ ***
46
+
47
+ # Editing this README
48
+
49
+ When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
50
+
51
+ ## Suggestions for a good README
52
+ Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
53
+
54
+ ## Name
55
+ Choose a self-explaining name for your project.
56
+
57
+ ## Description
58
+ Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
59
+
60
+ ## Badges
61
+ On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
62
+
63
+ ## Visuals
64
+ Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
65
+
66
+ ## Installation
67
+ Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
68
+
69
+ ## Usage
70
+ Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
71
+
72
+ ## Support
73
+ Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
74
+
75
+ ## Roadmap
76
+ If you have ideas for releases in the future, it is a good idea to list them in the README.
77
+
78
+ ## Contributing
79
+ State if you are open to contributions and what your requirements are for accepting them.
80
+
81
+ For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
82
+
83
+ You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
84
+
85
+ ## Authors and acknowledgment
86
+ Show your appreciation to those who have contributed to the project.
87
+
88
+ ## License
89
+ For open source projects, say how it is licensed.
90
+
91
+ ## Project status
92
+ If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
@@ -0,0 +1,22 @@
1
+ import { DataSource } from "typeorm";
2
+ import ExtractedBox from "../interfaces/ExtractedBox";
3
+ import { BlockEntity } from "@rosen-bridge/scanner";
4
+ export declare class BoxEntityAction {
5
+ private readonly datasource;
6
+ constructor(dataSource: DataSource);
7
+ /**
8
+ * It stores list of blocks in the dataSource with block id
9
+ * @param boxes
10
+ * @param spendBoxes
11
+ * @param block
12
+ * @param extractor
13
+ */
14
+ storeBox: (boxes: Array<ExtractedBox>, spendBoxes: Array<string>, block: BlockEntity, extractor: string) => Promise<boolean>;
15
+ /**
16
+ * delete boxes in specific block from database. if box spend in this block marked as unspent
17
+ * and if created in this block remove it from database
18
+ * @param block
19
+ * @param extractor
20
+ */
21
+ deleteBlockBoxes: (block: string, extractor: string) => Promise<void>;
22
+ }
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BoxEntityAction = void 0;
4
+ const boxEntity_1 = require("../entities/boxEntity");
5
+ class BoxEntityAction {
6
+ datasource;
7
+ constructor(dataSource) {
8
+ this.datasource = dataSource;
9
+ }
10
+ /**
11
+ * It stores list of blocks in the dataSource with block id
12
+ * @param boxes
13
+ * @param spendBoxes
14
+ * @param block
15
+ * @param extractor
16
+ */
17
+ storeBox = async (boxes, spendBoxes, block, extractor) => {
18
+ const boxEntities = boxes.map((box) => {
19
+ const row = new boxEntity_1.BoxEntity();
20
+ row.address = box.address;
21
+ row.boxId = box.boxId;
22
+ row.createBlock = block.hash;
23
+ row.creationHeight = block.height;
24
+ row.serialized = box.serialized;
25
+ row.extractor = extractor;
26
+ return row;
27
+ });
28
+ let success = true;
29
+ const queryRunner = this.datasource.createQueryRunner();
30
+ await queryRunner.connect();
31
+ await queryRunner.startTransaction();
32
+ try {
33
+ await queryRunner.manager.save(boxEntities);
34
+ await this.datasource.getRepository(boxEntity_1.BoxEntity).createQueryBuilder()
35
+ .update()
36
+ .set({ spendBlock: block.hash })
37
+ .where("boxId IN (:boxes) AND extractor = :extractor", {
38
+ boxes: spendBoxes,
39
+ extractor: extractor
40
+ }).execute();
41
+ await queryRunner.commitTransaction();
42
+ }
43
+ catch (e) {
44
+ console.log(`An error occurred during store boxes action: ${e}`);
45
+ await queryRunner.rollbackTransaction();
46
+ success = false;
47
+ }
48
+ finally {
49
+ await queryRunner.release();
50
+ }
51
+ return success;
52
+ };
53
+ /**
54
+ * delete boxes in specific block from database. if box spend in this block marked as unspent
55
+ * and if created in this block remove it from database
56
+ * @param block
57
+ * @param extractor
58
+ */
59
+ deleteBlockBoxes = async (block, extractor) => {
60
+ await this.datasource.createQueryBuilder()
61
+ .delete()
62
+ .from(boxEntity_1.BoxEntity)
63
+ .where("extractor = :extractor AND createBlock = :block", {
64
+ "block": block,
65
+ "extractor": extractor
66
+ }).execute();
67
+ await this.datasource.getRepository(boxEntity_1.BoxEntity).createQueryBuilder()
68
+ .update()
69
+ .set({ spendBlock: null })
70
+ .where("spendBlock = :block AND extractor = :extractor", {
71
+ "block": block,
72
+ "extractor": extractor
73
+ }).execute();
74
+ };
75
+ }
76
+ exports.BoxEntityAction = BoxEntityAction;
@@ -0,0 +1,10 @@
1
+ export declare class BoxEntity {
2
+ id: number;
3
+ address: string;
4
+ boxId: string;
5
+ createBlock: string;
6
+ creationHeight: number;
7
+ serialized: string;
8
+ spendBlock?: string | null;
9
+ extractor: string;
10
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.BoxEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ let BoxEntity = class BoxEntity {
15
+ id;
16
+ address;
17
+ boxId;
18
+ createBlock;
19
+ creationHeight;
20
+ serialized;
21
+ spendBlock;
22
+ extractor;
23
+ };
24
+ __decorate([
25
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
26
+ __metadata("design:type", Number)
27
+ ], BoxEntity.prototype, "id", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)(),
30
+ __metadata("design:type", String)
31
+ ], BoxEntity.prototype, "address", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)(),
34
+ __metadata("design:type", String)
35
+ ], BoxEntity.prototype, "boxId", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)(),
38
+ __metadata("design:type", String)
39
+ ], BoxEntity.prototype, "createBlock", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)(),
42
+ __metadata("design:type", Number)
43
+ ], BoxEntity.prototype, "creationHeight", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)(),
46
+ __metadata("design:type", String)
47
+ ], BoxEntity.prototype, "serialized", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)({ nullable: true, type: "text" }),
50
+ __metadata("design:type", Object)
51
+ ], BoxEntity.prototype, "spendBlock", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.Column)(),
54
+ __metadata("design:type", String)
55
+ ], BoxEntity.prototype, "extractor", void 0);
56
+ BoxEntity = __decorate([
57
+ (0, typeorm_1.Entity)()
58
+ ], BoxEntity);
59
+ exports.BoxEntity = BoxEntity;
@@ -0,0 +1,29 @@
1
+ import { DataSource } from "typeorm";
2
+ import * as ergoLib from 'ergo-lib-wasm-nodejs';
3
+ import { AbstractExtractor } from "@rosen-bridge/scanner/dist/interfaces";
4
+ import { BlockEntity } from "@rosen-bridge/scanner";
5
+ export declare class ErgoUTXOExtractor implements AbstractExtractor<ergoLib.Transaction> {
6
+ private readonly dataSource;
7
+ private readonly actions;
8
+ private readonly id;
9
+ private readonly networkType;
10
+ private readonly ergoTree?;
11
+ private readonly tokens;
12
+ constructor(dataSource: DataSource, id: string, networkType: ergoLib.NetworkPrefix, address?: string, tokens?: Array<string>);
13
+ /**
14
+ * get Id for current extractor
15
+ */
16
+ getId: () => string;
17
+ /**
18
+ * gets block id and transactions corresponding to the block and saves if they are valid rosen
19
+ * transactions and in case of success return true and in case of failure returns false
20
+ * @param txs
21
+ * @param block
22
+ */
23
+ processTransactions: (txs: Array<ergoLib.Transaction>, block: BlockEntity) => Promise<boolean>;
24
+ /**
25
+ * fork one block and remove all stored information for this block
26
+ * @param hash: block hash
27
+ */
28
+ forkBlock: (hash: string) => Promise<void>;
29
+ }
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.ErgoUTXOExtractor = void 0;
27
+ const ergoLib = __importStar(require("ergo-lib-wasm-nodejs"));
28
+ const buffer_1 = require("buffer");
29
+ const db_1 = require("../actions/db");
30
+ class ErgoUTXOExtractor {
31
+ dataSource;
32
+ actions;
33
+ id;
34
+ networkType;
35
+ ergoTree;
36
+ tokens;
37
+ constructor(dataSource, id, networkType, address, tokens) {
38
+ this.dataSource = dataSource;
39
+ this.actions = new db_1.BoxEntityAction(dataSource);
40
+ this.id = id;
41
+ this.networkType = networkType;
42
+ this.ergoTree = address ? ergoLib.Address.from_base58(address).to_ergo_tree().to_base16_bytes() : undefined;
43
+ this.tokens = tokens ? tokens : [];
44
+ }
45
+ /**
46
+ * get Id for current extractor
47
+ */
48
+ getId = () => `${this.id}`;
49
+ /**
50
+ * gets block id and transactions corresponding to the block and saves if they are valid rosen
51
+ * transactions and in case of success return true and in case of failure returns false
52
+ * @param txs
53
+ * @param block
54
+ */
55
+ processTransactions = (txs, block) => {
56
+ return new Promise((resolve, reject) => {
57
+ try {
58
+ const boxes = [];
59
+ const spendBoxes = [];
60
+ txs.forEach(transaction => {
61
+ for (let index = 0; index < transaction.outputs().len(); index++) {
62
+ const output = transaction.outputs().get(index);
63
+ if (this.ergoTree && output.ergo_tree().to_base16_bytes() !== this.ergoTree) {
64
+ continue;
65
+ }
66
+ const filteredTokens = this.tokens.filter(token => {
67
+ for (let tokenIndex = 0; tokenIndex < output.tokens().len(); tokenIndex++) {
68
+ if (output.tokens().get(tokenIndex).id().to_str() === token) {
69
+ return true;
70
+ }
71
+ }
72
+ });
73
+ if (this.tokens.filter(token => filteredTokens.indexOf(token) === -1).length > 0) {
74
+ continue;
75
+ }
76
+ boxes.push({
77
+ boxId: output.box_id().to_str(),
78
+ address: ergoLib.Address.recreate_from_ergo_tree(output.ergo_tree()).to_base58(this.networkType),
79
+ serialized: buffer_1.Buffer.from(output.sigma_serialize_bytes()).toString("hex")
80
+ });
81
+ }
82
+ for (let index2 = 0; index2 < transaction.inputs().len(); index2++) {
83
+ const input = transaction.inputs().get(index2);
84
+ spendBoxes.push(input.box_id().to_str());
85
+ }
86
+ });
87
+ this.actions.storeBox(boxes, spendBoxes, block, this.getId()).then((status) => {
88
+ resolve(status);
89
+ }).catch((e) => {
90
+ console.log(`An error uncached exception occurred during store ergo observation: ${e}`);
91
+ reject(e);
92
+ });
93
+ }
94
+ catch (e) {
95
+ reject(e);
96
+ }
97
+ });
98
+ };
99
+ /**
100
+ * fork one block and remove all stored information for this block
101
+ * @param hash: block hash
102
+ */
103
+ forkBlock = async (hash) => {
104
+ await this.actions.deleteBlockBoxes(hash, this.getId());
105
+ };
106
+ }
107
+ exports.ErgoUTXOExtractor = ErgoUTXOExtractor;
@@ -0,0 +1,3 @@
1
+ export { ErgoUTXOExtractor } from './extractor/ergoUtxoExtractor';
2
+ export { BoxEntity } from './entities/boxEntity';
3
+ export { migrations } from './migrations/index';
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.migrations = exports.BoxEntity = exports.ErgoUTXOExtractor = void 0;
4
+ var ergoUtxoExtractor_1 = require("./extractor/ergoUtxoExtractor");
5
+ Object.defineProperty(exports, "ErgoUTXOExtractor", { enumerable: true, get: function () { return ergoUtxoExtractor_1.ErgoUTXOExtractor; } });
6
+ var boxEntity_1 = require("./entities/boxEntity");
7
+ Object.defineProperty(exports, "BoxEntity", { enumerable: true, get: function () { return boxEntity_1.BoxEntity; } });
8
+ var index_1 = require("./migrations/index");
9
+ Object.defineProperty(exports, "migrations", { enumerable: true, get: function () { return index_1.migrations; } });
@@ -0,0 +1,5 @@
1
+ export default class ExtractedBox {
2
+ boxId: string;
3
+ address: string;
4
+ serialized: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class ExtractedBox {
4
+ boxId;
5
+ address;
6
+ serialized;
7
+ }
8
+ exports.default = ExtractedBox;
@@ -0,0 +1,6 @@
1
+ import { MigrationInterface, QueryRunner } from "typeorm";
2
+ export declare class boxEntity1659770552000 implements MigrationInterface {
3
+ name: string;
4
+ up(queryRunner: QueryRunner): Promise<void>;
5
+ down(queryRunner: QueryRunner): Promise<void>;
6
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.boxEntity1659770552000 = void 0;
4
+ class boxEntity1659770552000 {
5
+ name = 'boxEntity1659770552000';
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`CREATE TABLE "box_entity" (
8
+ "id" integer PRIMARY KEY AUTOINCREMENT NOT NULL,
9
+ "address" varchar NOT NULL,
10
+ "boxId" varchar NOT NULL,
11
+ "createBlock" varchar NOT NULL,
12
+ "creationHeight" integer NOT NULL,
13
+ "serialized" varchar NOT NULL,
14
+ "spendBlock" text,
15
+ "extractor" varchar NOT NULL)`);
16
+ }
17
+ async down(queryRunner) {
18
+ await queryRunner.query(`DROP TABLE "box_entity"`);
19
+ }
20
+ }
21
+ exports.boxEntity1659770552000 = boxEntity1659770552000;
@@ -0,0 +1,2 @@
1
+ import { boxEntity1659770552000 } from "./boxEntity1659770552000";
2
+ export declare const migrations: (typeof boxEntity1659770552000)[];
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.migrations = void 0;
4
+ const boxEntity1659770552000_1 = require("./boxEntity1659770552000");
5
+ exports.migrations = [boxEntity1659770552000_1.boxEntity1659770552000];
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "@rosen-bridge/address-extractor",
3
+ "version": "0.1.0",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "scripts": {
11
+ "lint": "eslint --fix .",
12
+ "test": "rimraf sqlite; tsc --noEmit && npm run lint && jest --detectOpenHandles ; rimraf sqlite",
13
+ "coverage": "c8 npm run test",
14
+ "build": "rimraf dist && tsc",
15
+ "release": "npm run test && npm run build && npm publish --access public"
16
+ },
17
+ "author": "",
18
+ "license": "ISC",
19
+ "dependencies": {
20
+ "@rosen-bridge/scanner": "^0.1.5",
21
+ "blakejs": "^1.2.1",
22
+ "ergo-lib-wasm-nodejs": "^0.18.0",
23
+ "reflect-metadata": "^0.1.13",
24
+ "sqlite3": "^5.0.9",
25
+ "typeorm": "^0.3.7"
26
+ },
27
+ "type": "module",
28
+ "devDependencies": {
29
+ "@types/jest": "^28.1.6",
30
+ "@types/node": "^18.0.6",
31
+ "@typescript-eslint/eslint-plugin": "^5.30.7",
32
+ "@typescript-eslint/parser": "^5.26.0",
33
+ "c8": "^7.11.3",
34
+ "eslint": "^8.16.0",
35
+ "jest": "^28.1.3",
36
+ "rimraf": "^3.0.2",
37
+ "ts-jest": "^28.0.7",
38
+ "ts-node": "^10.9.1",
39
+ "typescript": "^4.7.4"
40
+ }
41
+ }