@veloceapps/sdk 2.0.8 → 2.0.10

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.
Files changed (29) hide show
  1. package/bundles/veloce-sdk-cms.umd.js +322 -258
  2. package/bundles/veloce-sdk-cms.umd.js.map +1 -1
  3. package/bundles/veloce-sdk-runtime.umd.js +1 -1
  4. package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
  5. package/cms/injection-tokens.d.ts +2 -0
  6. package/cms/modules/configuration/services/configuration-runtime.service.d.ts +1 -1
  7. package/cms/plugins/configuration.plugin.d.ts +2 -3
  8. package/cms/plugins/script.plugin.d.ts +1 -0
  9. package/cms/utils/element.utils.d.ts +2 -0
  10. package/cms/vendor-map.d.ts +2 -0
  11. package/esm2015/cms/cms.default.js +3 -4
  12. package/esm2015/cms/cms.elements.js +9 -5
  13. package/esm2015/cms/injection-tokens.js +2 -1
  14. package/esm2015/cms/modules/configuration/helpers.js +2 -2
  15. package/esm2015/cms/modules/configuration/services/configuration-runtime.service.js +23 -14
  16. package/esm2015/cms/modules/configuration/services/configuration.service.js +3 -23
  17. package/esm2015/cms/modules/configuration/services/runtime-context.service.js +5 -3
  18. package/esm2015/cms/plugins/configuration.plugin.js +2 -4
  19. package/esm2015/cms/plugins/script.plugin.js +4 -26
  20. package/esm2015/cms/services/launcher.service.js +2 -2
  21. package/esm2015/cms/utils/element.utils.js +60 -3
  22. package/esm2015/cms/utils/elements-resolver.js +4 -2
  23. package/esm2015/cms/vendor-map.js +24 -0
  24. package/esm2015/runtime/services/context.service.js +3 -3
  25. package/fesm2015/veloce-sdk-cms.js +283 -226
  26. package/fesm2015/veloce-sdk-cms.js.map +1 -1
  27. package/fesm2015/veloce-sdk-runtime.js +1 -1
  28. package/fesm2015/veloce-sdk-runtime.js.map +1 -1
  29. package/package.json +1 -1
@@ -757,7 +757,7 @@ class ContextService {
757
757
  this.resolve$ = () => this.context;
758
758
  }
759
759
  create(headerId, mode) {
760
- return this.contextApiService.getContext(headerId, mode).pipe(tap(context => this.context.next(merge(new ConfigurationContext(headerId, mode), context))), tap(() => this.resolve()));
760
+ return this.contextApiService.getContext(headerId, mode).pipe(tap(context => this.context.next(merge(new ConfigurationContext(headerId, mode), context))), map(() => this.resolve()));
761
761
  }
762
762
  update(partialContext) {
763
763
  const originalContext = this.resolve();