@ohbug/extension-feedback 0.5.0 → 0.6.1

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- MIT License
1
+ The MIT License (MIT)
2
2
 
3
- Copyright (c) 2022 ohbug-org
3
+ Copyright (c) 2022 chenyueban
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
9
  copies of the Software, and to permit persons to whom the Software is
10
10
  furnished to do so, subject to the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/README.md CHANGED
@@ -6,28 +6,25 @@
6
6
  <p>An open source application information monitoring platform.</p>
7
7
  </div>
8
8
 
9
- # OhbugExtension starter
10
-
11
- Use this template to create your own Ohbug extension.
12
-
13
- English | [简体中文](./README-zh_CN.md)
14
-
15
- ## Quick start
16
-
17
- 1. **Git clone the repo.**
18
- ```shell
19
- git clone git@github.com:ohbug-org/ohbug-extension-starter.git
20
- ```
21
- 1. **Installation dependencies.**
22
- ```shell
23
- cd ohbug-extension-starter/
24
- pnpm i
25
- ```
26
- 1. **Start developing.**
27
- ```shell
28
- pnpm run dev
29
- ```
30
- 1. **Build.**
31
- ```shell
32
- pnpm run build
33
- ```
9
+ # `@ohbug/extension-feedback`
10
+
11
+ [![npm](https://img.shields.io/npm/v/@ohbug/extension-feedback.svg?style=flat-square)](https://www.npmjs.com/package/@ohbug/extension-feedback)
12
+ [![npm bundle size](https://img.shields.io/bundlephobia/min/@ohbug/extension-feedback?style=flat-square)](https://bundlephobia.com/result?p=@ohbug/extension-feedback)
13
+
14
+ Ohbug extension to collect user feedback
15
+
16
+ ## Installation
17
+
18
+ ```
19
+ pnpm i @ohbug/extension-feedback
20
+ ```
21
+
22
+ ## Usage
23
+
24
+ ```javascript
25
+ import Ohbug from '@ohbug/browser'
26
+ import OhbugExtensionFeedback from '@ohbug/extension-feedback'
27
+
28
+ const client = Ohbug.setup({ apiKey: 'YOUR_API_KEY' })
29
+ client.use(OhbugExtensionFeedback)
30
+ ```
package/dist/Box.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAQzC,OAAO,gBAAgB,CAAA;AACvB,OAAO,gBAAgB,CAAA;AAEvB,QAAA,MAAM,GAAG,EAAE,SAmJV,CAAA;AAED,eAAe,GAAG,CAAA"}
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAOzC,OAAO,gBAAgB,CAAA;AACvB,OAAO,gBAAgB,CAAA;AAEvB,QAAA,MAAM,GAAG,EAAE,SAwJV,CAAA;AAED,eAAe,GAAG,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Selector.d.ts","sourceRoot":"","sources":["Selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAUzC,OAAO,YAAY,CAAA;AACnB,OAAO,gBAAgB,CAAA;AAEvB,QAAA,MAAM,QAAQ,EAAE,SAiQf,CAAA;AAED,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"Selector.d.ts","sourceRoot":"","sources":["Selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAUzC,OAAO,YAAY,CAAA;AACnB,OAAO,gBAAgB,CAAA;AAEvB,QAAA,MAAM,QAAQ,EAAE,SAmQf,CAAA;AAED,eAAe,QAAQ,CAAA"}