Skip to content

Commit

Permalink
Merge pull request #84 from rspective/pg/updated-readme
Browse files Browse the repository at this point in the history
Updated readme
  • Loading branch information
tpindel authored Jun 18, 2021
2 parents d5468db + 6610a60 commit 3f9ac16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ The iframe renders the redeem widget
<div class="voucherify-voucher-redeem"
data-client-app-id="YOUR-CLIENT-APPLICATION-ID-FROM-SETTINGS"
data-client-token="YOUR-CLIENT-TOKEN-FROM-SETTINGS"
data-client-app-url="API-ENDPOINT; optional; defaults to https://app.voucherify.io"
data-client-app-url="APP-REGION-URL; optional, defaults to https://app.voucherify.io; example: https://as1.app.voucherify.io"

data-code-field="true"
data-code-field-label="Label"
Expand Down Expand Up @@ -623,7 +623,7 @@ You can also embed the "get voucher" widget as an iframe
<div class="voucherify-get-voucher"
data-client-app-id="YOUR-CLIENT-APPLICATION-ID-FROM-SETTINGS"
data-client-token="YOUR-CLIENT-TOKEN-FROM-SETTINGS"
data-client-app-url="API-ENDPOINT; optional; defaults to https://app.voucherify.io"
data-client-app-url="APP-REGION-URL; optional, defaults to https://app.voucherify.io; example: https://as1.app.voucherify.io"

data-campaign="Campaign name"

Expand Down Expand Up @@ -678,7 +678,7 @@ The iframe renders a widget which creates a customer profile in Voucherify
<div class="voucherify-subscribe"
data-client-app-id="YOUR-CLIENT-APPLICATION-ID-FROM-SETTINGS"
data-client-token="YOUR-CLIENT-TOKEN-FROM-SETTINGS"
data-client-app-url="API-ENDPOINT; optional; defaults to https://app.voucherify.io"
data-client-app-url="APP-REGION-URL; optional, defaults to https://app.voucherify.io; example: https://as1.app.voucherify.io"

data-name-field="true"
data-name-field-required="false"
Expand Down Expand Up @@ -739,7 +739,8 @@ Description and legal fields do support markdown syntax. It means that you can u
### Changelog
- **2021-06-20** - `1.33.0` - Add possibility of configuring API endpoint for iframe widgets
- **2021-06-18** - `1.33.1` - Updated readme
- **2021-06-17** - `1.33.0` - Add possibility of configuring region for iframe widgets
- **2020-09-16** - `1.32.0` - Add possibility to send order metadata with validation request
- **2019-12-23** - `1.31.0` - Add possibility to send customer metadata with validation request
- **2019-02-05** - `1.30.0` - Add method for setting base app url
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "voucherify.js",
"version": "1.33.0",
"version": "1.33.1",
"homepage": "http://www.voucherify.io",
"description": "Client-side SDK for Voucherify.",
"author": "rspective",
Expand Down

0 comments on commit 3f9ac16

Please sign in to comment.