routstrd 0.2.10 → 0.2.11

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/1q ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "routstrd",
3
+ "version": "0.2.11",
4
+ "module": "src/index.ts",
5
+ "type": "module",
6
+ "private": false,
7
+ "bin": {
8
+ "routstrd": "./dist/index.js"
9
+ },
10
+ "scripts": {
11
+ "start": "bun src/index.ts start",
12
+ "monitor": "bun src/index.ts monitor",
13
+ "lint": "tsc --noEmit",
14
+ "test": "bun test",
15
+ "build": "mkdir -p dist/daemon && bun build src/index.ts --target=bun --outfile=dist/index.js && bun build src/daemon/index.ts --target=bun --outfile=dist/daemon/index.js",
16
+ "prepublishOnly": "bun run build"
17
+ },
18
+ "devDependencies": {
19
+ "@types/bun": "latest",
20
+ "@types/qrcode": "^1.5.6"
21
+ },
22
+ "peerDependencies": {
23
+ "typescript": "^5"
24
+ },
25
+ "dependencies": {
26
+ "@cashu/cashu-ts": "^3.1.1",
27
+ "@routstr/sdk": "^0.3.0",
28
+ "applesauce-core": "^5.1.0",
29
+ "applesauce-relay": "^5.1.0",
30
+ "commander": "^14.0.2",
31
+ "nostr-tools": "^2.12.0",
32
+ "qrcode": "^1.5.4",
33
+ "rxjs": "^7.8.1",
34
+ "zustand": "^5.0.5"
35
+ }
36
+ }
package/dist/index.js CHANGED
@@ -15259,7 +15259,7 @@ async function addDaemonClient(name) {
15259
15259
  }
15260
15260
  const result = await callDaemon("/clients/add", {
15261
15261
  method: "POST",
15262
- body: { name, id: derivedId }
15262
+ body: { name, id: clientId }
15263
15263
  });
15264
15264
  const output4 = result.output;
15265
15265
  if (!output4?.client?.apiKey) {
@@ -15557,7 +15557,7 @@ async function isCocodInstalled(cocodPath) {
15557
15557
  // package.json
15558
15558
  var package_default = {
15559
15559
  name: "routstrd",
15560
- version: "0.2.10",
15560
+ version: "0.2.11",
15561
15561
  module: "src/index.ts",
15562
15562
  type: "module",
15563
15563
  private: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "routstrd",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "module": "src/index.ts",
5
5
  "type": "module",
6
6
  "private": false,
@@ -144,7 +144,7 @@ export async function addDaemonClient(
144
144
 
145
145
  const result = await callDaemon("/clients/add", {
146
146
  method: "POST",
147
- body: { name, id: derivedId },
147
+ body: { name, id: clientId },
148
148
  });
149
149
 
150
150