chore(nostr-client): move dev scripts to dev/ folder
Move 9 development/testing .mjs scripts out of the package root into dev/ to keep the published package clean. Update relative imports and dev.sh reference. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
01bac04cdf
commit
5448a620a9
10 changed files with 3 additions and 3 deletions
|
|
@ -861,7 +861,7 @@ cmd_fund() {
|
|||
VITE_LIGHTNING_PUB_PUBKEY="$lp_pubkey" \
|
||||
VITE_RELAY_URL="ws://localhost:7777" \
|
||||
VITE_APP_ID="$app_id" \
|
||||
node fund-dev.mjs "$amount" 2>&1)
|
||||
node dev/fund-dev.mjs "$amount" 2>&1)
|
||||
|
||||
# Extract just the invoice (last line, starts with lnbc)
|
||||
local bolt11=$(echo "$invoice" | grep -E "^lnbc")
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
* Usage:
|
||||
* VITE_ATM_PRIVATE_KEY=xxx VITE_LIGHTNING_PUB_PUBKEY=yyy node fund-dev.mjs [amount]
|
||||
*/
|
||||
import { NostrClient, loadIdentityFromHex, encryptContent, decryptJSON } from './dist/index.js'
|
||||
import { NostrClient, loadIdentityFromHex, encryptContent, decryptJSON } from '../dist/index.js'
|
||||
import { finalizeEvent } from 'nostr-tools'
|
||||
import { randomUUID } from 'crypto'
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import { NostrClient, loadIdentityFromHex, encryptContent, decryptJSON } from './dist/index.js'
|
||||
import { NostrClient, loadIdentityFromHex, encryptContent, decryptJSON } from '../dist/index.js'
|
||||
import { Relay } from 'nostr-tools/relay'
|
||||
import { finalizeEvent } from 'nostr-tools'
|
||||
import { randomUUID } from 'crypto'
|
||||
Loading…
Add table
Add a link
Reference in a new issue