@ably/ui 7.8.0-dev.4eda5fb → 7.8.0-dev.502e5bf

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ably/ui",
3
- "version": "7.8.0-dev.4eda5fb",
3
+ "version": "7.8.0-dev.502e5bf",
4
4
  "description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,5 @@
1
+ require 'securerandom'
2
+
1
3
  module AblyUi
2
4
  module Core
3
5
  class Logo < ViewComponent::Base
@@ -8,8 +10,8 @@ module AblyUi
8
10
  def initialize(data_id: '', href:)
9
11
  @data_id = data_id
10
12
  @href = href
11
- @gradient_id_0 = "paint_linear_#{Date.now}"
12
- @gradient_id_1 = "paint_linear_#{Date.now}"
13
+ @gradient_id_0 = "paint_linear_#{SecureRandom.uuid}"
14
+ @gradient_id_1 = "paint_linear_#{SecureRandom.uuid}"
13
15
  end
14
16
 
15
17
  def logo_href