@@ -21055,7 +21055,6 @@ class WebClient extends methods_1.Methods {
2105521055 adapter: adapter ? (config) => adapter(Object.assign(Object.assign({}, config), { adapter: undefined })) : undefined,
2105621056 timeout,
2105721057 baseURL: slackApiUrl,
21058- allowAbsoluteUrls,
2105921058 headers: (0, is_electron_1.default)() ? headers : Object.assign({ 'User-Agent': (0, instrument_1.getUserAgent)() }, headers),
2106021059 httpAgent: agent,
2106121060 httpsAgent: agent,
@@ -21098,7 +21097,8 @@ class WebClient extends methods_1.Methods {
2109821097 const headers = {};
2109921098 if (options.token)
2110021099 headers.Authorization = `Bearer ${options.token}`;
21101- const response = yield this.makeRequest(method, Object.assign({ team_id: this.teamId }, options), headers);
21100+ const url = this.deriveRequestUrl(method);
21101+ const response = yield this.makeRequest(url, Object.assign({ team_id: this.teamId }, options), headers);
2110221102 const result = yield this.buildResult(response);
2110321103 this.logger.debug(`http request result: ${JSON.stringify(result)}`);
2110421104 // log warnings in response metadata
@@ -21328,7 +21328,6 @@ class WebClient extends methods_1.Methods {
2132821328 return __awaiter(this, void 0, void 0, function* () {
2132921329 // TODO: better input types - remove any
2133021330 const task = () => this.requestQueue.add(() => __awaiter(this, void 0, void 0, function* () {
21331- const requestURL = this.deriveRequestUrl(url);
2133221331 try {
2133321332 // biome-ignore lint/suspicious/noExplicitAny: TODO: type this
2133421333 const config = Object.assign({ headers }, this.tlsConfig);
@@ -21342,7 +21341,7 @@ class WebClient extends methods_1.Methods {
2134221341 if (url.endsWith('apps.event.authorizations.list')) {
2134321342 body.token = undefined;
2134421343 }
21345- this.logger.debug(`http request url: ${requestURL }`);
21344+ this.logger.debug(`http request url: ${url }`);
2134621345 this.logger.debug(`http request body: ${JSON.stringify(redact(body))}`);
2134721346 // compile all headers - some set by default under the hood by axios - that will be sent along
2134821347 let allHeaders = Object.keys(this.axios.defaults.headers).reduce((acc, cur) => {
@@ -81376,6 +81375,7 @@ var PullState;
8137681375
8137781376/**
8137881377 * Get an emoji based on the age of something.
81378+ *
8137981379 * @param {number} hoursAgo - The number of hours ago since something happened.
8138081380 * @returns {string}
8138181381 */
@@ -81390,6 +81390,7 @@ function getAgeBasedEmoji(hoursAgo) {
8139081390}
8139181391/**
8139281392 * Get the relative human readable age of something.
81393+ *
8139381394 * @param {number} hoursAgo - The number of hours ago since something happened.
8139481395 * @param {boolean} [withAgo=true] - Whether to include the ' ago' suffix when appropriate.
8139581396 * @returns {string}
@@ -90330,7 +90331,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","ver
9033090331/***/ 56734:
9033190332/***/ ((module) => {
9033290333
90333- module.exports = /*#__PURE__*/JSON.parse('{"name":"@slack/web-api","version":"7.9.0","description":"Official library for using the Slack Platform\'s Web API","author":"Slack Technologies, LLC","license":"MIT","keywords":["slack","web-api","bot","client","http","api","proxy","rate-limiting","pagination"],"main":"dist/index.js","types":"./dist/index.d.ts","files":["dist/**/*"],"engines":{"node":">= 18","npm":">= 8.6.0"},"repository":"slackapi/node-slack-sdk","homepage":"https://tools.slack.dev/node-slack-sdk/web-api","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"scripts":{"prepare":"npm run build","build":"npm run build:clean && tsc","build:clean":"shx rm -rf ./dist ./coverage","lint":"npx @biomejs/biome check .","lint:fix":"npx @biomejs/biome check --write .","mocha":"mocha --config ./test/.mocharc.json \\"./src/**/*.spec.ts\\"","test":"npm run lint && npm run test:types && npm run test:integration && npm run test:unit","test:integration":"npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts","test:integration:ts":"cd test/integration/ts-4.7-project && npm i && npm run build","test:unit":"npm run build && c8 --config ./test/.c8rc.json npm run mocha","test:types":"tsd","watch":"npx nodemon --watch \'src\' --ext \'ts\' --exec npm run build"},"dependencies":{"@slack/logger":"^4.0.0","@slack/types":"^2.9.0","@types/node":">=18.0.0","@types/retry":"0.12.0","axios":"^1.8.3","eventemitter3":"^5.0.1","form-data":"^4.0.0","is-electron":"2.2.2","is-stream":"^2","p-queue":"^6","p-retry":"^4","retry":"^0.13.1"},"devDependencies":{"@biomejs/biome":"^1.8.3","@tsconfig/recommended":"^1","@types/busboy":"^1.5.4","@types/chai":"^4","@types/mocha":"^10","@types/sinon":"^17","busboy":"^1","c8":"^10.1.2","chai":"^4","mocha":"^11","mocha-junit-reporter":"^2.2.1","mocha-multi-reporters":"^1.5.1","nock":"^13","shx":"^0.4.0","sinon":"^19","source-map-support":"^0.5.21","ts-node":"^10","tsd":"^0.31.1","typescript":"5.3.3"},"tsd":{"directory":"test/types"}}');
90334+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@slack/web-api","version":"7.9.1","description":"Official library for using the Slack Platform\'s Web API","author":"Slack Technologies, LLC","license":"MIT","keywords":["slack","web-api","bot","client","http","api","proxy","rate-limiting","pagination"],"main":"dist/index.js","types":"./dist/index.d.ts","files":["dist/**/*"],"engines":{"node":">= 18","npm":">= 8.6.0"},"repository":"slackapi/node-slack-sdk","homepage":"https://tools.slack.dev/node-slack-sdk/web-api","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"scripts":{"prepare":"npm run build","build":"npm run build:clean && tsc","build:clean":"shx rm -rf ./dist ./coverage","lint":"npx @biomejs/biome check .","lint:fix":"npx @biomejs/biome check --write .","mocha":"mocha --config ./test/.mocharc.json \\"./src/**/*.spec.ts\\"","test":"npm run lint && npm run test:types && npm run test:integration && npm run test:unit","test:integration":"npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts","test:integration:ts":"cd test/integration/ts-4.7-project && npm i && npm run build","test:unit":"npm run build && c8 --config ./test/.c8rc.json npm run mocha","test:types":"tsd","watch":"npx nodemon --watch \'src\' --ext \'ts\' --exec npm run build"},"dependencies":{"@slack/logger":"^4.0.0","@slack/types":"^2.9.0","@types/node":">=18.0.0","@types/retry":"0.12.0","axios":"^1.8.3","eventemitter3":"^5.0.1","form-data":"^4.0.0","is-electron":"2.2.2","is-stream":"^2","p-queue":"^6","p-retry":"^4","retry":"^0.13.1"},"devDependencies":{"@biomejs/biome":"^1.8.3","@tsconfig/recommended":"^1","@types/busboy":"^1.5.4","@types/chai":"^4","@types/mocha":"^10","@types/sinon":"^17","busboy":"^1","c8":"^10.1.2","chai":"^4","mocha":"^11","mocha-junit-reporter":"^2.2.1","mocha-multi-reporters":"^1.5.1","nock":"^13","shx":"^0.4.0","sinon":"^20","source-map-support":"^0.5.21","ts-node":"^10","tsd":"^0.31.1","typescript":"5.3.3"},"tsd":{"directory":"test/types"}}');
9033490335
9033590336/***/ }),
9033690337
@@ -90358,7 +90359,7 @@ module.exports = {"version":"3.17.0"};
9035890359/***/ 8330:
9035990360/***/ ((module) => {
9036090361
90361- module.exports = /*#__PURE__*/JSON.parse('{"UU":"@krauters/github-notifier","rE":"0.15 .0","TB":"https://buymeacoffee.com/coltenkrauter"}');
90362+ module.exports = /*#__PURE__*/JSON.parse('{"UU":"@krauters/github-notifier","rE":"1.0 .0","TB":"https://buymeacoffee.com/coltenkrauter"}');
9036290363
9036390364/***/ })
9036490365
0 commit comments