chore(v1.34.7): bump version and generate docs
This commit is contained in:
parent
211205363c
commit
f935b50011
77 changed files with 5207 additions and 2669 deletions
21
docs/webCache_RemoteWebCache.js.html
generated
21
docs/webCache_RemoteWebCache.js.html
generated
|
|
@ -4,7 +4,7 @@
|
|||
<head>
|
||||
<meta name="generator" content="JSDoc 3.6.11">
|
||||
<meta charset="utf-8">
|
||||
<title>whatsapp-web.js 1.34.6 » Source: webCache/RemoteWebCache.js</title>
|
||||
<title>whatsapp-web.js 1.34.7 » Source: webCache/RemoteWebCache.js</title>
|
||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
|
||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Noto+Serif:400,400i,700,700i" type="text/css">
|
||||
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Inconsolata:500" type="text/css">
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
<nav id="jsdoc-navbar" role="navigation" class="jsdoc-navbar">
|
||||
<div id="jsdoc-navbar-container">
|
||||
<div id="jsdoc-navbar-content">
|
||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>34.<wbr>6</a>
|
||||
<a href="index.html" class="jsdoc-navbar-package-name">whatsapp-web.<wbr>js 1.<wbr>34.<wbr>7</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
@ -42,7 +42,10 @@ class RemoteWebCache extends WebCache {
|
|||
constructor(options = {}) {
|
||||
super();
|
||||
|
||||
if (!options.remotePath) throw new Error('webVersionCache.remotePath is required when using the remote cache');
|
||||
if (!options.remotePath)
|
||||
throw new Error(
|
||||
'webVersionCache.remotePath is required when using the remote cache',
|
||||
);
|
||||
this.remotePath = options.remotePath;
|
||||
this.strict = options.strict || false;
|
||||
}
|
||||
|
|
@ -59,8 +62,11 @@ class RemoteWebCache extends WebCache {
|
|||
console.error(`Error fetching version ${version} from remote`, err);
|
||||
}
|
||||
|
||||
if (this.strict) throw new VersionResolveError(`Couldn't load version ${version} from the archive`);
|
||||
return null;
|
||||
if (this.strict)
|
||||
throw new VersionResolveError(
|
||||
`Couldn't load version ${version} from the archive`,
|
||||
);
|
||||
return null;
|
||||
}
|
||||
|
||||
async persist() {
|
||||
|
|
@ -68,7 +74,8 @@ class RemoteWebCache extends WebCache {
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = RemoteWebCache;</code></pre>
|
||||
module.exports = RemoteWebCache;
|
||||
</code></pre>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -78,7 +85,7 @@ module.exports = RemoteWebCache;</code></pre>
|
|||
<footer id="jsdoc-footer" class="jsdoc-footer">
|
||||
<div id="jsdoc-footer-container">
|
||||
<p>
|
||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on January 30, 2026.
|
||||
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.11 on April 24, 2026.
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
|||
Loading…
Reference in a new issue