vanta-auditor-api-sdk 0.5.0 → 0.6.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.
|
@@ -8,7 +8,7 @@ dotenv.config();
|
|
|
8
8
|
* Example usage of the vanta-auditor-api-sdk SDK
|
|
9
9
|
*
|
|
10
10
|
* To run this example from the examples directory:
|
|
11
|
-
* npm run build && npx tsx
|
|
11
|
+
* npm run build && npx tsx auditsList.example.ts
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
import { Vanta } from "vanta-auditor-api-sdk";
|
|
@@ -18,11 +18,7 @@ const vanta = new Vanta({
|
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
async function main() {
|
|
21
|
-
const result = await vanta.
|
|
22
|
-
email: "Genesis_Kunze87@yahoo.com",
|
|
23
|
-
givenName: "<value>",
|
|
24
|
-
familyName: "<value>",
|
|
25
|
-
});
|
|
21
|
+
const result = await vanta.audits.list({});
|
|
26
22
|
|
|
27
23
|
console.log(result);
|
|
28
24
|
}
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.0.0";
|
|
34
|
-
readonly sdkVersion: "0.
|
|
34
|
+
readonly sdkVersion: "0.6.0";
|
|
35
35
|
readonly genVersion: "2.882.0";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.6.0 2.882.0 1.0.0 vanta-auditor-api-sdk";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "1.0.0",
|
|
38
|
-
sdkVersion: "0.
|
|
38
|
+
sdkVersion: "0.6.0",
|
|
39
39
|
genVersion: "2.882.0",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.6.0 2.882.0 1.0.0 vanta-auditor-api-sdk",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -65,8 +65,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.0.0",
|
|
68
|
-
sdkVersion: "0.
|
|
68
|
+
sdkVersion: "0.6.0",
|
|
69
69
|
genVersion: "2.882.0",
|
|
70
70
|
userAgent:
|
|
71
|
-
"speakeasy-sdk/typescript 0.
|
|
71
|
+
"speakeasy-sdk/typescript 0.6.0 2.882.0 1.0.0 vanta-auditor-api-sdk",
|
|
72
72
|
} as const;
|