@aslaluroba/help-center-react 3.0.18 → 3.0.19

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.esm.js CHANGED
@@ -3368,7 +3368,7 @@ function darkenColor(color, amount) {
3368
3368
  }
3369
3369
 
3370
3370
  /**
3371
- * @license @tabler/icons-react v3.34.1 - MIT
3371
+ * @license @tabler/icons-react v3.35.0 - MIT
3372
3372
  *
3373
3373
  * This source code is licensed under the MIT license.
3374
3374
  * See the LICENSE file in the root directory of this source tree.
@@ -3397,7 +3397,7 @@ var defaultAttributes = {
3397
3397
  };
3398
3398
 
3399
3399
  /**
3400
- * @license @tabler/icons-react v3.34.1 - MIT
3400
+ * @license @tabler/icons-react v3.35.0 - MIT
3401
3401
  *
3402
3402
  * This source code is licensed under the MIT license.
3403
3403
  * See the LICENSE file in the root directory of this source tree.
@@ -3433,7 +3433,7 @@ const createReactComponent = (type, iconName, iconNamePascal, iconNode) => {
3433
3433
  };
3434
3434
 
3435
3435
  /**
3436
- * @license @tabler/icons-react v3.34.1 - MIT
3436
+ * @license @tabler/icons-react v3.35.0 - MIT
3437
3437
  *
3438
3438
  * This source code is licensed under the MIT license.
3439
3439
  * See the LICENSE file in the root directory of this source tree.
@@ -3443,7 +3443,7 @@ const __iconNode$2 = [["path", { "d": "M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0
3443
3443
  const IconHeart = createReactComponent("outline", "heart", "Heart", __iconNode$2);
3444
3444
 
3445
3445
  /**
3446
- * @license @tabler/icons-react v3.34.1 - MIT
3446
+ * @license @tabler/icons-react v3.35.0 - MIT
3447
3447
  *
3448
3448
  * This source code is licensed under the MIT license.
3449
3449
  * See the LICENSE file in the root directory of this source tree.
@@ -3453,7 +3453,7 @@ const __iconNode$1 = [["path", { "d": "M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4
3453
3453
  const IconStar = createReactComponent("outline", "star", "Star", __iconNode$1);
3454
3454
 
3455
3455
  /**
3456
- * @license @tabler/icons-react v3.34.1 - MIT
3456
+ * @license @tabler/icons-react v3.35.0 - MIT
3457
3457
  *
3458
3458
  * This source code is licensed under the MIT license.
3459
3459
  * See the LICENSE file in the root directory of this source tree.
@@ -6749,7 +6749,7 @@ var ably = {exports: {}};
6749
6749
  });
6750
6750
  return _withTimeoutAsync2.apply(this, arguments);
6751
6751
  }
6752
- var version = "2.12.0";
6752
+ var version = "2.13.0";
6753
6753
 
6754
6754
  // src/common/lib/util/defaults.ts
6755
6755
  var agent = "ably-js/" + version;
@@ -6780,7 +6780,7 @@ var ably = {exports: {}};
6780
6780
  httpMaxRetryCount: 3,
6781
6781
  maxMessageSize: 65536,
6782
6782
  version,
6783
- protocolVersion: 3,
6783
+ protocolVersion: 4,
6784
6784
  agent,
6785
6785
  getPort,
6786
6786
  getHttpScheme,
@@ -8353,6 +8353,10 @@ var ably = {exports: {}};
8353
8353
  }
8354
8354
  } else if (attr && (attr === "extras" || attr === "operation")) {
8355
8355
  result += "; " + attr + "=" + JSON.stringify(m[attr]);
8356
+ } else if (attr === "version") {
8357
+ result += "; version=" + JSON.stringify(m[attr]);
8358
+ } else if (attr === "annotations") {
8359
+ result += "; annotations=" + JSON.stringify(m[attr]);
8356
8360
  } else if (m[attr] !== void 0) {
8357
8361
  result += "; " + attr + "=" + m[attr];
8358
8362
  }
@@ -9477,15 +9481,22 @@ var ably = {exports: {}};
9477
9481
  return total;
9478
9482
  }
9479
9483
  var Message = class _Message extends BaseMessage {
9480
- // TODO improve typings after summary structure is finalised
9481
9484
  expandFields() {
9482
- if (this.action === "message.create") {
9483
- if (this.version && !this.serial) {
9484
- this.serial = this.version;
9485
- }
9486
- if (this.timestamp && !this.createdAt) {
9487
- this.createdAt = this.timestamp;
9488
- }
9485
+ if (!this.version) {
9486
+ this.version = {};
9487
+ }
9488
+ if (!this.version.serial && this.serial) {
9489
+ this.version.serial = this.serial;
9490
+ }
9491
+ if (!this.version.timestamp && this.timestamp) {
9492
+ this.version.timestamp = this.timestamp;
9493
+ }
9494
+ if (!this.annotations) {
9495
+ this.annotations = {
9496
+ summary: {}
9497
+ };
9498
+ } else if (!this.annotations.summary) {
9499
+ this.annotations.summary = {};
9489
9500
  }
9490
9501
  }
9491
9502
  encode(options) {