@dwp/govuk-casa 8.0.0-beta1 → 8.0.0-beta2

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
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [7.0.8](https://github.com/dwp/govuk-casa/compare/7.0.7...7.0.8) (2021-12-10)
6
+
5
7
  ### [7.0.7](https://github.com/dwp/govuk-casa/compare/7.0.6...7.0.7) (2021-10-19)
6
8
 
7
9
 
@@ -1,5 +1,8 @@
1
1
  // Basic wrapper to act as the package entrypoint for ESM applications
2
2
  // ref: https://redfin.engineering/node-modules-at-war-why-commonjs-and-es-modules-cant-get-along-9617135eeca1
3
+ // The `../casa.js` reference here is correct. This file will be copied into
4
+ // `dist/` in the right location at build time, which will resolve that file
5
+ // path correctly.
3
6
  import casa from '../casa.js';
4
7
 
5
8
  export const { configure } = casa;
@@ -7,5 +10,12 @@ export const { validators } = casa;
7
10
  export const { field } = casa;
8
11
  export const { Plan } = casa;
9
12
  export const { JourneyContext } = casa;
13
+ export const { ValidatorFactory } = casa;
10
14
  export const { ValidationError } = casa;
15
+
16
+ // Utilities
11
17
  export const { waypointUrl } = casa;
18
+ export const { endSession } = casa;
19
+
20
+ // Nunjucks filters
21
+ export const { nunjucksFilters } = casa;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dwp/govuk-casa",
3
- "version": "8.0.0-beta1",
3
+ "version": "8.0.0-beta2",
4
4
  "description": "A framework for building GOVUK Collect-And-Submit-Applications",
5
5
  "main": "dist/casa.js",
6
6
  "module": "dist/mjs/casa.js",