@utexo/rgb-lib 0.3.0-beta.12.vss → 0.3.0-beta.13
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 -11
- package/package.json +29 -15
package/README.md
CHANGED
|
@@ -40,17 +40,6 @@ let keys = rgblib.generateKeys(rgblib.BitcoinNetwork.Regtest);
|
|
|
40
40
|
console.log(keys);
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
## VSS backup (optional)
|
|
44
|
-
|
|
45
|
-
When built with the `vss` feature, the bindings expose [VSS (Versioned Storage Service)](https://github.com/UTEXO-Protocol/rgb-lib) cloud backup:
|
|
46
|
-
|
|
47
|
-
- **`rgblib.restoreFromVss(config, targetDir)`** — restore a wallet from VSS backup.
|
|
48
|
-
- **`rgblib.VssBackupClient`** — client for a VSS server (`config`: `{ server_url, store_id, signing_key }`). Methods: `encryptionEnabled()`, `deleteBackup()`, `drop()`.
|
|
49
|
-
- **`wallet.configureVssBackup(config)`** — enable VSS backup for the wallet.
|
|
50
|
-
- **`wallet.disableVssAutoBackup()`** — turn off automatic VSS backup.
|
|
51
|
-
- **`wallet.vssBackup(vssBackupClient)`** — run a backup (returns version info).
|
|
52
|
-
- **`wallet.vssBackupInfo(vssBackupClient)`** — get backup info.
|
|
53
|
-
|
|
54
43
|
> :warning: **Warning: memory will be leaked if not taken care of manually**
|
|
55
44
|
>
|
|
56
45
|
> Check the example to see how you can manually avoid memory leaks
|
package/package.json
CHANGED
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@utexo/rgb-lib",
|
|
3
|
-
"version": "0.3.0-beta.
|
|
4
|
-
"description": "Node.js bindings for rgb-lib",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"files": [
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"name": "@utexo/rgb-lib",
|
|
3
|
+
"version": "0.3.0-beta.13",
|
|
4
|
+
"description": "Node.js bindings for rgb-lib",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"index.js"
|
|
8
|
+
],
|
|
9
|
+
"scripts": {
|
|
10
|
+
"test": "echo \"No tests available\" && exit 1"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/UTEXO-Protocol/rgb-lib-nodejs.git"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"rgb",
|
|
18
|
+
"bitcoin"
|
|
19
|
+
],
|
|
20
|
+
"author": "UTEXO Protocol",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/UTEXO-Protocol/rgb-lib-nodejs/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/UTEXO-Protocol/rgb-lib-nodejs#readme",
|
|
26
|
+
"optionalDependencies": {
|
|
27
|
+
"@utexo/rgb-lib-linux-x64": "0.3.0-beta.13",
|
|
28
|
+
"@utexo/rgb-lib-linux-arm64": "0.3.0-beta.13",
|
|
29
|
+
"@utexo/rgb-lib-darwin-arm64": "0.3.0-beta.13"
|
|
30
|
+
}
|
|
17
31
|
}
|