pinme 2.0.2-beta.1 → 2.0.2-beta.3
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 +27 -22
- package/dist/index.js +2535 -3612
- package/package.json +1 -1
- package/dist/utils/getDeviceId.js +0 -61
package/README.md
CHANGED
|
@@ -227,7 +227,7 @@ pinme upload
|
|
|
227
227
|
pinme upload /path/to/file-or-directory
|
|
228
228
|
```
|
|
229
229
|
|
|
230
|
-
### Bind Domain (requires
|
|
230
|
+
### Bind Domain (requires wallet balance)
|
|
231
231
|
|
|
232
232
|
```bash
|
|
233
233
|
# Upload and bind to a domain (auto-detected: Pinme subdomain or DNS domain)
|
|
@@ -323,6 +323,11 @@ pinme logout
|
|
|
323
323
|
# View your domains
|
|
324
324
|
pinme my-domains
|
|
325
325
|
pinme domain
|
|
326
|
+
|
|
327
|
+
# View wallet balance
|
|
328
|
+
pinme wallet
|
|
329
|
+
pinme wallet-balance
|
|
330
|
+
pinme balance
|
|
326
331
|
```
|
|
327
332
|
|
|
328
333
|
### Get Help
|
|
@@ -368,7 +373,7 @@ The selected directory must meet:
|
|
|
368
373
|
|
|
369
374
|
### `bind`
|
|
370
375
|
|
|
371
|
-
Upload files and bind them to a custom domain. **Domain binding
|
|
376
|
+
Upload files and bind them to a custom domain. **Domain binding deducts from your wallet balance.**
|
|
372
377
|
|
|
373
378
|
```bash
|
|
374
379
|
pinme upload <path> [options]
|
|
@@ -400,7 +405,7 @@ pinme upload ./dist --domain my-site --dns
|
|
|
400
405
|
- Use `--dns` or `-D` flag to force DNS domain mode when needed
|
|
401
406
|
|
|
402
407
|
**Requirements:**
|
|
403
|
-
-
|
|
408
|
+
- Sufficient wallet balance is required for domain binding
|
|
404
409
|
- Valid AppKey must be set (run: `pinme set-appkey <AppKey>`)
|
|
405
410
|
- For DNS domains, you must own the domain
|
|
406
411
|
|
|
@@ -421,7 +426,7 @@ pinme upload [path] [--domain <name>]
|
|
|
421
426
|
|
|
422
427
|
**Options:**
|
|
423
428
|
- `path`: Path to the file or directory to upload (optional, interactive if not provided)
|
|
424
|
-
- `-d, --domain <name>`: Pinme subdomain to bind after upload (optional, requires
|
|
429
|
+
- `-d, --domain <name>`: Pinme subdomain to bind after upload (optional, requires wallet balance)
|
|
425
430
|
|
|
426
431
|
**Examples:**
|
|
427
432
|
```bash
|
|
@@ -435,7 +440,7 @@ pinme upload dist
|
|
|
435
440
|
pinme upload ./example.jpg
|
|
436
441
|
```
|
|
437
442
|
|
|
438
|
-
**Note:** Domain binding during upload requires
|
|
443
|
+
**Note:** Domain binding during upload requires available wallet balance. Use the `bind` command for domain binding.
|
|
439
444
|
|
|
440
445
|
### `import`
|
|
441
446
|
|
|
@@ -549,32 +554,32 @@ Log out and clear authentication information from local storage.
|
|
|
549
554
|
|
|
550
555
|
List all domains owned by the current account.
|
|
551
556
|
|
|
552
|
-
|
|
557
|
+
### `wallet` / `wallet-balance` / `balance`
|
|
553
558
|
|
|
554
|
-
|
|
559
|
+
Show the current wallet balance for the logged-in account.
|
|
555
560
|
|
|
556
|
-
|
|
561
|
+
```bash
|
|
562
|
+
pinme wallet
|
|
563
|
+
pinme wallet-balance
|
|
564
|
+
pinme balance
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
---
|
|
557
568
|
|
|
558
|
-
|
|
569
|
+
## Wallet Billing
|
|
559
570
|
|
|
560
|
-
###
|
|
571
|
+
### Overview
|
|
561
572
|
|
|
562
|
-
|
|
563
|
-
|---------|------|-----|
|
|
564
|
-
| Upload files to IPFS | ✅ | ✅ |
|
|
565
|
-
| Preview URL | ✅ | ✅ |
|
|
566
|
-
| Pinme subdomain binding | ❌ | ✅ |
|
|
567
|
-
| Custom DNS domain binding | ❌ | ✅ |
|
|
568
|
-
| Priority support | ❌ | ✅ |
|
|
573
|
+
PinMe now uses wallet balance for paid capabilities such as domain binding and custom DNS support.
|
|
569
574
|
|
|
570
575
|
### Domain Binding Requirements
|
|
571
576
|
|
|
572
|
-
Domain binding (both Pinme subdomains and custom DNS domains) requires
|
|
577
|
+
Domain binding (both Pinme subdomains and custom DNS domains) requires sufficient wallet balance.
|
|
573
578
|
|
|
574
579
|
**Before using domain binding:**
|
|
575
580
|
|
|
576
|
-
1. **
|
|
577
|
-
- Visit [PinMe website](https://pinme.eth.limo/) to
|
|
581
|
+
1. **Recharge your wallet**
|
|
582
|
+
- Visit [PinMe website](https://pinme.eth.limo/) to top up your balance
|
|
578
583
|
|
|
579
584
|
2. **Set AppKey**
|
|
580
585
|
```bash
|
|
@@ -590,9 +595,9 @@ Domain binding (both Pinme subdomains and custom DNS domains) requires VIP membe
|
|
|
590
595
|
pinme upload ./dist --domain example.com --dns
|
|
591
596
|
```
|
|
592
597
|
|
|
593
|
-
### Checking
|
|
598
|
+
### Checking Wallet Balance
|
|
594
599
|
|
|
595
|
-
If you attempt to bind a domain without
|
|
600
|
+
If you attempt to bind a domain without enough balance, you'll see an error message. You can check or recharge your wallet on the [PinMe website](https://pinme.eth.limo/).
|
|
596
601
|
|
|
597
602
|
---
|
|
598
603
|
|