@connectedxm/client 1.7.1 → 1.7.3

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/index.d.mts CHANGED
@@ -1762,7 +1762,6 @@ interface OrganizationConfig {
1762
1762
  API_URL: "https://client-api.connected.dev" | "https://staging-client-api.connected.dev";
1763
1763
  OPENGRAPH_URL: "https://opengraph-api.connected.dev" | "https://staging-opengraph-api.connected.dev";
1764
1764
  CHAT_URL: "wss://websocket.connected.dev" | "wss://staging-websocket.connected.dev";
1765
- SHOP_URL: string | null;
1766
1765
  APPLE_APPSTORE_LINK: string | null;
1767
1766
  GOOGLE_PLAYSTORE_LINK: string | null;
1768
1767
  NAME: string;
@@ -1798,6 +1797,17 @@ interface OrganizationConfig {
1798
1797
  };
1799
1798
  };
1800
1799
  MODULES: Record<keyof typeof OrganizationModuleType, OrganizationModule>;
1800
+ CUSTOM_MODULES: {
1801
+ name: string;
1802
+ url: string;
1803
+ iconName: string;
1804
+ color: string;
1805
+ position: "top" | "bottom";
1806
+ translations: {
1807
+ locale: string;
1808
+ name: string;
1809
+ }[];
1810
+ }[];
1801
1811
  SOCIAL: {
1802
1812
  facebook: string | null;
1803
1813
  instagram: string | null;
package/dist/index.d.ts CHANGED
@@ -1762,7 +1762,6 @@ interface OrganizationConfig {
1762
1762
  API_URL: "https://client-api.connected.dev" | "https://staging-client-api.connected.dev";
1763
1763
  OPENGRAPH_URL: "https://opengraph-api.connected.dev" | "https://staging-opengraph-api.connected.dev";
1764
1764
  CHAT_URL: "wss://websocket.connected.dev" | "wss://staging-websocket.connected.dev";
1765
- SHOP_URL: string | null;
1766
1765
  APPLE_APPSTORE_LINK: string | null;
1767
1766
  GOOGLE_PLAYSTORE_LINK: string | null;
1768
1767
  NAME: string;
@@ -1798,6 +1797,17 @@ interface OrganizationConfig {
1798
1797
  };
1799
1798
  };
1800
1799
  MODULES: Record<keyof typeof OrganizationModuleType, OrganizationModule>;
1800
+ CUSTOM_MODULES: {
1801
+ name: string;
1802
+ url: string;
1803
+ iconName: string;
1804
+ color: string;
1805
+ position: "top" | "bottom";
1806
+ translations: {
1807
+ locale: string;
1808
+ name: string;
1809
+ }[];
1810
+ }[];
1801
1811
  SOCIAL: {
1802
1812
  facebook: string | null;
1803
1813
  instagram: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {
@@ -18,7 +18,8 @@
18
18
  "test": "vitest run",
19
19
  "build": "tsup src/index.ts --format cjs,esm --dts",
20
20
  "release": "npm run lint && npm run test && npm run build",
21
- "local": "npm run release && npm pack"
21
+ "local": "npm run release && npm pack",
22
+ "upgrade": "ncu -i --format group"
22
23
  },
23
24
  "dependencies": {
24
25
  "axios": "^1.8.4",
@@ -31,19 +32,19 @@
31
32
  "react-use-websocket": "^4.0.0"
32
33
  },
33
34
  "devDependencies": {
34
- "@swc/core": "^1.11.16",
35
- "@tanstack/react-query": "^5.71.1",
35
+ "@swc/core": "^1.11.20",
36
+ "@tanstack/react-query": "^5.72.2",
36
37
  "@types/react": "^18.2.47",
37
38
  "@typescript-eslint/eslint-plugin": "^6.4.0",
38
39
  "@typescript-eslint/parser": "^6.18.1",
39
40
  "eslint": "^8.0.1",
40
- "eslint-plugin-react": "^7.37.4",
41
+ "eslint-plugin-react": "^7.37.5",
41
42
  "eslint-plugin-react-hooks": "^4.6.0",
42
43
  "tsup": "^8.4.0",
43
- "typescript": "^5.8.2",
44
+ "typescript": "^5.8.3",
44
45
  "vitest": "^3.1.1"
45
46
  },
46
47
  "optionalDependencies": {
47
- "@rollup/rollup-linux-x64-gnu": "4.38.0"
48
+ "@rollup/rollup-linux-x64-gnu": "4.39.0"
48
49
  }
49
50
  }
Binary file