@aloma.io/integration-sdk 3.3.33 → 3.3.34

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.
@@ -5,7 +5,7 @@ export declare class Builder {
5
5
  options(arg: any): Builder;
6
6
  auth(arg: any): Builder;
7
7
  build(): Promise<RuntimeContext>;
8
- private checkLogo;
8
+ private checkIcon;
9
9
  private parsePackageJson;
10
10
  private discoverTypes;
11
11
  }
@@ -28,15 +28,15 @@ export class Builder {
28
28
  async build() {
29
29
  await this.parsePackageJson();
30
30
  await this.discoverTypes();
31
- await this.checkLogo();
31
+ await this.checkIcon();
32
32
  // @ts-ignore
33
33
  const Controller = (await import(__dirname + "/../../../../../build/controller/index.mjs")).default;
34
34
  return new RuntimeContext(new Controller(), this.data);
35
35
  }
36
- async checkLogo() {
36
+ async checkIcon() {
37
37
  const data = this.data;
38
38
  const root = __dirname + "/../../../../../";
39
- data.logo = `${root}/logo.png`;
39
+ data.icon = `${root}/logo.png`;
40
40
  }
41
41
  async parsePackageJson() {
42
42
  const data = this.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.3.33",
3
+ "version": "3.3.34",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -37,7 +37,7 @@ export class Builder {
37
37
  async build(): Promise<RuntimeContext> {
38
38
  await this.parsePackageJson();
39
39
  await this.discoverTypes();
40
- await this.checkLogo();
40
+ await this.checkIcon();
41
41
 
42
42
  // @ts-ignore
43
43
  const Controller = (
@@ -47,11 +47,11 @@ export class Builder {
47
47
  return new RuntimeContext(new Controller(), this.data);
48
48
  }
49
49
 
50
- private async checkLogo() {
50
+ private async checkIcon() {
51
51
  const data = this.data;
52
52
  const root = __dirname + "/../../../../../"
53
53
 
54
- data.logo = `${root}/logo.png`;
54
+ data.icon = `${root}/logo.png`;
55
55
  }
56
56
 
57
57
  private async parsePackageJson() {