@caido/sdk-backend 0.1.5 → 0.1.6

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": "@caido/sdk-backend",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Typing for the Caido Backend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -1,4 +1,4 @@
1
- declare module "caido:common" {
1
+ declare module "caido:utils" {
2
2
  /**
3
3
  * The body of a Request or Response.
4
4
  *
@@ -11,6 +11,7 @@ declare global {
11
11
  warn(message: any): void;
12
12
  error(message: any): void;
13
13
  };
14
+ var console: Console;
14
15
 
15
16
  /**
16
17
  * The URLSearchParams interface defines utility methods to work with the query string of a URL.
@@ -1,5 +1,5 @@
1
- declare module "caido:sdk" {
2
- import { MaybePromise, FindingsSDK, RequestsSDK } from "caido:common";
1
+ declare module "caido:plugin" {
2
+ import { MaybePromise, FindingsSDK, RequestsSDK } from "caido:utils";
3
3
 
4
4
  export type DefineAPI<
5
5
  API extends Record<string, (...args: any[]) => MaybePromise<any>>,