From 8e8c94ea79d4d85442fcbf7fe4c80a7a4f0704c9 Mon Sep 17 00:00:00 2001 From: Danilo Tuler Date: Tue, 30 Jul 2024 15:33:41 -0300 Subject: [PATCH 1/2] feat(paymaster): add shebang to entrypoint --- .changeset/smart-nails-retire.md | 5 +++++ packages/mock-verifying-paymaster/src/index.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/smart-nails-retire.md diff --git a/.changeset/smart-nails-retire.md b/.changeset/smart-nails-retire.md new file mode 100644 index 00000000..048dc00d --- /dev/null +++ b/.changeset/smart-nails-retire.md @@ -0,0 +1,5 @@ +--- +"@cartesi/mock-verifying-paymaster": patch +--- + +add shebang to entrypoint diff --git a/packages/mock-verifying-paymaster/src/index.ts b/packages/mock-verifying-paymaster/src/index.ts index f2977e15..e1c781d1 100644 --- a/packages/mock-verifying-paymaster/src/index.ts +++ b/packages/mock-verifying-paymaster/src/index.ts @@ -1,3 +1,4 @@ +#!/usr/bin/env node import cors from "@fastify/cors"; import Fastify from "fastify"; import { ENTRYPOINT_ADDRESS_V06, ENTRYPOINT_ADDRESS_V07 } from "permissionless"; From d7411358b78fbbc2e92fb07d3b782c6e1542d0db Mon Sep 17 00:00:00 2001 From: Danilo Tuler Date: Tue, 30 Jul 2024 15:34:35 -0300 Subject: [PATCH 2/2] feat(paymaster): change bin name from mock-paymaster to mock-verifying-paymaster --- .changeset/nine-fans-shave.md | 5 +++++ packages/mock-verifying-paymaster/package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/nine-fans-shave.md diff --git a/.changeset/nine-fans-shave.md b/.changeset/nine-fans-shave.md new file mode 100644 index 00000000..2fa44135 --- /dev/null +++ b/.changeset/nine-fans-shave.md @@ -0,0 +1,5 @@ +--- +"@cartesi/mock-verifying-paymaster": minor +--- + +change bin name from mock-paymaster to mock-verifying-paymaster diff --git a/packages/mock-verifying-paymaster/package.json b/packages/mock-verifying-paymaster/package.json index f6ac0351..f6b67f76 100644 --- a/packages/mock-verifying-paymaster/package.json +++ b/packages/mock-verifying-paymaster/package.json @@ -2,7 +2,7 @@ "name": "@cartesi/mock-verifying-paymaster", "version": "0.1.0", "bin": { - "mock-paymaster": "./dist/index.js" + "mock-verifying-paymaster": "./dist/index.js" }, "files": [ "dist"