@1sat/cli 0.0.51 → 0.0.54
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/package.json +7 -6
- package/scripts/resubmit-bsv21-discovery.ts +33 -0
- package/src/cli.ts +14 -5
- package/src/commands/config.ts +1 -6
- package/src/commands/identity.ts +1 -8
- package/src/commands/locks.ts +1 -5
- package/src/commands/opns.ts +1 -5
- package/src/commands/ordinals.ts +1 -9
- package/src/commands/remote.ts +1 -11
- package/src/commands/serve-messagebox.ts +213 -0
- package/src/commands/serve.ts +26 -9
- package/src/commands/social.ts +1 -3
- package/src/commands/sweep.ts +1 -4
- package/src/commands/tokens.ts +248 -16
- package/src/commands/tx.ts +1 -3
- package/src/commands/wallet.ts +1 -20
- package/src/config.ts +24 -0
- package/src/help.ts +719 -101
- package/src/types/messagebox-server.d.ts +10 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare module '@bopen-io/messagebox-server' {
|
|
2
|
+
import type { Server as HttpServer } from 'node:http'
|
|
3
|
+
export const http: HttpServer
|
|
4
|
+
export const io: {
|
|
5
|
+
close(cb?: () => void): void
|
|
6
|
+
} | null
|
|
7
|
+
export const HTTP_PORT: number
|
|
8
|
+
export const ROUTING_PREFIX: string
|
|
9
|
+
export function start(): Promise<void>
|
|
10
|
+
}
|