Skip to content

Commit 4fff886

Browse files
committed
update autogenerateSession to autoGenerateSession
1 parent 0ffc95f commit 4fff886

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@ Hellotext.initialize('HELLOTEXT_BUSINESS_ID', configurationOptions)
118118

119119
| Property | Description | Type | Default |
120120
| ------------------- | ---------------------------------------------------------------------------------------------------------------- | ------- | ------- |
121-
| autogenerateSession | Whether the library should automatically generate a session when no session is found in the query or the cookies | Boolean | true |
121+
| autoGenerateSession | Whether the library should automatically generate a session when no session is found in the query or the cookies | Boolean | true |
122122
| autoMountForms | Whether the library should automatically mount forms collected or not | Boolean | true |

__tests__/models/form_collection_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ beforeEach(() => {
99
Business.prototype.fetchPublicData = jest.fn().mockResolvedValue({ whitelist: 'disabled' })
1010

1111
Hellotext.initialize('M01az53K', {
12-
autogenerateSession: false,
12+
autoGenerateSession: false,
1313
autoMountForms: false
1414
})
1515
})

lib/hellotext.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var _query = /*#__PURE__*/_classPrivateFieldLooseKey("query");
2727
var _mintAnonymousSession = /*#__PURE__*/_classPrivateFieldLooseKey("mintAnonymousSession");
2828
/**
2929
* @typedef {Object} Config
30-
* @property {Boolean} autogenerateSession
30+
* @property {Boolean} autoGenerateSession
3131
* @property {Boolean} autoMountForms
3232
*/
3333
var Hellotext = /*#__PURE__*/function () {

src/hellotext.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { NotInitializedError } from './errors'
77

88
/**
99
* @typedef {Object} Config
10-
* @property {Boolean} autogenerateSession
10+
* @property {Boolean} autoGenerateSession
1111
* @property {Boolean} autoMountForms
1212
*/
1313

0 commit comments

Comments
 (0)