Skip to content

Commit 3f9ac16

Browse files
authored
Merge pull request #84 from rspective/pg/updated-readme
Updated readme
2 parents d5468db + 6610a60 commit 3f9ac16

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ The iframe renders the redeem widget
514514
<div class="voucherify-voucher-redeem"
515515
data-client-app-id="YOUR-CLIENT-APPLICATION-ID-FROM-SETTINGS"
516516
data-client-token="YOUR-CLIENT-TOKEN-FROM-SETTINGS"
517-
data-client-app-url="API-ENDPOINT; optional; defaults to https://app.voucherify.io"
517+
data-client-app-url="APP-REGION-URL; optional, defaults to https://app.voucherify.io; example: https://as1.app.voucherify.io"
518518

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

628628
data-campaign="Campaign name"
629629

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

683683
data-name-field="true"
684684
data-name-field-required="false"
@@ -739,7 +739,8 @@ Description and legal fields do support markdown syntax. It means that you can u
739739
740740
### Changelog
741741
742-
- **2021-06-20** - `1.33.0` - Add possibility of configuring API endpoint for iframe widgets
742+
- **2021-06-18** - `1.33.1` - Updated readme
743+
- **2021-06-17** - `1.33.0` - Add possibility of configuring region for iframe widgets
743744
- **2020-09-16** - `1.32.0` - Add possibility to send order metadata with validation request
744745
- **2019-12-23** - `1.31.0` - Add possibility to send customer metadata with validation request
745746
- **2019-02-05** - `1.30.0` - Add method for setting base app url

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "voucherify.js",
3-
"version": "1.33.0",
3+
"version": "1.33.1",
44
"homepage": "http://www.voucherify.io",
55
"description": "Client-side SDK for Voucherify.",
66
"author": "rspective",

0 commit comments

Comments
 (0)