@payyo/ptp-js 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -20,7 +20,6 @@ export declare type FieldConfig = {
20
20
  fieldNames: string[];
21
21
  title: string;
22
22
  placeholder: string;
23
- inputType: string;
24
23
  endpoint: string;
25
24
  mode: Mode;
26
25
  debug: boolean;
package/dist/index.es.js CHANGED
@@ -13,7 +13,7 @@ function createForm(config) {
13
13
  const fieldNames = [];
14
14
  const callbacks = {};
15
15
  const formId = generateRandomId();
16
- let fieldUrl = config.fieldUrl && config.mode === Mode.Test ? config.fieldUrl : "https://cdn.ptp.payyo.ch/ptp-js/2.0.0/field.html";
16
+ let fieldUrl = config.fieldUrl && config.mode === Mode.Test ? config.fieldUrl : "https://cdn.ptp.payyo.ch/ptp-js/2.0.1/field.html";
17
17
  const EVENT_ON_CHANGE = "change";
18
18
  const EVENT_ON_READY = "ready";
19
19
  const EVENT_ON_FOCUS = "focus";
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ function createForm(config) {
15
15
  const fieldNames = [];
16
16
  const callbacks = {};
17
17
  const formId = generateRandomId();
18
- let fieldUrl = config.fieldUrl && config.mode === Mode.Test ? config.fieldUrl : "https://cdn.ptp.payyo.ch/ptp-js/2.0.0/field.html";
18
+ let fieldUrl = config.fieldUrl && config.mode === Mode.Test ? config.fieldUrl : "https://cdn.ptp.payyo.ch/ptp-js/2.0.1/field.html";
19
19
  const EVENT_ON_CHANGE = "change";
20
20
  const EVENT_ON_READY = "ready";
21
21
  const EVENT_ON_FOCUS = "focus";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payyo/ptp-js",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "JS library for Payyo Tokenization service (PTP)",
5
5
  "private": false,
6
6
  "author": "developers@payyo.ch",