@webdock/sdk 1.0.591 → 1.0.593
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.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +82 -60
- package/dist/index.mjs.map +1 -1
- package/dist/operation.d.ts +9 -0
- package/dist/operation.d.ts.map +1 -1
- package/package.json +58 -58
package/dist/operation.d.ts
CHANGED
|
@@ -26,6 +26,15 @@ export declare class OperationClass {
|
|
|
26
26
|
success: true;
|
|
27
27
|
response: EventLogResponse;
|
|
28
28
|
}>;
|
|
29
|
+
waitForEventToEnd(callbackId: string): Promise<{
|
|
30
|
+
success: boolean;
|
|
31
|
+
error: string;
|
|
32
|
+
data?: undefined;
|
|
33
|
+
} | {
|
|
34
|
+
success: boolean;
|
|
35
|
+
data: string;
|
|
36
|
+
error?: undefined;
|
|
37
|
+
}>;
|
|
29
38
|
}
|
|
30
39
|
export {};
|
|
31
40
|
//# sourceMappingURL=operation.d.ts.map
|
package/dist/operation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,UAAU,QAAQ;IACd,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;IACrD,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,KAAK,gBAAgB,GAAG;IACpB,IAAI,EAAE,QAAQ,EAAE,CAAC;CACpB,CAAC;AACF,qBAAa,cAAc;IACvB,OAAO,CAAC,MAAM,CAAU;gBAEZ,MAAM,EAAE,OAAO;IAIrB,KAAK,CAAC,UAAU,EAAE,MAAM;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,UAAU,QAAQ;IACd,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;IACrD,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,KAAK,gBAAgB,GAAG;IACpB,IAAI,EAAE,QAAQ,EAAE,CAAC;CACpB,CAAC;AACF,qBAAa,cAAc;IACvB,OAAO,CAAC,MAAM,CAAU;gBAEZ,MAAM,EAAE,OAAO;IAIrB,KAAK,CAAC,UAAU,EAAE,MAAM;;;;;;;;;IASxB,iBAAiB,CAAC,UAAU,EAAE,MAAM;;;;;;;;;CAyB7C"}
|
package/package.json
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@webdock/sdk",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"homepage": "https://github.com/webdock-io/nodejs-sdk#readme",
|
|
5
|
-
"description": "SDK for Webdock's API",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": {
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"require": "./dist/index.cjs",
|
|
10
|
-
"import": "./dist/index.
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"files": [
|
|
14
|
-
"dist/**/*",
|
|
15
|
-
"README.md"
|
|
16
|
-
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"build": "vite build",
|
|
19
|
-
"dev": "vite build --watch",
|
|
20
|
-
"clean": "rm -rf dist",
|
|
21
|
-
"test": "jest --runInBand",
|
|
22
|
-
"publish:npm": "npm run build && npm publish"
|
|
23
|
-
},
|
|
24
|
-
"keywords": [
|
|
25
|
-
"sdk",
|
|
26
|
-
"api",
|
|
27
|
-
"webdock",
|
|
28
|
-
"node"
|
|
29
|
-
],
|
|
30
|
-
"author": {
|
|
31
|
-
"name": "Ahmad Addel",
|
|
32
|
-
"email": "a4amado@gmail.com",
|
|
33
|
-
"url": "https://www.linkedin.com/in/a4amado/"
|
|
34
|
-
},
|
|
35
|
-
"license": "ISC",
|
|
36
|
-
"packageManager": "pnpm@10.13.1",
|
|
37
|
-
"engines": {
|
|
38
|
-
"node": ">=14.0.0"
|
|
39
|
-
},
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"axios": "^1.13.5",
|
|
42
|
-
"dotenv": "^17.3.1",
|
|
43
|
-
"tslib": "^2.8.1",
|
|
44
|
-
"webdock": "^2.0.0"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@types/jest": "^30.0.0",
|
|
48
|
-
"@types/mocha": "^10.0.10",
|
|
49
|
-
"@types/node": "^18.19.130",
|
|
50
|
-
"jest": "^29.7.0",
|
|
51
|
-
"ts-jest": "^29.4.6",
|
|
52
|
-
"typescript": "^5.9.3",
|
|
53
|
-
"vite": "^7.3.1",
|
|
54
|
-
"vite-plugin-dts": "^4.5.4"
|
|
55
|
-
},
|
|
56
|
-
"publishConfig": {
|
|
57
|
-
"access": "public"
|
|
58
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@webdock/sdk",
|
|
3
|
+
"version": "1.0.593",
|
|
4
|
+
"homepage": "https://github.com/webdock-io/nodejs-sdk#readme",
|
|
5
|
+
"description": "SDK for Webdock's API",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"require": "./dist/index.cjs",
|
|
10
|
+
"import": "./dist/index.mjs"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist/**/*",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "vite build",
|
|
19
|
+
"dev": "vite build --watch",
|
|
20
|
+
"clean": "rm -rf dist",
|
|
21
|
+
"test": "jest --runInBand",
|
|
22
|
+
"publish:npm": "npm run build && npm publish"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"sdk",
|
|
26
|
+
"api",
|
|
27
|
+
"webdock",
|
|
28
|
+
"node"
|
|
29
|
+
],
|
|
30
|
+
"author": {
|
|
31
|
+
"name": "Ahmad Addel",
|
|
32
|
+
"email": "a4amado@gmail.com",
|
|
33
|
+
"url": "https://www.linkedin.com/in/a4amado/"
|
|
34
|
+
},
|
|
35
|
+
"license": "ISC",
|
|
36
|
+
"packageManager": "pnpm@10.13.1",
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=14.0.0"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"axios": "^1.13.5",
|
|
42
|
+
"dotenv": "^17.3.1",
|
|
43
|
+
"tslib": "^2.8.1",
|
|
44
|
+
"webdock": "^2.0.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/jest": "^30.0.0",
|
|
48
|
+
"@types/mocha": "^10.0.10",
|
|
49
|
+
"@types/node": "^18.19.130",
|
|
50
|
+
"jest": "^29.7.0",
|
|
51
|
+
"ts-jest": "^29.4.6",
|
|
52
|
+
"typescript": "^5.9.3",
|
|
53
|
+
"vite": "^7.3.1",
|
|
54
|
+
"vite-plugin-dts": "^4.5.4"
|
|
55
|
+
},
|
|
56
|
+
"publishConfig": {
|
|
57
|
+
"access": "public"
|
|
58
|
+
}
|
|
59
59
|
}
|