@learncard/helpers 1.2.1 → 1.2.2

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.
@@ -14314,7 +14314,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14314
14314
  contractUri: external_exports.string().optional(),
14315
14315
  templateUri: external_exports.string().optional(),
14316
14316
  template: SendBoostTemplateValidator.optional(),
14317
- signedCredential: VCValidator.optional()
14317
+ signedCredential: VCValidator.optional(),
14318
+ templateData: external_exports.record(external_exports.string(), external_exports.unknown()).optional()
14318
14319
  }).refine((data) => data.templateUri || data.template, {
14319
14320
  message: "Either templateUri or template creation data must be provided.",
14320
14321
  path: ["templateUri"]