@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.js CHANGED
@@ -3394,7 +3394,7 @@ function darkenColor(color, amount) {
3394
3394
  }
3395
3395
 
3396
3396
  /**
3397
- * @license @tabler/icons-react v3.34.1 - MIT
3397
+ * @license @tabler/icons-react v3.35.0 - MIT
3398
3398
  *
3399
3399
  * This source code is licensed under the MIT license.
3400
3400
  * See the LICENSE file in the root directory of this source tree.
@@ -3423,7 +3423,7 @@ var defaultAttributes = {
3423
3423
  };
3424
3424
 
3425
3425
  /**
3426
- * @license @tabler/icons-react v3.34.1 - MIT
3426
+ * @license @tabler/icons-react v3.35.0 - MIT
3427
3427
  *
3428
3428
  * This source code is licensed under the MIT license.
3429
3429
  * See the LICENSE file in the root directory of this source tree.
@@ -3459,7 +3459,7 @@ const createReactComponent = (type, iconName, iconNamePascal, iconNode) => {
3459
3459
  };
3460
3460
 
3461
3461
  /**
3462
- * @license @tabler/icons-react v3.34.1 - MIT
3462
+ * @license @tabler/icons-react v3.35.0 - MIT
3463
3463
  *
3464
3464
  * This source code is licensed under the MIT license.
3465
3465
  * See the LICENSE file in the root directory of this source tree.
@@ -3469,7 +3469,7 @@ const __iconNode$2 = [["path", { "d": "M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0
3469
3469
  const IconHeart = createReactComponent("outline", "heart", "Heart", __iconNode$2);
3470
3470
 
3471
3471
  /**
3472
- * @license @tabler/icons-react v3.34.1 - MIT
3472
+ * @license @tabler/icons-react v3.35.0 - MIT
3473
3473
  *
3474
3474
  * This source code is licensed under the MIT license.
3475
3475
  * See the LICENSE file in the root directory of this source tree.
@@ -3479,7 +3479,7 @@ const __iconNode$1 = [["path", { "d": "M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4
3479
3479
  const IconStar = createReactComponent("outline", "star", "Star", __iconNode$1);
3480
3480
 
3481
3481
  /**
3482
- * @license @tabler/icons-react v3.34.1 - MIT
3482
+ * @license @tabler/icons-react v3.35.0 - MIT
3483
3483
  *
3484
3484
  * This source code is licensed under the MIT license.
3485
3485
  * See the LICENSE file in the root directory of this source tree.
@@ -6775,7 +6775,7 @@ var ably = {exports: {}};
6775
6775
  });
6776
6776
  return _withTimeoutAsync2.apply(this, arguments);
6777
6777
  }
6778
- var version = "2.12.0";
6778
+ var version = "2.13.0";
6779
6779
 
6780
6780
  // src/common/lib/util/defaults.ts
6781
6781
  var agent = "ably-js/" + version;
@@ -6806,7 +6806,7 @@ var ably = {exports: {}};
6806
6806
  httpMaxRetryCount: 3,
6807
6807
  maxMessageSize: 65536,
6808
6808
  version,
6809
- protocolVersion: 3,
6809
+ protocolVersion: 4,
6810
6810
  agent,
6811
6811
  getPort,
6812
6812
  getHttpScheme,
@@ -8379,6 +8379,10 @@ var ably = {exports: {}};
8379
8379
  }
8380
8380
  } else if (attr && (attr === "extras" || attr === "operation")) {
8381
8381
  result += "; " + attr + "=" + JSON.stringify(m[attr]);
8382
+ } else if (attr === "version") {
8383
+ result += "; version=" + JSON.stringify(m[attr]);
8384
+ } else if (attr === "annotations") {
8385
+ result += "; annotations=" + JSON.stringify(m[attr]);
8382
8386
  } else if (m[attr] !== void 0) {
8383
8387
  result += "; " + attr + "=" + m[attr];
8384
8388
  }
@@ -9503,15 +9507,22 @@ var ably = {exports: {}};
9503
9507
  return total;
9504
9508
  }
9505
9509
  var Message = class _Message extends BaseMessage {
9506
- // TODO improve typings after summary structure is finalised
9507
9510
  expandFields() {
9508
- if (this.action === "message.create") {
9509
- if (this.version && !this.serial) {
9510
- this.serial = this.version;
9511
- }
9512
- if (this.timestamp && !this.createdAt) {
9513
- this.createdAt = this.timestamp;
9514
- }
9511
+ if (!this.version) {
9512
+ this.version = {};
9513
+ }
9514
+ if (!this.version.serial && this.serial) {
9515
+ this.version.serial = this.serial;
9516
+ }
9517
+ if (!this.version.timestamp && this.timestamp) {
9518
+ this.version.timestamp = this.timestamp;
9519
+ }
9520
+ if (!this.annotations) {
9521
+ this.annotations = {
9522
+ summary: {}
9523
+ };
9524
+ } else if (!this.annotations.summary) {
9525
+ this.annotations.summary = {};
9515
9526
  }
9516
9527
  }
9517
9528
  encode(options) {