@livechat/developer-studio-api 2.0.59 → 2.0.61

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.js CHANGED
@@ -405,8 +405,6 @@ var gitHubRepositoryApi = {
405
405
  })
406
406
  );
407
407
  repository = response2.data;
408
- const commits = yield this.getCommits(repository.full_name);
409
- console.log(commits);
410
408
  } else {
411
409
  const response2 = yield githubClientInstance.post(
412
410
  `/user/repos`,
@@ -569,7 +567,7 @@ var gitHubRepositoryApi = {
569
567
  return __async(this, null, function* () {
570
568
  var _a;
571
569
  const { data: commits } = yield githubClientInstance.get(
572
- `/repos/${repositoryName}/git/commits`,
570
+ `/repos/${repositoryName}/commits`,
573
571
  getGithubClientRequestConfig({
574
572
  token: (_a = authorization == null ? void 0 : authorization.tokens) == null ? void 0 : _a.app,
575
573
  ensureAuthorizationToken: true
package/dist/index.mjs CHANGED
@@ -318,8 +318,6 @@ var gitHubRepositoryApi = {
318
318
  })
319
319
  );
320
320
  repository = response2.data;
321
- const commits = yield this.getCommits(repository.full_name);
322
- console.log(commits);
323
321
  } else {
324
322
  const response2 = yield githubClientInstance.post(
325
323
  `/user/repos`,
@@ -482,7 +480,7 @@ var gitHubRepositoryApi = {
482
480
  return __async(this, null, function* () {
483
481
  var _a;
484
482
  const { data: commits } = yield githubClientInstance.get(
485
- `/repos/${repositoryName}/git/commits`,
483
+ `/repos/${repositoryName}/commits`,
486
484
  getGithubClientRequestConfig({
487
485
  token: (_a = authorization == null ? void 0 : authorization.tokens) == null ? void 0 : _a.app,
488
486
  ensureAuthorizationToken: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "2.0.59",
3
+ "version": "2.0.61",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,10 +17,10 @@
17
17
  "@types/node": "^17.0.12",
18
18
  "tsup": "^7.1.0",
19
19
  "typescript": "^5.1.6",
20
+ "config": "0.0.0",
20
21
  "eslint-config-custom-lib": "0.0.1",
21
22
  "tsconfig": "0.0.0",
22
- "types": "0.0.1",
23
- "config": "0.0.0"
23
+ "types": "0.0.1"
24
24
  },
25
25
  "scripts": {
26
26
  "build": "tsup src/index.ts --format esm,cjs --dts",