@credal/actions 0.2.16 → 0.2.17

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.
@@ -1,3 +1,3 @@
1
- import type { slackArchiveChannelFunction } from "../../autogen/types";
1
+ import type { slackArchiveChannelFunction } from "../../autogen/types.js";
2
2
  declare const archiveChannel: slackArchiveChannelFunction;
3
3
  export default archiveChannel;
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { WebClient } from "@slack/web-api";
11
- import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants";
11
+ import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
12
12
  const archiveChannel = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, authParams, }) {
13
13
  if (!authParams.authToken) {
14
14
  throw new Error(MISSING_AUTH_TOKEN);
@@ -1,3 +1,3 @@
1
- import type { slackCreateChannelFunction } from "../../autogen/types";
1
+ import type { slackCreateChannelFunction } from "../../autogen/types.js";
2
2
  declare const createChannel: slackCreateChannelFunction;
3
3
  export default createChannel;
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { WebClient } from "@slack/web-api";
11
- import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants";
11
+ import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
12
12
  const createChannel = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, authParams, }) {
13
13
  if (!authParams.authToken) {
14
14
  throw new Error(MISSING_AUTH_TOKEN);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/actions",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "type": "module",
5
5
  "description": "AI Actions by Credal AI",
6
6
  "sideEffects": false,