@nikcli-ai/sdk 1.303.0 → 1.305.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.
|
@@ -725,12 +725,18 @@ export function make(options) {
|
|
|
725
725
|
declaredStatuses: [404],
|
|
726
726
|
empty: false,
|
|
727
727
|
}, requestOptions),
|
|
728
|
-
githubRepos: (requestOptions) => request({
|
|
728
|
+
githubRepos: (requestOptions) => request({
|
|
729
|
+
method: "GET",
|
|
730
|
+
path: `/mobile/github/repos`,
|
|
731
|
+
successStatus: 200,
|
|
732
|
+
declaredStatuses: [401, 400],
|
|
733
|
+
empty: false,
|
|
734
|
+
}, requestOptions),
|
|
729
735
|
githubBranches: (input, requestOptions) => request({
|
|
730
736
|
method: "GET",
|
|
731
737
|
path: `/mobile/github/repos/${encodeURIComponent(input.owner)}/${encodeURIComponent(input.repo)}/branches`,
|
|
732
738
|
successStatus: 200,
|
|
733
|
-
declaredStatuses: [401],
|
|
739
|
+
declaredStatuses: [401, 400],
|
|
734
740
|
empty: false,
|
|
735
741
|
}, requestOptions),
|
|
736
742
|
githubImports: (requestOptions) => request({ method: "GET", path: `/mobile/github/imports`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|