- Build guard: also catches the spaced and hyphenated spellings of each company name, for example
Payment IQorpayment-iq
- Build guard: the published package is scanned for company names before
npm publish, and the guard has its own regression cases. No change to shipped code;distandindex.d.tsare byte-identical to 1.3.3
- Origin validation now accepts messages only from the origin of the configured
hostedfieldsurl. The two built-in fallback origins are removed, sohostedfieldsurlmust point at the host the iframes actually load from - Remove repository, author and brand keywords from package metadata, and publish only
distandindex.d.ts - Update readme
- Add
HostedFields.updateStyles(styles)to apply new custom styles at runtime without reloading the iframes (requires hosted fields 1.1.9+)
- Remove hostedpages domain support
- Update readme
- Add ClickToPay integration support
- Provide high-level types with index.d.ts (Issue 21)
- Make onLoadCallback optional (Issue 22)
- Add onCardBrandChangeCallback
- Add full ESM support under /esm
- Updated dependencies and patched vulnerabilities
- Migration to card-fields new domain.
- Updated dependencies and patched vulnerabilities
- Security update: PostMessage origin checks
- Support auto-focus on next field when value is valid
- Upgrade in package.json and security vulnerabilities in dependencies
- Bug fix: Add an try catch around certain operations that are trying to 'appendChild' or get 'contentWindow'. It failed in some occasions and caused the onLoadCallback never to be triggered.
- Allow all fields to be returned in a single iframe - renderMode: 'single' || 'multiple' (defaults to multiple)
- Reported errors. All fields that reported an error are now returned in the array of errors (Thank you @vannhu-nguyen for the fix)
- The Field constructor was missing support for noAttributeValueFormatting and autocomplete Now supports both, noAttributeValueFormatting defaults to false, autocomplete to empty string.
- Removed jquery as dependency (not used enough to warrant its inclusion)
- Added fields onload callback
- Updated dependencies
- Bugfix to build step - caused package to be a lot bigger than it had to be
- Upgraded depedencies that reported security alerts (js-yaml, jquery)
- Allow focus to be set to iframes (need to allow tabbing into inputs for example)
- Upgraded browserify due to a security alert of a sub-dependecy
- Tabindex -1 on the iframe-elements so that focus is set to input field right away instead of the iframe-element.
- Reset shouldn't be an action, it should only be a method that the parent-application can call
- Added reset() as a method to HostedFields. Resets the targets to an empty array. Necessary to run before running a new setupContent to avoid duplicates
- Updated readme
- Reverted back so callback of formData is callback()(formData)
- Forgot the build the previous version (no update to dist)
- Bugfix: form callback didn't send formData
- Updated readme
- Using 2.6.0 of uglify-js since earlier versions had a security-gap
- Docs showing test-environment for hosted-fields
- initial commit, basic features for generating fields