@indiciaosint/sdk 1.2.0 → 1.2.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.
Files changed (35) hide show
  1. package/esm/funcs/socials-search-github.d.ts +3 -2
  2. package/esm/funcs/socials-search-github.d.ts.map +1 -1
  3. package/esm/funcs/socials-search-github.js +11 -3
  4. package/esm/funcs/socials-search-github.js.map +1 -1
  5. package/esm/funcs/socials-search-username.d.ts +3 -2
  6. package/esm/funcs/socials-search-username.d.ts.map +1 -1
  7. package/esm/funcs/socials-search-username.js +11 -3
  8. package/esm/funcs/socials-search-username.js.map +1 -1
  9. package/esm/lib/config.d.ts +2 -2
  10. package/esm/lib/config.js +2 -2
  11. package/esm/models/operations/search-face.d.ts +4 -4
  12. package/esm/models/operations/search-face.d.ts.map +1 -1
  13. package/esm/models/operations/search-face.js +4 -5
  14. package/esm/models/operations/search-face.js.map +1 -1
  15. package/esm/models/operations/search-github.d.ts +69 -7
  16. package/esm/models/operations/search-github.d.ts.map +1 -1
  17. package/esm/models/operations/search-github.js +83 -9
  18. package/esm/models/operations/search-github.js.map +1 -1
  19. package/esm/models/operations/search-username.d.ts +429 -13
  20. package/esm/models/operations/search-username.d.ts.map +1 -1
  21. package/esm/models/operations/search-username.js +725 -13
  22. package/esm/models/operations/search-username.js.map +1 -1
  23. package/esm/sdk/socials.d.ts +5 -4
  24. package/esm/sdk/socials.d.ts.map +1 -1
  25. package/esm/sdk/socials.js +2 -2
  26. package/esm/sdk/socials.js.map +1 -1
  27. package/jsr.json +1 -1
  28. package/package.json +1 -1
  29. package/src/funcs/socials-search-github.ts +21 -6
  30. package/src/funcs/socials-search-username.ts +23 -6
  31. package/src/lib/config.ts +2 -2
  32. package/src/models/operations/search-face.ts +15 -13
  33. package/src/models/operations/search-github.ts +225 -41
  34. package/src/models/operations/search-username.ts +1667 -77
  35. package/src/sdk/socials.ts +5 -4
@@ -7,6 +7,7 @@ import { socialsSearchGithub } from "../funcs/socials-search-github.js";
7
7
  import { socialsSearchRoblox } from "../funcs/socials-search-roblox.js";
8
8
  import { socialsSearchTiktok } from "../funcs/socials-search-tiktok.js";
9
9
  import { socialsSearchUsername } from "../funcs/socials-search-username.js";
10
+ import { EventStream } from "../lib/event-streams.js";
10
11
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
11
12
  import * as operations from "../models/operations/index.js";
12
13
  import { unwrapAsync } from "../types/fp.js";
@@ -33,12 +34,12 @@ export class Socials extends ClientSDK {
33
34
  * GitHub Search
34
35
  *
35
36
  * @remarks
36
- * Search GitHub profiles, info, and commit emails
37
+ * Search GitHub profiles, info, and commit emails. Streams progress updates via Server-Sent Events.
37
38
  */
38
39
  async searchGithub(
39
40
  request: operations.SearchGithubRequest,
40
41
  options?: RequestOptions,
41
- ): Promise<operations.SearchGithubResponse> {
42
+ ): Promise<EventStream<operations.GithubSearchEvent>> {
42
43
  return unwrapAsync(socialsSearchGithub(
43
44
  this,
44
45
  request,
@@ -84,12 +85,12 @@ export class Socials extends ClientSDK {
84
85
  * Username Search V2
85
86
  *
86
87
  * @remarks
87
- * Search various sites for a specific username
88
+ * Search various sites for a specific username. Streams progress updates via Server-Sent Events.
88
89
  */
89
90
  async searchUsername(
90
91
  request: operations.SearchUsernameRequest,
91
92
  options?: RequestOptions,
92
- ): Promise<operations.SearchUsernameResponse> {
93
+ ): Promise<EventStream<operations.UsernameSearchEvent>> {
93
94
  return unwrapAsync(socialsSearchUsername(
94
95
  this,
95
96
  request,