bsv-bap 0.1.15 → 0.1.16
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 +1 -1
- package/src/cli.ts +1 -1
- package/dist/cli.d.ts +0 -16
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { readFileSync, writeFileSync, existsSync } from "node:fs";
|
|
|
18
18
|
import { homedir } from "node:os";
|
|
19
19
|
import { join } from "node:path";
|
|
20
20
|
import { PrivateKey, Utils } from "@bsv/sdk";
|
|
21
|
-
import { BAP
|
|
21
|
+
import { BAP } from "bsv-bap";
|
|
22
22
|
|
|
23
23
|
const { toHex, toArray } = Utils;
|
|
24
24
|
|
package/dist/cli.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bun
|
|
2
|
-
/**
|
|
3
|
-
* BAP CLI - Bitcoin Attestation Protocol Command Line Interface
|
|
4
|
-
*
|
|
5
|
-
* Usage:
|
|
6
|
-
* bap create [--name <name>] [--wif <wif>] Create new BAP identity
|
|
7
|
-
* bap sign <message> Sign a message
|
|
8
|
-
* bap verify <message> <sig> <address> Verify a signature
|
|
9
|
-
* bap friend-pubkey <friendBapId> Get friend public key
|
|
10
|
-
* bap encrypt <data> <friendBapId> Encrypt for friend
|
|
11
|
-
* bap decrypt <ciphertext> <friendBapId> Decrypt from friend
|
|
12
|
-
* bap export Export identity backup
|
|
13
|
-
* bap import <backup> Import identity from backup
|
|
14
|
-
* bap info Show current identity info
|
|
15
|
-
*/
|
|
16
|
-
export {};
|