@livechat/developer-studio-api 2.0.56 → 2.0.58
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -455,6 +455,7 @@ var gitHubRepositoryApi = {
|
|
|
455
455
|
return __async(this, null, function* () {
|
|
456
456
|
const upsert = (sha) => __async(this, null, function* () {
|
|
457
457
|
var _a;
|
|
458
|
+
console.log("sha: ", sha);
|
|
458
459
|
const response = yield githubClientInstance.put(
|
|
459
460
|
`/repos/${repositoryName}/contents/livechat.config.json`,
|
|
460
461
|
{
|
|
@@ -485,6 +486,7 @@ var gitHubRepositoryApi = {
|
|
|
485
486
|
seed = yield this.getRepositorySeed(repositoryName, authorization);
|
|
486
487
|
} catch (e) {
|
|
487
488
|
}
|
|
489
|
+
console.log("seed: ", seed);
|
|
488
490
|
return yield upsert(seed == null ? void 0 : seed.sha);
|
|
489
491
|
});
|
|
490
492
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -368,6 +368,7 @@ var gitHubRepositoryApi = {
|
|
|
368
368
|
return __async(this, null, function* () {
|
|
369
369
|
const upsert = (sha) => __async(this, null, function* () {
|
|
370
370
|
var _a;
|
|
371
|
+
console.log("sha: ", sha);
|
|
371
372
|
const response = yield githubClientInstance.put(
|
|
372
373
|
`/repos/${repositoryName}/contents/livechat.config.json`,
|
|
373
374
|
{
|
|
@@ -398,6 +399,7 @@ var gitHubRepositoryApi = {
|
|
|
398
399
|
seed = yield this.getRepositorySeed(repositoryName, authorization);
|
|
399
400
|
} catch (e) {
|
|
400
401
|
}
|
|
402
|
+
console.log("seed: ", seed);
|
|
401
403
|
return yield upsert(seed == null ? void 0 : seed.sha);
|
|
402
404
|
});
|
|
403
405
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.58",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"tsup": "^7.1.0",
|
|
19
19
|
"typescript": "^5.1.6",
|
|
20
20
|
"config": "0.0.0",
|
|
21
|
+
"eslint-config-custom-lib": "0.0.1",
|
|
21
22
|
"tsconfig": "0.0.0",
|
|
22
|
-
"types": "0.0.1"
|
|
23
|
-
"eslint-config-custom-lib": "0.0.1"
|
|
23
|
+
"types": "0.0.1"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|