@glyphteck/veyl 0.4.1 → 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/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/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "@glyphteck/veyl",
3
- "version": "0.4.1",
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
  },