@capillarytech/creatives-library 8.0.237 → 8.0.238

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/config/app.js CHANGED
@@ -20,7 +20,7 @@ const config = {
20
20
  accountConfig: (strs, accountId) => `${window.location.origin}/org/config/AccountAdd?q=a&channelId=2&accountId=${accountId}&edit=1`,
21
21
  },
22
22
  development: {
23
- api_endpoint: 'http://localhost:2022/arya/api/v1/creatives',
23
+ api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/arya/api/v1/creatives',
24
24
  campaigns_api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/iris/v2/campaigns',
25
25
  campaigns_api_org_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/iris/v2/org/campaign',
26
26
  auth_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/arya/api/v1/auth',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "8.0.237",
4
+ "version": "8.0.238",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -302,7 +302,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
302
302
  })?.domainProperties?.hostName || '';
303
303
 
304
304
  // Fallback for RCS: If no match found (empty connectionProperties) and there's exactly one domain property, use that hostName
305
- if (!domainHostName && domainPropertiesData.length === 1) {
305
+ if (!domainHostName && domainPropertiesData?.length === 1) {
306
306
  domainHostName = domainPropertiesData[0]?.domainProperties?.hostName || '';
307
307
  }
308
308