@ohbug/extension-uuid 2.0.1 → 2.0.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +5 -4
package/dist/index.d.ts CHANGED
@@ -19,7 +19,7 @@ type OhbugGetDevice = (client?: OhbugClient) => OhbugDevice
19
19
 
20
20
  interface OhbugUser {
21
21
  uuid?: string
22
- ip_address?: string
22
+ ipAddress?: string
23
23
  id?: number | string
24
24
  name?: string
25
25
  email?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohbug/extension-uuid",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Ohbug extension to add uuid",
5
5
  "license": "Apache-2.0",
6
6
  "author": "chenyueban <jasonchan0527@gmail.com>",
@@ -27,8 +27,8 @@
27
27
  ],
28
28
  "sideEffects": false,
29
29
  "dependencies": {
30
- "@ohbug/core": "2.0.1",
31
- "@ohbug/utils": "2.0.1",
30
+ "@ohbug/core": "2.0.2",
31
+ "@ohbug/utils": "2.0.2",
32
32
  "uuid": "^8.3.2"
33
33
  },
34
34
  "devDependencies": {
@@ -40,5 +40,6 @@
40
40
  "scripts": {
41
41
  "build": "tsup",
42
42
  "dev": "tsup --watch"
43
- }
43
+ },
44
+ "readme": "# `@ohbug/extension-uuid`\n\n[![npm](https://img.shields.io/npm/v/@ohbug/extension-uuid.svg?style=flat-square)](https://www.npmjs.com/package/@ohbug/extension-uuid)\n[![npm bundle size](https://img.shields.io/bundlephobia/min/@ohbug/extension-uuid?style=flat-square)](https://bundlephobia.com/result?p=@ohbug/extension-uuid)\n\n## Installation\n\n```\npnpm instal @ohbug/extension-uuid\n```\n\n## Usage\n\n```javascript\nimport Ohbug from '@ohbug/browser'\nimport OhbugExtensionUUID from '@ohbug/extension-uuid'\n\nconst client = Ohbug.setup({ apiKey: 'YOUR_API_KEY' })\nclient.use(OhbugExtensionUUID)\n```\n"
44
45
  }