@dj1029/plugin-smart-sl 0.0.19 → 0.0.20

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.
@@ -1 +1 @@
1
- {"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../src/lib/tool.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,wBAAgB,cAAc;;;;;;;;;;;;;;;QAgC7B"}
1
+ {"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../src/lib/tool.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,wBAAgB,cAAc;;;;;;;;;;;;;;;QAiC7B"}
package/dist/lib/tool.js CHANGED
@@ -5,7 +5,7 @@ import request from "./http-client.service.js";
5
5
  export function buildSmartTool() {
6
6
  return tool(async (input) => {
7
7
  try {
8
- // console.log("input ---------- ",input)
8
+ console.log("input ---------- ", input);
9
9
  // const httpClient = new HttpClientService();
10
10
  // const res = await httpClient.post('/login', input);
11
11
  // console.log("res ---------- ", res.data.token)
@@ -15,6 +15,7 @@ export function buildSmartTool() {
15
15
  method: 'post',
16
16
  data: input
17
17
  });
18
+ console.log("req ---------- ", req);
18
19
  return req.data.token;
19
20
  }
20
21
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dj1029/plugin-smart-sl",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",