safetykit 0.64.0 → 0.65.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6008e0325c4a55331b32202f0042aa80776a3fa3f03590ccc23a79b4f7c223c6
4
- data.tar.gz: e09c4d9df7fb7efc00717e0bacac8c893267f1cb1fad96e09075475126dd07b3
3
+ metadata.gz: 7a3a1b894c949b710e2b5e61a2915834fa2b9873bb5cb535601adf799249c47d
4
+ data.tar.gz: 9b7272b34376f16f382ef73f49a805bdd436127e22d185d417a97617dc62f341
5
5
  SHA512:
6
- metadata.gz: 51a30dc4f05ce0d79dcb586524f05805ed24c2f17a70537b48927126b4efa5f91baad779a9e4f141a0dd4b4047b2f215fcd3b6ec37d45ff165e6bb4fd166fd99
7
- data.tar.gz: fb0a690a1c12e3dae1fa06a5a2325d1684b918180f25848113c85a3dda558f1da0797875c1d82ebb6a45fa583d761af35d8f0f6182ec8083fd9f6e69eece4344
6
+ metadata.gz: 5a5b3f912481787155ada90dc1d0c9cae11ac2067f2966b1464cdd7e0354f7b4d40480e6f2497a0acc7615580d741001e8cef3ed28c66af24280f0ba326580ea
7
+ data.tar.gz: a02a32981ebb483000fc384190ba833a530482c68c0baa50986b6eed5de658c17af0b4a9e3525335ca3cbdc9a011f06ba62664bf2756dc9ddd5448452210be1b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.65.0 (2026-08-21)
4
+
5
+ Full Changelog: [v0.64.0...v0.65.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.64.0...v0.65.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([ed87348](https://github.com/GetSafetyKit/safetykit-ruby/commit/ed87348ea0ce90f0bfe8b29dbfbac8e5a2c7da7c))
10
+
3
11
  ## 0.64.0 (2026-08-20)
4
12
 
5
13
  Full Changelog: [v0.63.0...v0.64.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.63.0...v0.64.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "safetykit", "~> 0.64.0"
20
+ gem "safetykit", "~> 0.65.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -33,6 +33,9 @@ module SafetyKit
33
33
  required :timestamp, Integer
34
34
 
35
35
  # @!attribute frame_id
36
+ # Your identifier for this frame. If a violation is detected, it is echoed back in
37
+ # the live_video.violation_detected webhook's frame_id and per-policy frame_ids
38
+ # fields.
36
39
  #
37
40
  # @return [String, nil]
38
41
  optional :frame_id, String
@@ -57,7 +60,7 @@ module SafetyKit
57
60
  #
58
61
  # @param timestamp [Integer]
59
62
  #
60
- # @param frame_id [String]
63
+ # @param frame_id [String] Your identifier for this frame. If a violation is detected, it is echoed back in
61
64
  #
62
65
  # @param metadata [Hash{Symbol=>Object, nil}] Arbitrary key-value metadata to associate with this frame, at most 8192 bytes wh
63
66
  #
@@ -29,11 +29,17 @@ module SafetyKit
29
29
  required :timestamp, Integer
30
30
 
31
31
  # @!attribute transcript_id
32
+ # Your identifier for this transcript segment. If the segment is reviewed
33
+ # alongside a detected violation, it is echoed back in the
34
+ # live_video.violation_detected webhook's per-policy transcript_ids field.
32
35
  #
33
36
  # @return [String, nil]
34
37
  optional :transcript_id, String
35
38
 
36
39
  # @!method initialize(namespace:, stream_id:, text:, timestamp:, transcript_id: nil, request_options: {})
40
+ # Some parameter documentations has been truncated, see
41
+ # {SafetyKit::Models::StreamAddTranscriptParams} for more details.
42
+ #
37
43
  # @param namespace [String] The namespace to ingest stream data into
38
44
  #
39
45
  # @param stream_id [String]
@@ -42,7 +48,7 @@ module SafetyKit
42
48
  #
43
49
  # @param timestamp [Integer]
44
50
  #
45
- # @param transcript_id [String]
51
+ # @param transcript_id [String] Your identifier for this transcript segment. If the segment is reviewed alongsid
46
52
  #
47
53
  # @param request_options [SafetyKit::RequestOptions, Hash{Symbol=>Object}]
48
54
  end
@@ -66,7 +66,7 @@ module SafetyKit
66
66
  #
67
67
  # @param timestamp [Integer]
68
68
  #
69
- # @param frame_id [String]
69
+ # @param frame_id [String] Your identifier for this frame. If a violation is detected, it is echoed back in
70
70
  #
71
71
  # @param metadata [Hash{Symbol=>Object, nil}] Arbitrary key-value metadata to associate with this frame, at most 8192 bytes wh
72
72
  #
@@ -86,6 +86,9 @@ module SafetyKit
86
86
  )
87
87
  end
88
88
 
89
+ # Some parameter documentations has been truncated, see
90
+ # {SafetyKit::Models::StreamAddTranscriptParams} for more details.
91
+ #
89
92
  # Ingest a single transcript segment for a livestream using a relative timestamp
90
93
  # in milliseconds. The stream does not need to be created beforehand. Transcript
91
94
  # timestamps are relative milliseconds from stream start and should be
@@ -110,7 +113,7 @@ module SafetyKit
110
113
  #
111
114
  # @param timestamp [Integer]
112
115
  #
113
- # @param transcript_id [String]
116
+ # @param transcript_id [String] Your identifier for this transcript segment. If the segment is reviewed alongsid
114
117
  #
115
118
  # @param request_options [SafetyKit::RequestOptions, Hash{Symbol=>Object}, nil]
116
119
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SafetyKit
4
- VERSION = "0.64.0"
4
+ VERSION = "0.65.0"
5
5
  end
@@ -28,6 +28,9 @@ module SafetyKit
28
28
  sig { returns(Integer) }
29
29
  attr_accessor :timestamp
30
30
 
31
+ # Your identifier for this frame. If a violation is detected, it is echoed back in
32
+ # the live_video.violation_detected webhook's frame_id and per-policy frame_ids
33
+ # fields.
31
34
  sig { returns(T.nilable(String)) }
32
35
  attr_reader :frame_id
33
36
 
@@ -64,6 +67,9 @@ module SafetyKit
64
67
  image_data_uri:,
65
68
  stream_id:,
66
69
  timestamp:,
70
+ # Your identifier for this frame. If a violation is detected, it is echoed back in
71
+ # the live_video.violation_detected webhook's frame_id and per-policy frame_ids
72
+ # fields.
67
73
  frame_id: nil,
68
74
  # Arbitrary key-value metadata to associate with this frame, at most 8192 bytes
69
75
  # when serialized. If a violation is detected on this frame, the metadata is
@@ -27,6 +27,9 @@ module SafetyKit
27
27
  sig { returns(Integer) }
28
28
  attr_accessor :timestamp
29
29
 
30
+ # Your identifier for this transcript segment. If the segment is reviewed
31
+ # alongside a detected violation, it is echoed back in the
32
+ # live_video.violation_detected webhook's per-policy transcript_ids field.
30
33
  sig { returns(T.nilable(String)) }
31
34
  attr_reader :transcript_id
32
35
 
@@ -49,6 +52,9 @@ module SafetyKit
49
52
  stream_id:,
50
53
  text:,
51
54
  timestamp:,
55
+ # Your identifier for this transcript segment. If the segment is reviewed
56
+ # alongside a detected violation, it is echoed back in the
57
+ # live_video.violation_detected webhook's per-policy transcript_ids field.
52
58
  transcript_id: nil,
53
59
  request_options: {}
54
60
  )
@@ -65,6 +65,9 @@ module SafetyKit
65
65
  image_data_uri:,
66
66
  stream_id:,
67
67
  timestamp:,
68
+ # Your identifier for this frame. If a violation is detected, it is echoed back in
69
+ # the live_video.violation_detected webhook's frame_id and per-policy frame_ids
70
+ # fields.
68
71
  frame_id: nil,
69
72
  # Arbitrary key-value metadata to associate with this frame, at most 8192 bytes
70
73
  # when serialized. If a violation is detected on this frame, the metadata is
@@ -103,6 +106,9 @@ module SafetyKit
103
106
  stream_id:,
104
107
  text:,
105
108
  timestamp:,
109
+ # Your identifier for this transcript segment. If the segment is reviewed
110
+ # alongside a detected violation, it is echoed back in the
111
+ # live_video.violation_detected webhook's per-policy transcript_ids field.
106
112
  transcript_id: nil,
107
113
  request_options: {}
108
114
  )
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safetykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.64.0
4
+ version: 0.65.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Safetykit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-20 00:00:00.000000000 Z
11
+ date: 2026-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi