@fy-stack/event-construct 0.0.140 → 0.0.142

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.
@@ -13,7 +13,7 @@ export declare class EventConstruct extends Construct implements Attachable, Gra
13
13
  readonly topic: sns.Topic;
14
14
  constructor(scope: Construct, id: string, props: EventConstructProps);
15
15
  attachable(): {
16
- topic: string;
16
+ TOPIC: string;
17
17
  };
18
18
  grantable(grant: IGrantable): void;
19
19
  }
@@ -68,7 +68,7 @@ class EventConstruct extends constructs_1.Construct {
68
68
  }
69
69
  attachable() {
70
70
  return {
71
- topic: this.topic.topicArn,
71
+ TOPIC: this.topic.topicArn,
72
72
  };
73
73
  }
74
74
  grantable(grant) {
@@ -84,12 +84,12 @@ class WebsocketConstruct extends constructs_1.Construct {
84
84
  }
85
85
  attachable() {
86
86
  const params = {
87
- arn: this.socket.attrApiArn,
88
- httpDns: this.socket.getAtt('Dns.Http').toString(),
89
- realtimeDnS: this.socket.getAtt('Dns.Realtime').toString(),
87
+ ARN: this.socket.attrApiArn,
88
+ HTTP_DNS: this.socket.getAtt('Dns.Http').toString(),
89
+ REALTIME_DNS: this.socket.getAtt('Dns.Realtime').toString(),
90
90
  };
91
91
  if (this.apiKey) {
92
- Object.assign(params, { apiKey: this.apiKey?.attrApiKey });
92
+ Object.assign(params, { API_KEY: this.apiKey?.attrApiKey });
93
93
  }
94
94
  return params;
95
95
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@fy-stack/event-construct",
3
- "version": "0.0.140",
3
+ "version": "0.0.142",
4
4
  "repository": "https://github.com/festusyuma/fy-stack",
5
5
  "dependencies": {
6
- "@fy-stack/types": "0.0.140",
6
+ "@fy-stack/types": "0.0.142",
7
7
  "tslib": "^2.3.0"
8
8
  },
9
9
  "peerDependencies": {