@pisell/common 0.0.17-3 → 0.0.17

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.
@@ -271,7 +271,7 @@ var createFeishuMessageContent = function createFeishuMessageContent(contentArr)
271
271
  text: "".concat(item.key, ": ")
272
272
  }, {
273
273
  tag: 'text',
274
- text: "".concat(item.value, ": ")
274
+ text: "".concat(item.value)
275
275
  }];
276
276
  }));
277
277
  };
@@ -209,7 +209,7 @@ var createFeishuMessageContent = (contentArr) => {
209
209
  contentArr.map((item) => {
210
210
  return [
211
211
  { tag: "text", text: `${item.key}: ` },
212
- { tag: "text", text: `${item.value}: ` }
212
+ { tag: "text", text: `${item.value}` }
213
213
  ];
214
214
  })
215
215
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/common",
3
- "version": "0.0.17-3",
3
+ "version": "0.0.17",
4
4
  "description": "A collection of reusable UI components for web development",
5
5
  "license": "MIT",
6
6
  "sideEffects": [
@@ -1,30 +0,0 @@
1
- export declare type PisellConfigType = {
2
- ENV: {
3
- host: string;
4
- socket: string;
5
- helpHost: string;
6
- boxlocal_h5: string;
7
- accounts: string;
8
- domain: string;
9
- googleMap: string;
10
- appCenter: string;
11
- static: string;
12
- };
13
- /** 当前主项目类型 */
14
- platform: 'shop' | string;
15
- /** 包内请求 由主项目注入 */
16
- request: {
17
- get: RequestMethod;
18
- post: RequestMethod;
19
- put: RequestMethod;
20
- remove: RequestMethod;
21
- request: RequestMethod;
22
- };
23
- /** 消息通知url */
24
- webhookUrl?: string;
25
- };
26
- export interface RequestMethod {
27
- <T = any>(url: string, data?: Record<string, any>, config?: any): Promise<T>;
28
- }
29
- export declare const initConfig: (options: PisellConfigType) => void;
30
- export declare const getConfig: () => PisellConfigType;
@@ -1,30 +0,0 @@
1
- export declare type PisellConfigType = {
2
- ENV: {
3
- host: string;
4
- socket: string;
5
- helpHost: string;
6
- boxlocal_h5: string;
7
- accounts: string;
8
- domain: string;
9
- googleMap: string;
10
- appCenter: string;
11
- static: string;
12
- };
13
- /** 当前主项目类型 */
14
- platform: 'shop' | string;
15
- /** 包内请求 由主项目注入 */
16
- request: {
17
- get: RequestMethod;
18
- post: RequestMethod;
19
- put: RequestMethod;
20
- remove: RequestMethod;
21
- request: RequestMethod;
22
- };
23
- /** 消息通知url */
24
- webhookUrl?: string;
25
- };
26
- export interface RequestMethod {
27
- <T = any>(url: string, data?: Record<string, any>, config?: any): Promise<T>;
28
- }
29
- export declare const initConfig: (options: PisellConfigType) => void;
30
- export declare const getConfig: () => PisellConfigType;