@caido/sdk-backend 0.55.0-beta.0 → 0.55.0-beta.2
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 +2 -2
- package/src/typing.d.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caido/sdk-backend",
|
|
3
|
-
"version": "0.55.0-beta.
|
|
3
|
+
"version": "0.55.0-beta.2",
|
|
4
4
|
"description": "Typing for the Caido Backend SDK",
|
|
5
5
|
"author": "Caido Labs Inc. <dev@caido.io>",
|
|
6
6
|
"repository": "https://github.com/caido/sdk-js/",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"src/*"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@caido/quickjs-types": "^0.25.
|
|
13
|
+
"@caido/quickjs-types": "^0.25.3",
|
|
14
14
|
"@caido/sdk-shared": "^0.1.0"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
package/src/typing.d.ts
CHANGED
|
@@ -163,6 +163,10 @@ declare module "caido:plugin" {
|
|
|
163
163
|
* @category Meta
|
|
164
164
|
*/
|
|
165
165
|
export type MetaSDK = {
|
|
166
|
+
/**
|
|
167
|
+
* The id of the plugin.
|
|
168
|
+
*/
|
|
169
|
+
id(): string;
|
|
166
170
|
/**
|
|
167
171
|
* The directory of the plugin in Caido Data.
|
|
168
172
|
* You can store data related to your plugin in this directory.
|