@swirepay-developer/swirepay-ach-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-ach-sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Swirepay Ach Payment SDK (Web Component with Modal UI)",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -181,6 +181,7 @@ export class SwirepayCheckout extends HTMLElement {
181
181
  })
182
182
  return await response.json();
183
183
  }
184
+
184
185
 
185
186
  async connectedCallback() {
186
187
  this.amount = parseInt(this.getAttribute("amount")) || 0;
@@ -189,8 +190,6 @@ export class SwirepayCheckout extends HTMLElement {
189
190
  this.apiKey = this.getAttribute("api-key");
190
191
  this.isAddressRequired = this.getAttribute("isAddressRequired") === "true";
191
192
  this.inventory = this.getAttribute("inventory") === "true";
192
- this.planGid = this.getAttribute("planGid");
193
- this.productName = this.getAttribute("productName");
194
193
  this.frequency = this.getAttribute("frequency");
195
194
  this.description = this.getAttribute("description");
196
195
  this.accountGid = this.getAttribute('accountGid');
@@ -226,7 +225,6 @@ export class SwirepayCheckout extends HTMLElement {
226
225
  "api-key",
227
226
  "isaddressrequired",
228
227
  "inventory",
229
- "plangid",
230
228
  "productname",
231
229
  "frequency",
232
230
  "description",
@@ -265,14 +263,6 @@ export class SwirepayCheckout extends HTMLElement {
265
263
  this.inventory = newValue === "true";
266
264
  break;
267
265
 
268
- case "plangid":
269
- this.planGid = newValue;
270
- break;
271
-
272
- case "productname":
273
- this.productName = newValue;
274
- break;
275
-
276
266
  case "frequency":
277
267
  this.frequency = newValue;
278
268
  break;