@callembed/elements 0.1.0 → 0.1.2

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/dist/index.cjs CHANGED
@@ -522,10 +522,16 @@ function defineCallEmbedButton(tagName = TAG) {
522
522
  }
523
523
  return CallEmbedButtonElement;
524
524
  }
525
-
526
- // src/index.ts
527
525
  defineCallEmbedButton();
528
526
 
527
+ Object.defineProperty(exports, "DEFAULT_HOSTED_EMBED_ORIGIN", {
528
+ enumerable: true,
529
+ get: function () { return sdk.DEFAULT_HOSTED_EMBED_ORIGIN; }
530
+ });
531
+ Object.defineProperty(exports, "DEFAULT_HOSTED_EMBED_URL", {
532
+ enumerable: true,
533
+ get: function () { return sdk.DEFAULT_HOSTED_EMBED_URL; }
534
+ });
529
535
  Object.defineProperty(exports, "enCopy", {
530
536
  enumerable: true,
531
537
  get: function () { return ui.enCopy; }
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CallStatus, ActiveCall } from '@callembed/sdk';
2
- export { ActiveCall, CallStatus, InitOptions, Locale, StartCallOptions } from '@callembed/sdk';
2
+ export { ActiveCall, CallStatus, DEFAULT_HOSTED_EMBED_ORIGIN, DEFAULT_HOSTED_EMBED_URL, InitOptions, Locale, StartCallOptions } from '@callembed/sdk';
3
3
  import { PanelCopy } from '@callembed/sdk/ui';
4
4
  export { PanelCopy, enCopy, friendlyErrorMessage, resolveCopy, zhTwCopy } from '@callembed/sdk/ui';
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CallStatus, ActiveCall } from '@callembed/sdk';
2
- export { ActiveCall, CallStatus, InitOptions, Locale, StartCallOptions } from '@callembed/sdk';
2
+ export { ActiveCall, CallStatus, DEFAULT_HOSTED_EMBED_ORIGIN, DEFAULT_HOSTED_EMBED_URL, InitOptions, Locale, StartCallOptions } from '@callembed/sdk';
3
3
  import { PanelCopy } from '@callembed/sdk/ui';
4
4
  export { PanelCopy, enCopy, friendlyErrorMessage, resolveCopy, zhTwCopy } from '@callembed/sdk/ui';
5
5
 
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { CallEmbed, CallEmbedError } from '@callembed/sdk';
2
+ export { DEFAULT_HOSTED_EMBED_ORIGIN, DEFAULT_HOSTED_EMBED_URL } from '@callembed/sdk';
2
3
  import { resolveCopy, friendlyErrorMessage } from '@callembed/sdk/ui';
3
4
  export { enCopy, friendlyErrorMessage, resolveCopy, zhTwCopy } from '@callembed/sdk/ui';
4
5
 
@@ -521,8 +522,6 @@ function defineCallEmbedButton(tagName = TAG) {
521
522
  }
522
523
  return CallEmbedButtonElement;
523
524
  }
524
-
525
- // src/index.ts
526
525
  defineCallEmbedButton();
527
526
 
528
527
  export { TAG as CALLEMBED_BUTTON_TAG, CallEmbedButtonElement, defineCallEmbedButton, statusLabel, toUiState };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@callembed/elements",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Framework-agnostic CallEmbed Web Component (thin wrapper over @callembed/sdk)",
5
5
  "license": "MIT",
6
6
  "author": "Sealby",
@@ -63,7 +63,7 @@
63
63
  "access": "public"
64
64
  },
65
65
  "peerDependencies": {
66
- "@callembed/sdk": "^0.1.0",
66
+ "@callembed/sdk": "^0.1.2",
67
67
  "livekit-client": "^2.13.0"
68
68
  },
69
69
  "peerDependenciesMeta": {
@@ -72,7 +72,7 @@
72
72
  }
73
73
  },
74
74
  "devDependencies": {
75
- "@callembed/sdk": "^0.1.0",
75
+ "@callembed/sdk": "^0.1.2",
76
76
  "esbuild": "0.25.4",
77
77
  "jsdom": "26.1.0",
78
78
  "livekit-client": "^2.13.0",