From deb72703f07d8f845251bea6f914dbb065004df6 Mon Sep 17 00:00:00 2001 From: afeiship <1290657123@qq.com> Date: Wed, 1 Mar 2023 09:53:36 +0800 Subject: [PATCH] Release 1.0.2 --- package.json | 10 ++++++++-- src/index.ts | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 83bd446..e762e4e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jswork/leancloud", - "version": "1.0.0", + "version": "1.0.2", "description": "Leancloud api.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", @@ -42,5 +42,11 @@ "homepage": "https://js.work", "dependencies": { "node-fetch": "2.6.7" - } + }, + "keywords": [ + "get", + "lc", + "leancloud", + "set" + ] } diff --git a/src/index.ts b/src/index.ts index 76c5b1b..3a2567e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,7 +13,7 @@ const defaults = { }; export default class { - private static getHeaders(inOptions: Options) { + public static getHeaders(inOptions: Options) { return { 'X-LC-Id': inOptions.lcId, 'X-LC-Key': inOptions.lcKey,