@capillarytech/creatives-library 7.10.19 → 7.10.21

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
@@ -17,7 +17,6 @@ const config = {
17
17
  },
18
18
  development: {
19
19
  api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/arya/api/v1/creatives',
20
- //api_endpoint: 'http://localhost:2022/arya/api/v1/creatives',
21
20
  campaigns_api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/iris/v2/campaigns',
22
21
  campaigns_api_org_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/iris/v2/org/campaign',
23
22
  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": "7.10.19",
4
+ "version": "7.10.21",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -419,6 +419,7 @@ class Creatives extends React.Component {
419
419
  if (get(template, "value.versions.base")) {
420
420
  const mobilpushTemplate = template.value;
421
421
  templateData.accountId = get(mobilpushTemplate, 'definition.accountId');
422
+ templateData.licenseCode = get(mobilpushTemplate, 'definition.licenseCode');
422
423
  const androidContent = get(mobilpushTemplate, 'versions.base.ANDROID');
423
424
  if (!isEmpty(androidContent)) {
424
425
  delete androidContent.cuid;
@@ -367,6 +367,7 @@ export class Create extends React.Component { // eslint-disable-line react/prefe
367
367
  obj.name = formData['template-name'];
368
368
  obj.definition = {
369
369
  accountId: this.props.Templates.selectedWeChatAccount.id,
370
+ licenseCode: this.props.Templates.selectedWeChatAccount.sourceAccountIdentifier,
370
371
  mode: this.props.params.mode,
371
372
  };
372
373
  const android = {};