cursor-doctor 1.1.0 → 1.1.2
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 +1 -1
- package/package.json +1 -1
- package/src/cli.js +1 -1
- package/src/license.js +2 -2
package/README.md
CHANGED
|
@@ -74,7 +74,7 @@ cursor-doctor fix --dry-run
|
|
|
74
74
|
cursor-doctor activate <key>
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
**Get a Pro key:** [nedcodes.gumroad.com/l/cursor-doctor](https://nedcodes.gumroad.com/l/cursor-doctor)
|
|
77
|
+
**Get a Pro key:** [nedcodes.gumroad.com/l/cursor-doctor-pro](https://nedcodes.gumroad.com/l/cursor-doctor-pro)
|
|
78
78
|
|
|
79
79
|
## Why?
|
|
80
80
|
|
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -11,7 +11,7 @@ const { autoFix } = require('./autofix');
|
|
|
11
11
|
const { isLicensed, activateLicense } = require('./license');
|
|
12
12
|
const { fixProject } = require('./fix');
|
|
13
13
|
|
|
14
|
-
const VERSION = '1.1.
|
|
14
|
+
const VERSION = '1.1.2';
|
|
15
15
|
|
|
16
16
|
const RED = '\x1b[31m';
|
|
17
17
|
const YELLOW = '\x1b[33m';
|
package/src/license.js
CHANGED
|
@@ -3,7 +3,7 @@ const path = require('path');
|
|
|
3
3
|
const https = require('https');
|
|
4
4
|
const crypto = require('crypto');
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const PRODUCT_ID = 'IlErCQxex46U8kXSE12IJw==';
|
|
7
7
|
const LICENSE_FILE = '.cursor-doctor-license';
|
|
8
8
|
const SALT = 'cursor-doctor-v1';
|
|
9
9
|
|
|
@@ -23,7 +23,7 @@ function isLicensed() {
|
|
|
23
23
|
|
|
24
24
|
function verifyWithGumroad(key) {
|
|
25
25
|
return new Promise(function(resolve) {
|
|
26
|
-
var postData = '
|
|
26
|
+
var postData = 'product_id=' + encodeURIComponent(PRODUCT_ID) + '&license_key=' + encodeURIComponent(key.trim());
|
|
27
27
|
|
|
28
28
|
var options = {
|
|
29
29
|
hostname: 'api.gumroad.com',
|