@askdialog/dialog-sdk 1.0.25 → 1.0.26-beta.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.
@@ -15,7 +15,7 @@ export const getDetailedLocaleInfo = (locale) => {
15
15
  locale,
16
16
  };
17
17
  }
18
- catch (e) {
18
+ catch {
19
19
  return null;
20
20
  }
21
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askdialog/dialog-sdk",
3
- "version": "1.0.25",
3
+ "version": "1.0.26-beta.2",
4
4
  "private": false,
5
5
  "description": "Dialog SDK",
6
6
  "main": "dist/index.js",
@@ -26,30 +26,33 @@
26
26
  "author": "Dialog",
27
27
  "license": "MIT",
28
28
  "devDependencies": {
29
- "@typescript-eslint/eslint-plugin": "^7.18.0",
30
- "@typescript-eslint/parser": "^7.18.0",
31
- "esbuild": "^0.25.8",
32
- "eslint": "^8.56.0",
33
- "eslint-config-prettier": "^10.1.1",
34
- "eslint-import-resolver-typescript": "^4.3.2",
35
- "eslint-plugin-import": "^2.31.0",
36
- "eslint-plugin-prefer-arrow": "^1.2.3",
37
- "eslint-plugin-prettier": "^5.2.6",
38
- "typescript": "^5.8.3"
29
+ "@eslint/js": "^9.39.1",
30
+ "esbuild": "^0.25.12",
31
+ "eslint": "^9.39.1",
32
+ "eslint-config-prettier": "^10.1.8",
33
+ "eslint-import-resolver-typescript": "^4.4.4",
34
+ "eslint-plugin-import": "^2.32.0",
35
+ "eslint-plugin-prettier": "^5.5.4",
36
+ "globals": "^16.5.0",
37
+ "prettier": "^3.6.2",
38
+ "typescript": "^5.9.3",
39
+ "typescript-eslint": "^8.46.4"
39
40
  },
40
41
  "publishConfig": {
41
42
  "access": "public"
42
43
  },
43
44
  "dependencies": {
44
- "posthog-js": "^1.235.3",
45
+ "posthog-js": "^1.293.0",
45
46
  "uuidv7": "^1.0.2"
46
47
  },
47
48
  "scripts": {
48
49
  "clean": "rm -rf dist",
49
50
  "set-config": "chmod +x scripts/set-config.sh && ./scripts/set-config.sh",
51
+ "build": "pnpm run build:prod",
50
52
  "build:dev": "pnpm run clean && pnpm run set-config development && tsc",
51
53
  "build:prod": "pnpm run clean && pnpm run set-config production && tsc",
52
- "test-linter": "eslint . --ext .ts",
54
+ "lint": "eslint .",
55
+ "lint:fix": "eslint . --fix",
53
56
  "test-type": "tsc --noEmit",
54
57
  "link": "pnpm link --global",
55
58
  "unlink": "pnpm unlink",