backend-integration-fetch
Advanced tools
Comparing version 1.0.2 to 1.0.3
14
index.js
@@ -134,14 +134,2 @@ import { UploadFile, fetchHelper } from "./httpFetchHelper.js"; | ||
return new CRUDMethods(BATCH_ENDPOINT, serverUrl); | ||
} | ||
const getKhatavani = async () => { | ||
try { | ||
const k = CreateKhatavaniEndpoint("http://127.0.0.1:5001/khatavani-933a5/asia-south1/api/") | ||
await k.create("eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJuYW1lIjoiR3Jhc3MgT3R0ZXIiLCJlbWFpbCI6ImdyYXNzLm90dGVyLjg4M0BleGFtcGxlLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdXRoX3RpbWUiOjE3MTY3OTk3MzUsInVzZXJfaWQiOiJXVVlwRlhBN1M5RDdLYWNqZjY3UDdTVUFSRU9tIiwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJlbWFpbCI6WyJncmFzcy5vdHRlci44ODNAZXhhbXBsZS5jb20iXSwiZ29vZ2xlLmNvbSI6WyI5MDAwNDk2NzQ1Njc0NTcwMTgwODE5MDgwMjI4NDYyNzg3NzAyNjUwIl19LCJzaWduX2luX3Byb3ZpZGVyIjoiZ29vZ2xlLmNvbSJ9LCJpYXQiOjE3MTY4MDU2ODMsImV4cCI6MTcxNjgwOTI4MywiYXVkIjoia2hhdGF2YW5pLTkzM2E1IiwiaXNzIjoiaHR0cHM6Ly9zZWN1cmV0b2tlbi5nb29nbGUuY29tL2toYXRhdmFuaS05MzNhNSIsInN1YiI6IldVWXBGWEE3UzlEN0thY2pmNjdQN1NVQVJFT20ifQ.", null, { | ||
name: "chetan" | ||
}) | ||
} catch (e) { | ||
console.log(e) | ||
} | ||
} | ||
getKhatavani() | ||
} |
{ | ||
"name": "backend-integration-fetch", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "The Backend-Api-Integration package simplifies interaction with the backend API by providing a set of CRUD methods for common endpoints. It abstracts away the complexity of making HTTP requests and handling responses, allowing developers to focus on application logic rather than low-level API communication details", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7454
173