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.
- package/CHANGES.md +3 -0
- package/README.md +6 -1
- package/package.json +10 -10
package/CHANGES.md
CHANGED
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
|
+
"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.
|
|
14
|
-
"babel-eslint": "^
|
|
15
|
-
"babel-plugin-rewire": "^1.
|
|
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": "^
|
|
20
|
-
"browserify": "^
|
|
21
|
-
"eslint": "^
|
|
22
|
-
"jasmine-core": "^
|
|
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": "^
|
|
26
|
-
"watchify": "^
|
|
25
|
+
"rimraf": "^3.0.2",
|
|
26
|
+
"watchify": "^4.0.0"
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|