@duffel/components 2.1.5 → 2.1.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duffel/components",
3
- "version": "2.1.5",
3
+ "version": "2.1.8",
4
4
  "description": "Set of pre-built UI components for integrating with Duffel API",
5
5
  "main": "dist/duffel-components.js",
6
6
  "module": "dist/duffel-components.esm.js",
@@ -9,6 +9,7 @@
9
9
  "unpkg:min": "dist/duffel-components.umd.min.js",
10
10
  "types": "dist/duffel-components.d.ts",
11
11
  "scripts": {
12
+ "prebuild": "node -p \"'export const DUFFEL_COMPONENTS_VERSION = ' + JSON.stringify(require('./package.json').version) + ''\" > ./src/version.ts && yarn prettier",
12
13
  "build": "webpack --mode production --config webpack.config.babel.js && yarn create-dts",
13
14
  "lint": "eslint . --ext .ts,.tsx",
14
15
  "test": "jest",
@@ -63,12 +64,16 @@
63
64
  "@stripe/react-stripe-js": "^1.6.0",
64
65
  "@stripe/stripe-js": "^1.19.1",
65
66
  "@types/smoothscroll-polyfill": "^0.3.1",
67
+ "assert": "^2.0.0",
68
+ "base64-js": "^1.5.1",
66
69
  "classnames": "^2.3.1",
70
+ "ieee754": "^1.2.1",
67
71
  "prop-types": "^15.7.2",
68
72
  "react": "^17.0.2",
69
73
  "react-dom": "^17.0.2",
70
74
  "react-popper": "^2.2.5",
71
- "smoothscroll-polyfill": "^0.4.4"
75
+ "smoothscroll-polyfill": "^0.4.4",
76
+ "util": "^0.12.4"
72
77
  },
73
78
  "devDependencies": {
74
79
  "@babel/core": "^7.16.0",