@cdek-it/widget 3.9.4 → 3.9.6

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/dist/service.php CHANGED
@@ -65,6 +65,7 @@ class service
65
65
  {
66
66
  $this->http_response_code(400);
67
67
  header('Content-Type: application/json');
68
+ header('X-Service-Version: 3.9.6');
68
69
  echo json_encode(array('message' => $message));
69
70
  exit();
70
71
  }
@@ -214,6 +215,7 @@ class service
214
215
 
215
216
  $headers = array(
216
217
  'Accept: application/json',
218
+ 'X-App-Name: widget_pvz',
217
219
  );
218
220
 
219
221
  if ($this->authToken) {
@@ -236,7 +238,7 @@ class service
236
238
  }
237
239
 
238
240
  curl_setopt_array($ch, array(
239
- CURLOPT_USERAGENT => 'widget/3.0',
241
+ CURLOPT_USERAGENT => 'widget/3.9.6',
240
242
  CURLOPT_HTTPHEADER => $headers,
241
243
  CURLOPT_RETURNTRANSFER => true,
242
244
  CURLOPT_HEADER => true,
@@ -266,6 +268,7 @@ class service
266
268
  {
267
269
  $this->http_response_code(200);
268
270
  header('Content-Type: application/json');
271
+ header('X-Service-Version: 3.9.6');
269
272
  if (!empty($data['addedHeaders'])) {
270
273
  foreach ($data['addedHeaders'] as $header) {
271
274
  header($header);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdek-it/widget",
3
- "version": "3.9.4",
3
+ "version": "3.9.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -43,47 +43,47 @@
43
43
  "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix"
44
44
  },
45
45
  "dependencies": {
46
- "@vueuse/core": "^10.7.2",
46
+ "@vueuse/core": "^10.9.0",
47
47
  "axios": "^1.6.7",
48
48
  "lodash-es": "^4.17.21",
49
49
  "perfect-scrollbar": "^1.5.5",
50
50
  "pinia": "^2.1.7",
51
- "vue": "^3.4.15",
52
- "vue-i18n": "^9.9.1",
53
- "vue-yandex-maps": "2.0.0-rc.12",
54
- "yup": "^1.3.3"
51
+ "vue": "^3.4.21",
52
+ "vue-i18n": "^9.10.1",
53
+ "vue-yandex-maps": "2.0.1",
54
+ "yup": "^1.4.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@iconify-json/tabler": "^1.1.105",
58
- "@intlify/unplugin-vue-i18n": "^2.0.0",
57
+ "@iconify-json/tabler": "^1.1.108",
58
+ "@intlify/unplugin-vue-i18n": "^3.0.1",
59
59
  "@types/lodash-es": "^4.17.12",
60
- "@types/node": "^20.11.16",
61
- "@typescript-eslint/eslint-plugin": "^6.20.0",
62
- "@typescript-eslint/parser": "^6.20.0",
63
- "@vitejs/plugin-vue": "^4.6.2",
60
+ "@types/node": "^20.11.27",
61
+ "@typescript-eslint/eslint-plugin": "^7.2.0",
62
+ "@typescript-eslint/parser": "^7.2.0",
63
+ "@vitejs/plugin-vue": "^5.0.4",
64
64
  "@vitejs/plugin-vue-jsx": "^3.1.0",
65
- "@vue/eslint-config-typescript": "^12.0.0",
66
- "@yandex/ymaps3-types": "^0.0.21",
67
- "autoprefixer": "^10.4.17",
68
- "cssnano": "^6.0.3",
69
- "eslint": "^8.56.0",
65
+ "@vue/eslint-config-typescript": "^13.0.0",
66
+ "@yandex/ymaps3-types": "^0.0.22",
67
+ "autoprefixer": "^10.4.18",
68
+ "cssnano": "^6.1.0",
69
+ "eslint": "^8.57.0",
70
70
  "eslint-config-prettier": "^9.1.0",
71
71
  "eslint-plugin-import": "^2.29.1",
72
72
  "eslint-plugin-prettier": "^5.1.3",
73
- "eslint-plugin-vue": "^9.21.1",
74
- "postcss": "^8.4.33",
73
+ "eslint-plugin-vue": "^9.23.0",
74
+ "postcss": "^8.4.35",
75
75
  "prettier": "^3.2.5",
76
- "sass": "^1.70.0",
77
- "terser": "^5.27.0",
78
- "typescript": "^5.3.3",
79
- "unocss": "^0.58.5",
80
- "vite": "^5.0.12",
76
+ "sass": "^1.72.0",
77
+ "terser": "^5.29.2",
78
+ "typescript": "^5.4.2",
79
+ "unocss": "^0.58.6",
80
+ "vite": "^5.1.6",
81
81
  "vite-plugin-css-injected-by-js": "^3.4.0",
82
- "vite-plugin-dts": "^3.7.2",
82
+ "vite-plugin-dts": "^3.7.3",
83
83
  "vite-plugin-static-copy": "^1.0.1",
84
84
  "vite-plugin-transform": "^2.0.1",
85
85
  "vite-svg-loader": "^5.1.0",
86
- "vue-tsc": "^1.8.27"
86
+ "vue-tsc": "^2.0.6"
87
87
  },
88
- "packageManager": "yarn@4.0.2"
88
+ "packageManager": "yarn@4.1.1"
89
89
  }