@washingtonpost/subs-de-inputs 0.2.0-canary.0 → 0.2.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,21 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file. See
4
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ **[0.2.0 - 2024-05-01]**:
7
+ * Adds `ingest()` function
8
+ * ESM build only
9
+ * Babel config to target recent browsers only
10
+
11
+ **[0.1.1 - 2024-04-30]**:
12
+ * Fix build by removing unused file
13
+
14
+ **[0.1.0 - 2024-04-25]**:
15
+ * Add initial `<DESelect />` component
16
+
17
+ **[0.0.2 - 2024-04-24]**:
18
+ * Fix build error
19
+
20
+ **[0.0.1 - 2024-04-09]**:
21
+ * Initial setup
@@ -37,4 +37,6 @@ export declare const IngestResponseState: {
37
37
  readonly INVALID_META_DEFINITION: "106";
38
38
  readonly UNAUTHENTICATED: "107";
39
39
  readonly MISMATCHED_IDENTIFIER: "108";
40
+ readonly DISABLED_ATTRIBUTE_DEFINITION: "109";
41
+ readonly DO_NOT_COLLECT: "110";
40
42
  };
@@ -8,8 +8,9 @@ export declare const ingest: IngestType;
8
8
  declare type IngestType = ({ submitData: { fieldName, value }, source, }: {
9
9
  submitData: {
10
10
  fieldName: string;
11
- value: string;
11
+ value: string[];
12
12
  };
13
+ type: (typeof IngestType)[keyof typeof IngestType];
13
14
  source: string;
14
15
  }) => Promise<{
15
16
  status: ResponseStatus;