@gcforms/types 1.0.4 → 1.0.5

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/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.5] - 2025-04-09
9
+
10
+ ### Added
11
+
12
+ - New type in formStatus `CAPTCHA_VERIFICATION_ERROR`
13
+
8
14
  ## [1.0.4] - 2025-04-07
9
15
 
10
16
  ### Added
package/dist/index.d.mts CHANGED
@@ -170,6 +170,7 @@ declare const FormStatus: {
170
170
  readonly FILE_ERROR: "FileError";
171
171
  readonly FORM_CLOSED_ERROR: "FormClosedError";
172
172
  readonly SERVER_ID_ERROR: "ServerIDError";
173
+ readonly CAPTCHA_VERIFICATION_ERROR: "CaptchaVerificationError";
173
174
  };
174
175
  type FormStatus = (typeof FormStatus)[keyof typeof FormStatus];
175
176
 
package/dist/index.d.ts CHANGED
@@ -170,6 +170,7 @@ declare const FormStatus: {
170
170
  readonly FILE_ERROR: "FileError";
171
171
  readonly FORM_CLOSED_ERROR: "FormClosedError";
172
172
  readonly SERVER_ID_ERROR: "ServerIDError";
173
+ readonly CAPTCHA_VERIFICATION_ERROR: "CaptchaVerificationError";
173
174
  };
174
175
  type FormStatus = (typeof FormStatus)[keyof typeof FormStatus];
175
176
 
package/dist/index.js CHANGED
@@ -56,7 +56,8 @@ var FormStatus = {
56
56
  ERROR: "Error",
57
57
  FILE_ERROR: "FileError",
58
58
  FORM_CLOSED_ERROR: "FormClosedError",
59
- SERVER_ID_ERROR: "ServerIDError"
59
+ SERVER_ID_ERROR: "ServerIDError",
60
+ CAPTCHA_VERIFICATION_ERROR: "CaptchaVerificationError"
60
61
  };
61
62
  // Annotate the CommonJS export names for ESM import in node:
62
63
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -28,7 +28,8 @@ var FormStatus = {
28
28
  ERROR: "Error",
29
29
  FILE_ERROR: "FileError",
30
30
  FORM_CLOSED_ERROR: "FormClosedError",
31
- SERVER_ID_ERROR: "ServerIDError"
31
+ SERVER_ID_ERROR: "ServerIDError",
32
+ CAPTCHA_VERIFICATION_ERROR: "CaptchaVerificationError"
32
33
  };
33
34
  export {
34
35
  FormElementTypes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcforms/types",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "author": "Canadian Digital Service",
5
5
  "license": "MIT",
6
6
  "publishConfig": {