@verdocs/web-sdk 2.3.42 → 2.3.43

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.
@@ -613,8 +613,10 @@ const VerdocsTemplateRoles = class {
613
613
  }
614
614
  await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false)
615
615
  .then(ts => {
616
+ var _a;
616
617
  this.templateStore = ts;
617
618
  this.roleStore = TemplateRoleStore.getTemplateRoleStore(this.templateId);
619
+ console.log('RS', (_a = this.roleStore) === null || _a === void 0 ? void 0 : _a.state);
618
620
  this.roleStore.onChange('roles', roles => {
619
621
  var _a;
620
622
  console.log('[ROLES] Roles changed', { roles });
@@ -50,8 +50,10 @@ export class VerdocsTemplateRoles {
50
50
  }
51
51
  await getTemplateStore(this.endpoint, this.templateId, false)
52
52
  .then(ts => {
53
+ var _a;
53
54
  this.templateStore = ts;
54
55
  this.roleStore = getTemplateRoleStore(this.templateId);
56
+ console.log('RS', (_a = this.roleStore) === null || _a === void 0 ? void 0 : _a.state);
55
57
  this.roleStore.onChange('roles', roles => {
56
58
  var _a;
57
59
  console.log('[ROLES] Roles changed', { roles });
@@ -65,8 +65,10 @@ const VerdocsTemplateRoles = /*@__PURE__*/ proxyCustomElement(class extends HTML
65
65
  }
66
66
  await getTemplateStore(this.endpoint, this.templateId, false)
67
67
  .then(ts => {
68
+ var _a;
68
69
  this.templateStore = ts;
69
70
  this.roleStore = getTemplateRoleStore(this.templateId);
71
+ console.log('RS', (_a = this.roleStore) === null || _a === void 0 ? void 0 : _a.state);
70
72
  this.roleStore.onChange('roles', roles => {
71
73
  var _a;
72
74
  console.log('[ROLES] Roles changed', { roles });