armory-cli 0.1.0 → 0.1.2

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.
Files changed (2) hide show
  1. package/dist/cli.js +15 -15
  2. package/package.json +4 -2
package/dist/cli.js CHANGED
@@ -4984,14 +4984,14 @@ var FACILITATOR_PACKAGE = (name) => `{
4984
4984
  "start": "bun run src/index.ts"
4985
4985
  },
4986
4986
  "dependencies": {
4987
- "@armory/base": "latest",
4988
- "@armory/facilitator": "latest",
4989
- "@armory/tokens": "latest"
4987
+ "@armory-sh/base": "latest",
4988
+ "@armory-sh/facilitator": "latest",
4989
+ "@armory-sh/tokens": "latest"
4990
4990
  }
4991
4991
  }`;
4992
- var FACILITATOR_INDEX = `import { createFacilitatorServer } from "@armory/facilitator";
4993
- import { createMemoryQueue } from "@armory/facilitator/queue/memory";
4994
- import { MemoryNonceTracker } from "@armory/facilitator/nonce/memory";
4992
+ var FACILITATOR_INDEX = `import { createFacilitatorServer } from "@armory-sh/facilitator";
4993
+ import { createMemoryQueue } from "@armory-sh/facilitator/queue/memory";
4994
+ import { MemoryNonceTracker } from "@armory-sh/facilitator/nonce/memory";
4995
4995
 
4996
4996
  const server = createFacilitatorServer({
4997
4997
  port: Number(process.env.PORT ?? 3000),
@@ -5052,13 +5052,13 @@ var SERVER_PACKAGE = (name) => `{
5052
5052
  "dev": "bun run src/index.ts"
5053
5053
  },
5054
5054
  "dependencies": {
5055
- "@armory/base": "latest",
5056
- "@armory/middleware": "latest"
5055
+ "@armory-sh/base": "latest",
5056
+ "@armory-sh/middleware": "latest"
5057
5057
  }
5058
5058
  }`;
5059
5059
  var SERVER_INDEX = `import { Bun } from "bun";
5060
- import { paymentMiddleware } from "@armory/middleware/bun";
5061
- import { USDC_BASE } from "@armory/tokens";
5060
+ import { paymentMiddleware } from "@armory-sh/middleware/bun";
5061
+ import { USDC_BASE } from "@armory-sh/tokens";
5062
5062
 
5063
5063
  const app = Bun.serve({
5064
5064
  port: 3000,
@@ -5097,13 +5097,13 @@ var CLIENT_PACKAGE = (name) => `{
5097
5097
  "dev": "bun run src/index.ts"
5098
5098
  },
5099
5099
  "dependencies": {
5100
- "@armory/client-viem": "latest",
5101
- "@armory/tokens": "latest"
5100
+ "@armory-sh/client-viem": "latest",
5101
+ "@armory-sh/tokens": "latest"
5102
5102
  }
5103
5103
  }`;
5104
- var CLIENT_INDEX = `import { createX402Client } from "@armory/client-viem";
5104
+ var CLIENT_INDEX = `import { createX402Client } from "@armory-sh/client-viem";
5105
5105
  import { privateKeyToAccount } from "viem/accounts";
5106
- import { USDC_BASE } from "@armory/tokens";
5106
+ import { USDC_BASE } from "@armory-sh/tokens";
5107
5107
  import { client } from "./client.js";
5108
5108
 
5109
5109
  const account = privateKeyToAccount(process.env.PRIVATE_KEY ?? "0x" + "1".repeat(64));
@@ -5122,7 +5122,7 @@ async function main() {
5122
5122
 
5123
5123
  main().catch(console.error);
5124
5124
  `;
5125
- var CLIENT_IMPL = `import type { X402Client } from "@armory/client-viem";
5125
+ var CLIENT_IMPL = `import type { X402Client } from "@armory-sh/client-viem";
5126
5126
 
5127
5127
  export async function fetchData(client: X402Client) {
5128
5128
  const response = await client.fetch("http://localhost:3000/api/data");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "armory-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Scaffold x402 payment-enabled apps",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -25,7 +25,9 @@
25
25
  "base",
26
26
  "usdc"
27
27
  ],
28
- "bin": "./dist/cli.js",
28
+ "bin": {
29
+ "armory-cli": "./dist/cli.js"
30
+ },
29
31
  "files": [
30
32
  "dist",
31
33
  "README.md"