Merge pull request 'v1.1.4' (#16) from develop into main
Reviewed-on: #16
This commit was merged in pull request #16.
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
## インストール
|
||||
```bash
|
||||
# npm
|
||||
npm install git+https://gitea.last2014.com/last2014/better-uwuzu-sdk.git#1.1.3
|
||||
npm install git+https://gitea.last2014.com/last2014/better-uwuzu-sdk.git#1.1.4
|
||||
|
||||
# yarn
|
||||
yarn add git+https://gitea.last2014.com/last2014/better-uwuzu-sdk.git#1.1.3
|
||||
yarn add git+https://gitea.last2014.com/last2014/better-uwuzu-sdk.git#1.1.4
|
||||
|
||||
# pnpm
|
||||
pnpm add git+https://gitea.last2014.com/last2014/better-uwuzu-sdk.git#1.1.3
|
||||
pnpm add git+https://gitea.last2014.com/last2014/better-uwuzu-sdk.git#1.1.4
|
||||
```
|
||||
> **NOTE**
|
||||
> このSDKはnpmリポジトリがありません。Gitリポジトリを使用しています。
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "better-uwuzu-sdk",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"description": "A better uwuzu SDK.",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/types/index.d.ts",
|
||||
|
||||
+5
-1
@@ -90,8 +90,12 @@ export default class uwuzu<
|
||||
|
||||
bodyParsed = {
|
||||
...bodyParsed,
|
||||
token: this._token,
|
||||
token: this._token ?? "",
|
||||
};
|
||||
|
||||
if (bodyParsed.token === "")
|
||||
delete bodyParsed.token;
|
||||
|
||||
bodyParsed = JSON.stringify(bodyParsed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user