epicenter-libs 3.23.2 → 3.23.3

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 (40) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/browser/{AckExtension-263b8630.js → AckExtension-2171c7cf.js} +3 -3
  3. package/dist/{module/AckExtension-d846f748.js.map → browser/AckExtension-2171c7cf.js.map} +1 -1
  4. package/dist/{module/ReloadExtension-fe0c7815.js → browser/ReloadExtension-5abe7eca.js} +3 -3
  5. package/dist/{module/ReloadExtension-fe0c7815.js.map → browser/ReloadExtension-5abe7eca.js.map} +1 -1
  6. package/dist/browser/{cometd-9f5a5308.js → cometd-7165bc34.js} +2 -2
  7. package/dist/browser/{cometd-9f5a5308.js.map → cometd-7165bc34.js.map} +1 -1
  8. package/dist/browser/{epicenter-2edde226.js → epicenter-afe27bba.js} +12 -9
  9. package/dist/browser/epicenter-afe27bba.js.map +1 -0
  10. package/dist/browser/epicenter.js +1 -1
  11. package/dist/cjs/{AckExtension-bacc5faf.js → AckExtension-1c90a7b2.js} +3 -3
  12. package/dist/cjs/{AckExtension-bacc5faf.js.map → AckExtension-1c90a7b2.js.map} +1 -1
  13. package/dist/cjs/{ReloadExtension-77012f25.js → ReloadExtension-33ce01a1.js} +3 -3
  14. package/dist/cjs/{ReloadExtension-77012f25.js.map → ReloadExtension-33ce01a1.js.map} +1 -1
  15. package/dist/cjs/{cometd-22110d8c.js → cometd-fa842498.js} +2 -2
  16. package/dist/cjs/{cometd-22110d8c.js.map → cometd-fa842498.js.map} +1 -1
  17. package/dist/cjs/{epicenter-df8a7174.js → epicenter-34397f3f.js} +12 -9
  18. package/dist/cjs/epicenter-34397f3f.js.map +1 -0
  19. package/dist/cjs/epicenter.js +1 -1
  20. package/dist/epicenter.js +8 -5
  21. package/dist/epicenter.js.map +1 -1
  22. package/dist/epicenter.min.js +1 -1
  23. package/dist/epicenter.min.js.map +1 -1
  24. package/dist/module/{AckExtension-d846f748.js → AckExtension-e3099151.js} +3 -3
  25. package/dist/{browser/AckExtension-263b8630.js.map → module/AckExtension-e3099151.js.map} +1 -1
  26. package/dist/{browser/ReloadExtension-3a311aaf.js → module/ReloadExtension-120e26e2.js} +3 -3
  27. package/dist/{browser/ReloadExtension-3a311aaf.js.map → module/ReloadExtension-120e26e2.js.map} +1 -1
  28. package/dist/module/{cometd-cc43bd43.js → cometd-71037296.js} +2 -2
  29. package/dist/module/{cometd-cc43bd43.js.map → cometd-71037296.js.map} +1 -1
  30. package/dist/module/{epicenter-b93d398b.js → epicenter-be727030.js} +12 -9
  31. package/dist/module/epicenter-be727030.js.map +1 -0
  32. package/dist/module/epicenter.js +1 -1
  33. package/dist/types/adapters/cometd.d.ts +1 -1
  34. package/dist/types/adapters/daily.d.ts +1 -0
  35. package/package.json +1 -1
  36. package/src/adapters/cometd.ts +2 -2
  37. package/src/adapters/daily.ts +3 -0
  38. package/dist/browser/epicenter-2edde226.js.map +0 -1
  39. package/dist/cjs/epicenter-df8a7174.js.map +0 -1
  40. package/dist/module/epicenter-b93d398b.js.map +0 -1
@@ -4018,7 +4018,7 @@ class CometdAdapter {
4018
4018
  constructor() {
4019
4019
  _defineProperty(this, "url", '');
4020
4020
 
4021
- _defineProperty(this, "initialization", false);
4021
+ _defineProperty(this, "initialization", undefined);
4022
4022
 
4023
4023
  _defineProperty(this, "subscriptions", new Map());
4024
4024
 
@@ -4042,9 +4042,9 @@ class CometdAdapter {
4042
4042
  if (!enabled) throw new EpicenterError('Push Channels are not enabled on this project');
4043
4043
  const {
4044
4044
  CometD
4045
- } = await Promise.resolve().then(function () { return require('./cometd-22110d8c.js'); }).then(function (n) { return n.cometd; });
4046
- const AckExtension = (await Promise.resolve().then(function () { return require('./AckExtension-bacc5faf.js'); }).then(function (n) { return n.AckExtension; })).default;
4047
- const ReloadExtension = (await Promise.resolve().then(function () { return require('./ReloadExtension-77012f25.js'); }).then(function (n) { return n.ReloadExtension; })).default;
4045
+ } = await Promise.resolve().then(function () { return require('./cometd-fa842498.js'); }).then(function (n) { return n.cometd; });
4046
+ const AckExtension = (await Promise.resolve().then(function () { return require('./AckExtension-1c90a7b2.js'); }).then(function (n) { return n.AckExtension; })).default;
4047
+ const ReloadExtension = (await Promise.resolve().then(function () { return require('./ReloadExtension-33ce01a1.js'); }).then(function (n) { return n.ReloadExtension; })).default;
4048
4048
  this.cometd = new CometD();
4049
4049
  const {
4050
4050
  apiProtocol,
@@ -4125,7 +4125,7 @@ class CometdAdapter {
4125
4125
 
4126
4126
  async init() {
4127
4127
  if (!this.initialization) {
4128
- this.initialization = await this.startup();
4128
+ this.initialization = this.startup();
4129
4129
  }
4130
4130
 
4131
4131
  return this.initialization;
@@ -8883,11 +8883,14 @@ async function createToken(room_name, optionals = {}) {
8883
8883
  exp,
8884
8884
  enable_recording,
8885
8885
  disableRateLimitHandling,
8886
+ selfSign = true,
8886
8887
  ...routingOptions
8887
8888
  } = optionals;
8888
8889
 
8889
8890
  const callAPI = async () => {
8890
- return await new Router().post('/daily/v1/meetingToken', {
8891
+ return await new Router().withSearchParams({
8892
+ selfSign
8893
+ }).post('/daily/v1/meetingToken', {
8891
8894
  body: {
8892
8895
  properties: {
8893
8896
  room_name,
@@ -9056,9 +9059,9 @@ var utilities = /*#__PURE__*/Object.freeze({
9056
9059
  });
9057
9060
 
9058
9061
  /* yes, this string template literal is weird;
9059
- * it's cause rollup does not recogize 3.23.1 as an individual token otherwise */
9062
+ * it's cause rollup does not recogize 3.23.2 as an individual token otherwise */
9060
9063
 
9061
- const version = "Epicenter (v".concat('3.23.1', ") for Module | Build Date: 2023-07-20T21:39:29.532Z");
9064
+ const version = "Epicenter (v".concat('3.23.2', ") for Module | Build Date: 2023-10-04T22:18:00.257Z");
9062
9065
  const UNAUTHORIZED = 401;
9063
9066
  const FORBIDDEN = 403;
9064
9067
  errorManager.registerHandler(error => error.code === 'COMETD_RECONNECTED', async error => {
@@ -9146,4 +9149,4 @@ exports.video$1 = video$1;
9146
9149
  exports.vonage = vonage;
9147
9150
  exports.vonage$1 = vonage$1;
9148
9151
  exports.world = world;
9149
- //# sourceMappingURL=epicenter-df8a7174.js.map
9152
+ //# sourceMappingURL=epicenter-34397f3f.js.map