adata-ui 2.0.87 → 2.0.88

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.
@@ -56,7 +56,7 @@ export function useBuyTariffs() {
56
56
  }
57
57
  }
58
58
 
59
- async function leaveRequest(name: any, email: any, phone: any, comment: any) {
59
+ async function leaveRequest(name: any, email: any, phone: any, comment: any, rateCode: any = 'adata_pro') {
60
60
  try {
61
61
  const info = await fetch(`${removeTrailingSlash(userApiURL)}/message/rate`, {
62
62
  method: 'POST',
@@ -71,7 +71,7 @@ export function useBuyTariffs() {
71
71
  email: email,
72
72
  phone_number: phone,
73
73
  message: comment,
74
- rate_code: 'adata_pro',
74
+ rate_code: rateCode,
75
75
  })
76
76
  })
77
77
  const { data } = await info.json().catch(() => ({}))
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adata-ui",
3
3
  "type": "module",
4
- "version": "2.0.87",
4
+ "version": "2.0.88",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",