Compare commits
2 Commits
@egg/net-t
...
@egg/net-t
Author | SHA1 | Date | |
---|---|---|---|
63362d1813 | |||
7e97b8a8f5 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -12394,7 +12394,7 @@
|
||||
},
|
||||
"packages/net-tool": {
|
||||
"name": "@egg/net-tool",
|
||||
"version": "1.10.0",
|
||||
"version": "1.11.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@egg/logger": "^1.4.4",
|
||||
|
@ -3,6 +3,12 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [1.11.0](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.10.0...@egg/net-tool@1.11.0) (2024-11-17)
|
||||
|
||||
### Features
|
||||
|
||||
- **net-tools:** 修改GitlabService入参格式 ([7e97b8a](http://yingbo.im:3000/zhaoyingbo/egg_tools/commits/7e97b8a8f5e010a599890be6e91e5ae19480f30a))
|
||||
|
||||
# 1.10.0 (2024-11-17)
|
||||
|
||||
### Features
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@egg/net-tool",
|
||||
"version": "1.10.0",
|
||||
"version": "1.11.0",
|
||||
"description": "Net Tools for Egg projects",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
@ -23,7 +23,15 @@ class GitlabService {
|
||||
* @param {string} authKey - 用于授权的密钥。
|
||||
* @param {string} requestId - 请求 ID。
|
||||
*/
|
||||
constructor(baseUrl: string, authKey: string, requestId: string) {
|
||||
constructor({
|
||||
baseUrl = "",
|
||||
authKey = "",
|
||||
requestId = "",
|
||||
}: {
|
||||
baseUrl: string
|
||||
authKey: string
|
||||
requestId: string
|
||||
}) {
|
||||
this.badge = new Badge(baseUrl, authKey, requestId)
|
||||
this.commit = new Commit(baseUrl, authKey, requestId)
|
||||
this.discussions = new Discussions(baseUrl, authKey, requestId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user