@keystrokehq/serpapi 0.0.15 → 0.0.16-integration-id-canonicalization.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/serpapi",
3
- "version": "0.0.15",
3
+ "version": "0.0.16-integration-id-canonicalization.0",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -9,9 +9,17 @@
9
9
  "types": "./dist/index.d.mts",
10
10
  "default": "./dist/index.mjs"
11
11
  },
12
- "./_official": {
13
- "types": "./dist/_official/index.d.mts",
14
- "default": "./dist/_official/index.mjs"
12
+ "./credential-sets": {
13
+ "types": "./dist/credential-sets/index.d.mts",
14
+ "default": "./dist/credential-sets/index.mjs"
15
+ },
16
+ "./operations": {
17
+ "types": "./dist/operations/index.d.mts",
18
+ "default": "./dist/operations/index.mjs"
19
+ },
20
+ "./schemas": {
21
+ "types": "./dist/schemas/index.d.mts",
22
+ "default": "./dist/schemas/index.mjs"
15
23
  }
16
24
  },
17
25
  "files": [
@@ -20,20 +28,20 @@
20
28
  "LICENSE"
21
29
  ],
22
30
  "dependencies": {
23
- "@keystrokehq/integration-authoring": "^0.0.9",
24
31
  "serpapi": "^2.2.1",
25
32
  "zod": "^4.3.6"
26
33
  },
27
34
  "peerDependencies": {
28
- "@keystrokehq/core": ">=0.0.13 <0.1.0"
35
+ "@keystrokehq/core": ">=0.0.8 <0.1.0"
29
36
  },
30
37
  "devDependencies": {
31
38
  "@types/node": "^22.19.11",
32
39
  "tsdown": "^0.20.3",
33
40
  "typescript": "^5.9.3",
34
41
  "vitest": "^4.0.18",
35
- "@keystrokehq/core": "^0.0.13",
42
+ "@keystrokehq/core": "^0.0.12",
36
43
  "@keystrokehq/test-utils": "0.0.0",
44
+ "@keystrokehq/integration-authoring": "0.0.9",
37
45
  "@keystrokehq/typescript-config": "0.0.0"
38
46
  },
39
47
  "keywords": [
@@ -1,2 +0,0 @@
1
- import { r as serpApiBundle } from "../integration-B8ATq3DV.mjs";
2
- export { serpApiBundle };
@@ -1,3 +0,0 @@
1
- import { n as serpApiBundle } from "../integration-bOOYwziK.mjs";
2
-
3
- export { serpApiBundle };
@@ -1,27 +0,0 @@
1
- import { z } from "zod";
2
- import * as _keystrokehq_integration_authoring_official0 from "@keystrokehq/integration-authoring/official";
3
- import * as _keystrokehq_core0 from "@keystrokehq/core";
4
- import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
5
-
6
- //#region src/integration.d.ts
7
- declare const serpApiOfficialIntegration: {
8
- id: "serpapi";
9
- name: string;
10
- description: string;
11
- credentialType: "manual";
12
- auth: z.ZodObject<{
13
- SERPAPI_API_KEY: z.ZodString;
14
- }, z.core.$strip>;
15
- proxy: {
16
- hosts: string[];
17
- };
18
- };
19
- declare const serpApiBundle: _keystrokehq_integration_authoring_official0.OfficialIntegrationBundle<"serpapi", z.ZodObject<{
20
- SERPAPI_API_KEY: z.ZodString;
21
- }, z.core.$strip>>;
22
- declare const serpApi: _keystrokehq_core0.CredentialSet<"keystroke:serpapi", z.ZodObject<{
23
- SERPAPI_API_KEY: z.ZodString;
24
- }, z.core.$strip>>;
25
- type SerpApiCredentials = InferCredentialSetAuth<typeof serpApi>;
26
- //#endregion
27
- export { serpApiOfficialIntegration as i, serpApi as n, serpApiBundle as r, SerpApiCredentials as t };
@@ -1,18 +0,0 @@
1
- import { z } from "zod";
2
- import { defineOfficialIntegration } from "@keystrokehq/integration-authoring/official";
3
-
4
- //#region src/integration.ts
5
- const serpApiAuthSchema = z.object({ SERPAPI_API_KEY: z.string().min(1) });
6
- const serpApiOfficialIntegration = {
7
- id: "serpapi",
8
- name: "SerpApi",
9
- description: "Search engine results from Google, Bing, Yahoo, YouTube, and 90+ other engines",
10
- credentialType: "manual",
11
- auth: serpApiAuthSchema,
12
- proxy: { hosts: ["serpapi.com"] }
13
- };
14
- const serpApiBundle = defineOfficialIntegration(serpApiOfficialIntegration);
15
- const serpApi = serpApiBundle.credentialSet;
16
-
17
- //#endregion
18
- export { serpApiBundle as n, serpApiOfficialIntegration as r, serpApi as t };