@evidenceai/gitlab
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -0,1 +1,6 @@ | ||
interface GitlabConfiguration { | ||
privateToken: string; | ||
gitlabHost: string; | ||
contactRequestsProjectId: string; | ||
} | ||
export interface GitlabContactRequest { | ||
@@ -18,3 +23,3 @@ email: string; | ||
export declare function isGitlabIntegrationConfigured(getDetails?: boolean): Promise<boolean | GitlabConfigurationResult>; | ||
export declare const submitContactRequest: (contactRequest: GitlabContactRequest) => Promise<string>; | ||
export declare const submitContactRequest: (contactRequest: GitlabContactRequest, configuration?: GitlabConfiguration | undefined) => Promise<string>; | ||
export {}; |
@@ -87,4 +87,7 @@ "use strict"; | ||
*/ | ||
const submitContactRequest = async (contactRequest) => { | ||
const config = getGitlabConfigurationOrThrow(); | ||
const submitContactRequest = async (contactRequest, configuration) => { | ||
let config = configuration; | ||
if (!config) { | ||
config = getGitlabConfigurationOrThrow(); | ||
} | ||
const options = { | ||
@@ -91,0 +94,0 @@ headers: { |
{ | ||
"name": "@evidenceai/gitlab", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "A package to manipulate Gitlab API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10222
200