ai-yuca 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-yuca",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "一个实用的AI辅助工具",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -160,6 +160,7 @@ async function uploadFile(options) {
160
160
  * @returns 上传结果
161
161
  */
162
162
  async function uploadFiles(options) {
163
+ console.log(options);
163
164
  const { bucketName, sourcePath, destination, storageClient, recursive = false, enableCompression = true } = options;
164
165
  if (!bucketName || !sourcePath || !storageClient) {
165
166
  throw new Error('缺少必要的上传参数');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-yuca",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "一个实用的AI辅助工具",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
package/src/upload.ts CHANGED
@@ -148,6 +148,9 @@ async function uploadFile(options: UploadFileOptions): Promise<UploadResult> {
148
148
  * @returns 上传结果
149
149
  */
150
150
  async function uploadFiles(options: UploadFilesOptions): Promise<UploadFilesResult> {
151
+
152
+ console.log(options);
153
+
151
154
  const { bucketName, sourcePath, destination, storageClient, recursive = false, enableCompression = true } = options;
152
155
 
153
156
  if (!bucketName || !sourcePath || !storageClient) {