@hiliosai/sdk 0.1.29 → 0.1.30
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 +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1099,8 +1099,7 @@ function defineIntegration(config) {
|
|
|
1099
1099
|
credentials: integrationRaw.credentials
|
|
1100
1100
|
};
|
|
1101
1101
|
const createChannelAction = `v${this.version}.${this.name}.i_createChannel`;
|
|
1102
|
-
await ctx.broker.call(createChannelAction, { integration })
|
|
1103
|
-
payload.ackAck().then(
|
|
1102
|
+
await ctx.broker.call(createChannelAction, { integration }).then(() => payload.ackAck()).then(
|
|
1104
1103
|
() => ctx.broker.logger.debug("Integration registered", {
|
|
1105
1104
|
name: this.name,
|
|
1106
1105
|
version: this.version
|