tonder-web-sdk 1.11.0-beta.0 → 1.11.0-beta.2

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": "tonder-web-sdk",
3
- "version": "1.11.0-beta.0",
3
+ "version": "1.11.0-beta.2",
4
4
  "description": "tonder sdk for integrations",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/data/api.js CHANGED
@@ -175,8 +175,7 @@ export async function getCustomerCards(baseUrlTonder, customerToken, query = "",
175
175
  export async function getCustomerAPMs(baseUrlTonder, apiKeyTonder, query = "", signal) {
176
176
  try {
177
177
  const response = await fetch(
178
- // `${baseUrlTonder}/api/v1/payment_methods${query}`,
179
- `http://localhost:8000/api/v1/payment_methods${query}`,
178
+ `${baseUrlTonder}/api/v1/payment_methods${query}`,
180
179
  {
181
180
  method: 'GET',
182
181
  headers: {
@@ -186,6 +186,8 @@ export const cardTemplate = (data) => `
186
186
  flex-direction: column;
187
187
  padding: ;
188
188
  gap: 33% 20px;
189
+ max-height: 300px;
190
+ overflow-y: auto;
189
191
  }
190
192
  .pay-new-card {
191
193
  display: flex;