@slack/web-api
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -47,3 +47,3 @@ /// <reference types="node" /> | ||
} | ||
export interface ChannelsArchiveArguments extends TokenOverridable { | ||
export interface ChannelsArchiveArguments extends WebAPICallOptions, TokenOverridable { | ||
channel: string; | ||
@@ -410,3 +410,3 @@ } | ||
} | ||
export interface OAuthAccessArguments { | ||
export interface OAuthAccessArguments extends WebAPICallOptions { | ||
client_id: string; | ||
@@ -413,0 +413,0 @@ client_secret: string; |
@@ -5,3 +5,3 @@ /// <reference types="node" /> | ||
import { SecureContextOptions } from 'tls'; | ||
import EventEmitter from 'eventemitter3'; | ||
import { EventEmitter } from 'eventemitter3'; | ||
import Method, * as methods from './methods'; | ||
@@ -8,0 +8,0 @@ import { LogLevel, Logger } from './logger'; |
@@ -41,3 +41,3 @@ "use strict"; | ||
const is_stream_1 = __importDefault(require("is-stream")); | ||
const eventemitter3_1 = __importDefault(require("eventemitter3")); // tslint:disable-line:import-name | ||
const eventemitter3_1 = require("eventemitter3"); | ||
const p_queue_1 = __importDefault(require("p-queue")); // tslint:disable-line:import-name | ||
@@ -59,3 +59,3 @@ const p_retry_1 = __importStar(require("p-retry")); | ||
*/ | ||
class WebClient extends eventemitter3_1.default { | ||
class WebClient extends eventemitter3_1.EventEmitter { | ||
/** | ||
@@ -62,0 +62,0 @@ * @param token - An API token to authenticate/authorize with Slack (usually start with `xoxp`, `xoxb`) |
{ | ||
"name": "@slack/web-api", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Official library for using the Slack Platform's Web API", | ||
@@ -76,3 +76,3 @@ "author": "Slack Technologies, Inc.", | ||
}, | ||
"gitHead": "891307eb5f1625f68b72e4c242ba749a7d6cb996" | ||
"gitHead": "0a53364d7cdb6d4485ba30676086bcaaabc46b4e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
152054