File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ JS Client wrapper for Typeform API
1010
1111- [ Installation] ( #installation )
1212- [ Usage] ( #usage )
13- - [ Initialise ] ( #initialise )
13+ - [ Initialize ] ( #initialize )
1414- [ Reference] ( #reference )
1515 - [ Create Client] ( createclienttoken )
1616 - [ Forms] ( #forms )
@@ -34,7 +34,7 @@ npm install @typeform/api-client --save
3434
3535## Usage
3636
37- ### Initialise
37+ ### Initialize
3838
39391 . Import client library
4040``` javascript
@@ -271,9 +271,9 @@ The theme property applies a `theme` to the form. If you don't specify a value f
271271 typeformClient
272272 .images
273273 .add ({
274- " image" : " bGRqZmxzZGpmbHNoZmtoc2RrZmpoc2tqZA==" ,
275- " media_type " : " image/gif" ,
276- " file_name " : " newimage.gif"
274+ image: " bGRqZmxzZGpmbHNoZmtoc2RrZmpoc2tqZA==" ,
275+ mediaType : " image/gif" ,
276+ fileName : " newimage.gif"
277277 })
278278 .then (response => {
279279 // ...
@@ -295,16 +295,14 @@ The theme property applies a `theme` to the form. If you don't specify a value f
295295
296296### Testing
297297
298- The project has implemeted unit and integration tests.
298+ The project has implemented unit tests.
299299
300300``` bash
301301yarn install
302302
303303# Runs unit tests
304304yarn test:unit
305305
306- # Runs integration tests
307- TYPEFORM_TOKEN=' <your personal token>' yarn test:integration
308306```
309307
310308### Suggestions
You can’t perform that action at this time.
0 commit comments