@tonder.io/ionic-lite-sdk 0.0.33-beta.5 → 0.0.33-beta.6
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
|
@@ -435,6 +435,7 @@ export class LiteCheckout implements LiteCheckoutConstructor {
|
|
|
435
435
|
if(!this.merchantData){
|
|
436
436
|
await this.#fetchMerchantData()
|
|
437
437
|
}
|
|
438
|
+
|
|
438
439
|
const response = await fetch(`${this.baseUrlTonder}/api/v1/cards/`, {
|
|
439
440
|
method: 'POST',
|
|
440
441
|
headers: {
|
|
@@ -457,6 +458,7 @@ export class LiteCheckout implements LiteCheckoutConstructor {
|
|
|
457
458
|
if(!this.merchantData){
|
|
458
459
|
await this.#fetchMerchantData()
|
|
459
460
|
}
|
|
461
|
+
|
|
460
462
|
const response = await fetch(`${this.baseUrlTonder}/api/v1/cards?business=${getBusinessId(this.merchantData)}`, {
|
|
461
463
|
method: 'GET',
|
|
462
464
|
headers: {
|