@aivisibilityskill/sdk 1.0.0 → 1.0.1
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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ const aiv = new Aiv({ apiKey: process.env.AIV_KEY! }); // aiv_live_… or aiv_te
|
|
|
20
20
|
|
|
21
21
|
const job = await aiv.checks.create({
|
|
22
22
|
questions: ["best invoicing app for freelancers"],
|
|
23
|
-
engines: ["chatgpt", "gemini", "
|
|
23
|
+
engines: ["chatgpt", "gemini", "ai_overviews", "perplexity"],
|
|
24
24
|
locale: "en-US",
|
|
25
25
|
});
|
|
26
26
|
const done = await aiv.jobs.wait(job.id);
|
package/dist/index.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export interface WaitOptions {
|
|
|
80
80
|
/** Give up (and return the unfinished result) after this long. Default 10 minutes. */
|
|
81
81
|
timeoutMs?: number;
|
|
82
82
|
}
|
|
83
|
-
export declare const VERSION = "1.0.
|
|
83
|
+
export declare const VERSION = "1.0.1";
|
|
84
84
|
type QueryValue = string | number | boolean | readonly string[] | undefined | null;
|
|
85
85
|
interface RequestOptions {
|
|
86
86
|
body?: unknown;
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ export class AivError extends Error {
|
|
|
21
21
|
const RETRYABLE = new Set([429, 502, 503, 504]);
|
|
22
22
|
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
23
23
|
const enc = encodeURIComponent;
|
|
24
|
-
export const VERSION = "1.0.
|
|
24
|
+
export const VERSION = "1.0.1";
|
|
25
25
|
/** A cursor-paged list: `for await (const job of aiv.jobs.iterate())`. */
|
|
26
26
|
async function* pages(fetchPage, items) {
|
|
27
27
|
let before;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aivisibilityskill/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Official TypeScript client for the aivisibilityskill API: see how ChatGPT, Gemini, AI Overviews, Perplexity, Claude and Grok answer about any brand.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|