From fd278cb325f7c70e2c4a95760ba1091afabbf8e7 Mon Sep 17 00:00:00 2001 From: Nilesh Parshotam Rijhwani <54324654+nr59684@users.noreply.github.com> Date: Tue, 6 May 2025 12:15:09 +0200 Subject: [PATCH] Update templates.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix TrackingIdentifier super call Change super(options) → super() to prevent the raw options object being injected into the sequence. Closes #434 --- src/sr/templates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sr/templates.js b/src/sr/templates.js index 6c246f9f..197b2fb1 100644 --- a/src/sr/templates.js +++ b/src/sr/templates.js @@ -1553,7 +1553,7 @@ class AlgorithmIdentification extends Template { class TrackingIdentifier extends Template { constructor(options) { - super(options); + super(); if (options.uid === undefined) { throw new Error("Option 'uid' is required for TrackingIdentifier."); }