@slack/bolt
Advanced tools
Comparing version 4.0.0-nextGen.5 to 4.0.0-nextGen.6
import { AllMiddlewareArgs, AnyMiddlewareArgs, Middleware, SlackAction, SlackActionMiddlewareArgs, SlackEventMiddlewareArgs, SlackViewAction, SlackViewMiddlewareArgs } from './types'; | ||
import { ActionConstraints, ViewConstraints } from './App'; | ||
export declare const manifestUtil: any; | ||
export declare const getManifestDataUtil: any; | ||
export interface SlackFunctionExecutedMiddlewareArgs extends SlackEventMiddlewareArgs<'function_executed'> { | ||
@@ -5,0 +6,0 @@ complete: CompleteFunction; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.hasHandler = exports.findMatchingManifestDefinition = exports.hasMatchingManifestDefinition = exports.hasCallbackId = exports.errorIfInvalidConstraintKeys = exports.validate = exports.passConstraint = exports.isFunctionInteractivityEvent = exports.isFunctionExecutedEvent = exports.SlackFunction = exports.manifestUtil = void 0; | ||
exports.hasHandler = exports.findMatchingManifestDefinition = exports.hasMatchingManifestDefinition = exports.hasCallbackId = exports.errorIfInvalidConstraintKeys = exports.validate = exports.passConstraint = exports.isFunctionInteractivityEvent = exports.isFunctionExecutedEvent = exports.SlackFunction = exports.getManifestDataUtil = exports.manifestUtil = void 0; | ||
const util_1 = __importDefault(require("util")); | ||
@@ -13,2 +13,4 @@ const logger_1 = require("@slack/logger"); | ||
exports.manifestUtil = require('./cli/hook-utils/manifest'); | ||
// eslint-disable-next-line | ||
exports.getManifestDataUtil = require('./cli/hook-utils/get-manifest-data'); | ||
/** | ||
@@ -394,3 +396,3 @@ * *SlackFunction* | ||
// call the hook to get the manifest | ||
const manifest = exports.manifestUtil.getManifestData(process.cwd()); | ||
const manifest = exports.getManifestDataUtil.getManifestData(process.cwd()); | ||
// manifest file must exist in the project | ||
@@ -397,0 +399,0 @@ if (!('functions' in manifest)) { |
{ | ||
"name": "@slack/bolt", | ||
"version": "4.0.0-nextGen.5", | ||
"version": "4.0.0-nextGen.6", | ||
"description": "A framework for building Slack apps, fast.", | ||
@@ -5,0 +5,0 @@ "author": "Slack Technologies, LLC", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
615877
8971