devsense-php-ls 1.0.17713 → 1.0.17767

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.
Files changed (2) hide show
  1. package/README.md +12 -11
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -45,26 +45,27 @@ The language server provides free features and premium features which needs to b
45
45
  1. **Purchase a License:**
46
46
  User needs to purchase license on official purchase page: [https://www.devsense.com/purchase](https://www.devsense.com/purchase)
47
47
 
48
- 2. **Generate License Signature:**
49
- User will follow the link below to validate license and receive the **{JSON SIGNATURE}**: [https://www.devsense.com/purchase/validation](https://www.devsense.com/purchase/validation)
48
+ 2. **Activate Language Server**
49
+
50
+ Set the value of license key into `DEVSENSE_PHP_LS_LICENSE` environment variable. Language Server will try to activate automatically upon starting (requires Internet connection).
51
+
52
+ 3. **Optional: Offline Activation**
53
+
54
+ In case there is no Internet connection: User will follow the link below to validate license and receive a **{JSON}**: [devsense.com/purchase/validation](https://www.devsense.com/purchase/validation)
55
+
56
+ Pass the entire `{JSON}` into the language server's `initialize` method, as a `"initializationOptions"."0"` property:
50
57
 
51
- 3. **Activate Premium Features**
52
- Pass the entire {JSON SIGNATURE} into the language server's `initialize` method, `"initializationOptions"."0"` property:
53
58
  ```json
54
59
  {
55
60
  "initializationOptions": {
56
- "0": "{JSON SIGNATURE}",
57
- // ...
61
+ "0": "{JSON}",
58
62
  },
59
- // ...
60
63
  }
61
64
  ```
62
65
 
63
- Or store the {JSON SIGNATURE} into environment variable `DEVSENSE_PHP_LS_LICENSE`.
66
+ Or store the `{JSON}` into environment variable `DEVSENSE_PHP_LS_LICENSE`.
64
67
 
65
- ```shell
66
- SET DEVSENSE_PHP_LS_LICENSE="{JSON SIGNATURE}"
67
- ```
68
+ ---
68
69
 
69
70
  If you encounter any issues during the activation process, please refer to our documentation or contact support.
70
71
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devsense-php-ls",
3
- "version": "1.0.17713",
3
+ "version": "1.0.17767",
4
4
  "description": "Devsense PHP Language Server",
5
5
  "homepage": "https://www.devsense.com/",
6
6
  "funding": "https://www.devsense.com/purchase?from=npm",
@@ -45,11 +45,11 @@
45
45
  "language server"
46
46
  ],
47
47
  "optionalDependencies": {
48
- "devsense-php-ls-darwin-arm64": "^1.0.17713",
49
- "devsense-php-ls-darwin-x64": "^1.0.17713",
50
- "devsense-php-ls-linux-arm64": "^1.0.17713",
51
- "devsense-php-ls-linux-x64": "^1.0.17713",
52
- "devsense-php-ls-win32-arm64": "^1.0.17713",
53
- "devsense-php-ls-win32-x64": "^1.0.17713"
48
+ "devsense-php-ls-darwin-arm64": "^1.0.17767",
49
+ "devsense-php-ls-darwin-x64": "^1.0.17767",
50
+ "devsense-php-ls-linux-arm64": "^1.0.17767",
51
+ "devsense-php-ls-linux-x64": "^1.0.17767",
52
+ "devsense-php-ls-win32-arm64": "^1.0.17767",
53
+ "devsense-php-ls-win32-x64": "^1.0.17767"
54
54
  }
55
55
  }