@swirepay-developer/swirepay-card-sdk 2.0.1 → 2.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swirepay-developer/swirepay-card-sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Swirepay Card Payment SDK (Web Component with Modal UI)",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -188,8 +188,6 @@ export class SwirepayCheckout extends HTMLElement {
188
188
  this.apiKey = this.getAttribute("api-key");
189
189
  this.isAddressRequired = this.getAttribute("isAddressRequired") === "true";
190
190
  this.inventory = this.getAttribute("inventory") === "true";
191
- this.planGid = this.getAttribute("planGid");
192
- this.productName = this.getAttribute("productName");
193
191
  this.frequency = this.getAttribute("frequency");
194
192
  this.description = this.getAttribute("description");
195
193
  this.totalPayments = this.getAttribute('totalPayments');
@@ -223,8 +221,6 @@ export class SwirepayCheckout extends HTMLElement {
223
221
  "api-key",
224
222
  "isaddressrequired",
225
223
  "inventory",
226
- "plangid",
227
- "productname",
228
224
  "frequency",
229
225
  "description",
230
226
  "totalpayments",
@@ -262,14 +258,6 @@ export class SwirepayCheckout extends HTMLElement {
262
258
  this.inventory = newValue === "true";
263
259
  break;
264
260
 
265
- case "plangid":
266
- this.planGid = newValue;
267
- break;
268
-
269
- case "productname":
270
- this.productName = newValue;
271
- break;
272
-
273
261
  case "frequency":
274
262
  this.frequency = newValue;
275
263
  break;