claude-api-slack
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -21,3 +21,3 @@ import * as types from './types'; | ||
} | ||
export default Authenticator; | ||
export { Authenticator }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -29,7 +29,7 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Authenticator = void 0; | ||
const web_api_1 = require("@slack/web-api"); | ||
const delay_1 = __importDefault(require("delay")); | ||
const uuid_1 = require("uuid"); | ||
// import pTimeout from 'p-timeout' | ||
const pTimeout = require('p-timeout'); | ||
const p_timeout_1 = __importDefault(require("p-timeout")); | ||
const types = __importStar(require("./types")); | ||
@@ -183,3 +183,3 @@ const DAY_MS = 1000 * 60 * 60 * 24; | ||
if (timeoutMs) { | ||
return pTimeout(responseP, { | ||
return (0, p_timeout_1.default)(responseP, { | ||
milliseconds: timeoutMs, | ||
@@ -194,2 +194,2 @@ message: 'ClaudeAI timed out waiting for response: ' + timeoutMs + "'ms." | ||
} | ||
exports.default = Authenticator; | ||
exports.Authenticator = Authenticator; |
{ | ||
"name": "claude-api-slack", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "slack Authentication Library for ClaudeAI.", | ||
"main": "./build/index.js", | ||
"main": "./build/index.cjs", | ||
"scripts": { | ||
@@ -17,3 +17,3 @@ "build": "tsc -p tsconfig.json", | ||
"types": "./build/index.d.ts", | ||
"default": "./build/index.js" | ||
"default": "./build/index.cjs" | ||
} | ||
@@ -20,0 +20,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13862