@moser-inc/moser-labs-custom-elements 2.0.0 → 2.0.1

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.
@@ -3831,7 +3831,10 @@ const _t = Symbol("labs-custom-elements-options"), Te = () => {
3831
3831
  const t = zt(_t);
3832
3832
  if (!t)
3833
3833
  throw new Error("useCeOptions(): could not find custom elements options!");
3834
- return t;
3834
+ return {
3835
+ ...t,
3836
+ apiUri: t.apiUri || window.location.origin
3837
+ };
3835
3838
  }, _r = /* @__PURE__ */ fe({
3836
3839
  __name: "DynamicAvatar",
3837
3840
  props: {
@@ -9459,7 +9459,10 @@ const aa = Symbol("labs-custom-elements-options"), lo = () => {
9459
9459
  const e = En(aa);
9460
9460
  if (!e)
9461
9461
  throw new Error("useCeOptions(): could not find custom elements options!");
9462
- return e;
9462
+ return {
9463
+ ...e,
9464
+ apiUri: e.apiUri || window.location.origin
9465
+ };
9463
9466
  }, o2 = /* @__PURE__ */ Tr({
9464
9467
  __name: "DynamicAvatar",
9465
9468
  props: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moser-inc/moser-labs-custom-elements",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Custom elements based components for use across frameworks.",
5
5
  "repository": {
6
6
  "type": "git",