@jeniex/utils 1.0.25 → 1.0.27

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/browser/index.cjs CHANGED
@@ -307,6 +307,10 @@ function removeSearchParams(keys, fullURL) {
307
307
  return updatedURL.join('');
308
308
  }
309
309
 
310
+ /**
311
+ * Checks if the VPN is active by accessing the router address.
312
+ * Tested on Opera browser build-in VPN only.
313
+ */
310
314
  async function checkVPN() {
311
315
  let pass = false;
312
316
  try {
@@ -112,6 +112,10 @@ declare const logId: string;
112
112
  /** The initial tab URL on the script run. */
113
113
  declare const tabURL: string;
114
114
 
115
+ /**
116
+ * Checks if the VPN is active by accessing the router address.
117
+ * Tested on Opera browser build-in VPN only.
118
+ */
115
119
  declare function checkVPN(): Promise<void>;
116
120
  declare function checkVPNRandomly(): Promise<void>;
117
121
 
package/browser/index.js CHANGED
@@ -305,6 +305,10 @@ function removeSearchParams(keys, fullURL) {
305
305
  return updatedURL.join('');
306
306
  }
307
307
 
308
+ /**
309
+ * Checks if the VPN is active by accessing the router address.
310
+ * Tested on Opera browser build-in VPN only.
311
+ */
308
312
  async function checkVPN() {
309
313
  let pass = false;
310
314
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeniex/utils",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "author": "JenieX",
5
5
  "homepage": "https://github.com/JenieX/utils",
6
6
  "type": "module",