@keystrokehq/serpapi 0.0.8 → 0.0.15

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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as serpApiBundle, r as serpApiOfficialIntegration, t as serpApi } from "./integration-BA0FMUGB.mjs";
1
+ import { n as serpApiBundle, r as serpApiOfficialIntegration, t as serpApi } from "./integration-bOOYwziK.mjs";
2
2
  import { z } from "zod";
3
3
  import { getAccount, getJson, getJsonBySearchId, getLocations } from "serpapi";
4
4
  import { createOfficialOperationFactory } from "@keystrokehq/integration-authoring/official";
@@ -1,14 +1,14 @@
1
1
  import { z } from "zod";
2
2
  import * as _keystrokehq_integration_authoring_official0 from "@keystrokehq/integration-authoring/official";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
- import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
5
3
  import * as _keystrokehq_core0 from "@keystrokehq/core";
4
+ import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
6
5
 
7
6
  //#region src/integration.d.ts
8
7
  declare const serpApiOfficialIntegration: {
9
8
  id: "serpapi";
10
9
  name: string;
11
10
  description: string;
11
+ credentialType: "manual";
12
12
  auth: z.ZodObject<{
13
13
  SERPAPI_API_KEY: z.ZodString;
14
14
  }, z.core.$strip>;
@@ -21,9 +21,7 @@ declare const serpApiBundle: _keystrokehq_integration_authoring_official0.Offici
21
21
  }, z.core.$strip>>;
22
22
  declare const serpApi: _keystrokehq_core0.CredentialSet<"keystroke:serpapi", z.ZodObject<{
23
23
  SERPAPI_API_KEY: z.ZodString;
24
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
25
- SERPAPI_API_KEY: z.ZodString;
26
- }, z.core.$strip>>[] | undefined>;
24
+ }, z.core.$strip>>;
27
25
  type SerpApiCredentials = InferCredentialSetAuth<typeof serpApi>;
28
26
  //#endregion
29
27
  export { serpApiOfficialIntegration as i, serpApi as n, serpApiBundle as r, SerpApiCredentials as t };
@@ -7,6 +7,7 @@ const serpApiOfficialIntegration = {
7
7
  id: "serpapi",
8
8
  name: "SerpApi",
9
9
  description: "Search engine results from Google, Bing, Yahoo, YouTube, and 90+ other engines",
10
+ credentialType: "manual",
10
11
  auth: serpApiAuthSchema,
11
12
  proxy: { hosts: ["serpapi.com"] }
12
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/serpapi",
3
- "version": "0.0.8",
3
+ "version": "0.0.15",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -20,19 +20,19 @@
20
20
  "LICENSE"
21
21
  ],
22
22
  "dependencies": {
23
- "@keystrokehq/integration-authoring": "^0.0.8",
23
+ "@keystrokehq/integration-authoring": "^0.0.9",
24
24
  "serpapi": "^2.2.1",
25
25
  "zod": "^4.3.6"
26
26
  },
27
27
  "peerDependencies": {
28
- "@keystrokehq/core": ">=0.0.8 <0.1.0"
28
+ "@keystrokehq/core": ">=0.0.13 <0.1.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.19.11",
32
32
  "tsdown": "^0.20.3",
33
33
  "typescript": "^5.9.3",
34
34
  "vitest": "^4.0.18",
35
- "@keystrokehq/core": "^0.0.8",
35
+ "@keystrokehq/core": "^0.0.13",
36
36
  "@keystrokehq/test-utils": "0.0.0",
37
37
  "@keystrokehq/typescript-config": "0.0.0"
38
38
  },