chayns-api 2.4.4 → 2.4.5

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.
@@ -116,7 +116,8 @@ class AppWrapper {
116
116
  },
117
117
  dynamicFontSize: false,
118
118
  locationPersonId: AppInfo.LocationPersonId,
119
- urlHash: (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.location.hash.replace('#', '')
119
+ urlHash: (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.location.hash.replace('#', ''),
120
+ icon: `https://tsimg.cloud/${AppInfo.SiteID}/profile.png`
120
121
  },
121
122
  parameters: Object.fromEntries(urlParams),
122
123
  user: {
@@ -105,7 +105,8 @@ export class AppWrapper {
105
105
  },
106
106
  dynamicFontSize: false,
107
107
  locationPersonId: AppInfo.LocationPersonId,
108
- urlHash: (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.location.hash.replace('#', '')
108
+ urlHash: (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.location.hash.replace('#', ''),
109
+ icon: `https://tsimg.cloud/${AppInfo.SiteID}/profile.png`
109
110
  },
110
111
  parameters: Object.fromEntries(urlParams),
111
112
  user: {
@@ -191,6 +191,7 @@ export type ChaynsApiSite = {
191
191
  url: string;
192
192
  urlHash: string;
193
193
  originSiteId?: string;
194
+ icon: string;
194
195
  };
195
196
  export declare enum IconStyle {
196
197
  SOLID = 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "2.4.4",
3
+ "version": "2.4.5",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",