scavio 0.26.0 → 0.26.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/dist/index.d.cts CHANGED
@@ -5002,7 +5002,7 @@ declare class ChatgptNamespace {
5002
5002
  * answer, every page it cites (title, publisher, date), the web searches it
5003
5003
  * ran and the products it recommended. Built for AI visibility monitoring.
5004
5004
  *
5005
- * Costs 5 credits per answered prompt; failed prompts are not charged.
5005
+ * Costs 1 credit per answered prompt; failed prompts are not charged.
5006
5006
  */
5007
5007
  prompt(options: ChatgptPromptOptions): Promise<Record<string, unknown>>;
5008
5008
  }
package/dist/index.d.ts CHANGED
@@ -5002,7 +5002,7 @@ declare class ChatgptNamespace {
5002
5002
  * answer, every page it cites (title, publisher, date), the web searches it
5003
5003
  * ran and the products it recommended. Built for AI visibility monitoring.
5004
5004
  *
5005
- * Costs 5 credits per answered prompt; failed prompts are not charged.
5005
+ * Costs 1 credit per answered prompt; failed prompts are not charged.
5006
5006
  */
5007
5007
  prompt(options: ChatgptPromptOptions): Promise<Record<string, unknown>>;
5008
5008
  }
package/dist/index.js CHANGED
@@ -145,7 +145,7 @@ function parseRetryAfter(header) {
145
145
  var BASE_URL = "https://api.scavio.dev";
146
146
  var DEFAULT_TIMEOUT = 3e4;
147
147
  var DEFAULT_MAX_RETRIES = 2;
148
- var SDK_VERSION = true ? "0.26.0" : "0.0.0";
148
+ var SDK_VERSION = true ? "0.26.1" : "0.0.0";
149
149
  var USER_AGENT = `scavio-js/${SDK_VERSION}`;
150
150
  function isServerRuntime() {
151
151
  const g = globalThis;
@@ -2741,7 +2741,7 @@ var ChatgptNamespace = class {
2741
2741
  * answer, every page it cites (title, publisher, date), the web searches it
2742
2742
  * ran and the products it recommended. Built for AI visibility monitoring.
2743
2743
  *
2744
- * Costs 5 credits per answered prompt; failed prompts are not charged.
2744
+ * Costs 1 credit per answered prompt; failed prompts are not charged.
2745
2745
  */
2746
2746
  async prompt(options) {
2747
2747
  return this.client._post("/api/v1/chatgpt/prompt", options, void 0, AI_PROMPT_TIMEOUT);