@glyphteck/veyl 0.4.0 → 0.5.0
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/README.md +0 -2
- package/dist/cli.js +673 -278
- package/dist/index.js +673 -278
- package/docs/api.md +8 -0
- package/docs/cli.md +0 -4
- package/package.json +6 -1
package/docs/api.md
CHANGED
|
@@ -124,6 +124,14 @@ Reads the current local profile without logging in.
|
|
|
124
124
|
const account = await veyl.account.me();
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
+
### `veyl.account.delete(options)`
|
|
128
|
+
|
|
129
|
+
Unlocks the current account if needed, drains its encrypted inbox, marks every known opaque chat deleted, deletes identifiable account data through the canonical backend owner, and removes the local profile. Explicit confirmation is required.
|
|
130
|
+
|
|
131
|
+
```js
|
|
132
|
+
await veyl.account.delete({ confirm: true });
|
|
133
|
+
```
|
|
134
|
+
|
|
127
135
|
### Account Summary
|
|
128
136
|
|
|
129
137
|
```js
|
package/docs/cli.md
CHANGED
|
@@ -9,7 +9,6 @@ The `veyl` binary is the terminal adapter over the headless JavaScript API.
|
|
|
9
9
|
```bash
|
|
10
10
|
npx -y @glyphteck/veyl help
|
|
11
11
|
npm install -g @glyphteck/veyl
|
|
12
|
-
pnpm add -g @glyphteck/veyl
|
|
13
12
|
bun add -g @glyphteck/veyl
|
|
14
13
|
curl -fsSL https://veyl.glyphteck.com/install | sh
|
|
15
14
|
```
|
|
@@ -19,9 +18,6 @@ Project-local:
|
|
|
19
18
|
```bash
|
|
20
19
|
npm install @glyphteck/veyl
|
|
21
20
|
npm exec -- veyl help
|
|
22
|
-
|
|
23
|
-
pnpm add @glyphteck/veyl
|
|
24
|
-
pnpm exec veyl help
|
|
25
21
|
```
|
|
26
22
|
|
|
27
23
|
## Account And Vault
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glyphteck/veyl",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Programmable Node.js client for Veyl accounts, vaults, chat, and wallet payments.",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/glyphteck/veyl.git",
|
|
10
|
+
"directory": "clients/headless"
|
|
11
|
+
},
|
|
7
12
|
"exports": {
|
|
8
13
|
".": "./dist/index.js"
|
|
9
14
|
},
|