hosted-fields-sdk 1.2.3 → 1.2.4

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.
Files changed (3) hide show
  1. package/CHANGES.md +3 -0
  2. package/README.md +6 -1
  3. package/package.json +10 -10
package/CHANGES.md CHANGED
@@ -1,3 +1,6 @@
1
+ #### 1.2.4
2
+ - Updated dependencies and patched vulnerabilities
3
+
1
4
  #### 1.2.3
2
5
  - Security update: PostMessage origin checks
3
6
  - Support auto-focus on next field when value is valid
package/README.md CHANGED
@@ -3,6 +3,11 @@
3
3
  Hosted fields SDK is a toolkit that allows you generate a form/set of fields. It is published as a node-module to the public [npm registry](https://www.npmjs.com/package/hosted-fields-sdk).
4
4
 
5
5
 
6
+ ## Demo
7
+ [[Live demo](https://codesandbox.io/s/dry-fire-q9txy?file=/src/App.js:5219-5240)]
8
+
9
+ ## Setup
10
+
6
11
  ```
7
12
  npm i hosted-fields-sdk --save
8
13
 
@@ -362,7 +367,7 @@ HostedFields.setup({
362
367
  service: 'some service',
363
368
  styles: '.hosted-input-container .input-container input { color: red; }',
364
369
  callback: () => formCallbackHandler,
365
- onLoadCallback: () => formHasLoadedCallbackhandler
370
+ onLoadCallback: () => formHasLoadedCallbackhandler,
366
371
  el: '#hosted-fields-wrapper'
367
372
  })
368
373
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hosted-fields-sdk",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Hosted fields sdk",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -10,20 +10,20 @@
10
10
  "uglify": "recursive-uglifyjs dist"
11
11
  },
12
12
  "devDependencies": {
13
- "babel-cli": "^6.26.0",
14
- "babel-eslint": "^8.2.6",
15
- "babel-plugin-rewire": "^1.1.0",
13
+ "babel-cli": "^6.18.0",
14
+ "babel-eslint": "^10.1.0",
15
+ "babel-plugin-rewire": "^1.2.0",
16
16
  "babel-plugin-transform-runtime": "^6.23.0",
17
17
  "babel-preset-es2015": "latest",
18
18
  "babel-preset-stage-2": "^6.24.1",
19
- "babelify": "^7.3.0",
20
- "browserify": "^16.2.3",
21
- "eslint": "^5.4.0",
22
- "jasmine-core": "^2.5.2",
19
+ "babelify": "^10.0.0",
20
+ "browserify": "^17.0.0",
21
+ "eslint": "^8.11.0",
22
+ "jasmine-core": "^4.0.1",
23
23
  "ncp": "^2.0.0",
24
24
  "recursive-uglifyjs": "0.2.0",
25
- "rimraf": "^2.5.4",
26
- "watchify": "^3.7.0"
25
+ "rimraf": "^3.0.2",
26
+ "watchify": "^4.0.0"
27
27
  },
28
28
  "repository": {
29
29
  "type": "git",