ubk.erp.webpack 1.1.5 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +0 -21
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -51,7 +51,6 @@ The library determines the base URL for API calls and assets using the following
51
51
 
52
52
  1. **Manual Configuration**: Using the `setBaseUrl()` function in your code.
53
53
  2. **Environment Variable**: `VITE_ASSET_BASE_URL` in your `.env` file.
54
- 3. **Default Fallback**: `https://npmapi.ubkerp.com/` (used if no other config is found).
55
54
 
56
55
  ### 1. Manual Setup (Recommended for NPM Users)
57
56
 
@@ -61,26 +60,6 @@ import { setBaseUrl } from "ubk.erp.webpack";
61
60
  // Set your base URL once
62
61
  setBaseUrl("https://your-api-domain.com/");
63
62
  ```
64
-
65
- ### Environment Variables (Alternative)
66
-
67
- If you prefer using environment variables, the library also supports:
68
-
69
- ```env
70
- # Provide a full URL for asset/API base; if omitted the default
71
- # fallback `yourbase_url` will be used.
72
- VITE_ASSET_BASE_URL=yourbase_url
73
- REACT_APP_API_URL=yourbase_url
74
-
75
- # API Endpoints
76
- VITE_MENU_URL=api/sdk/Menus
77
- VITE_ADMISSION_ENQUIRY_URL=api/branchapi/frontoffice/enquirytablelist
78
- # Library endpoints (examples)
79
- VITE_LIBRARY_ADD_CATEGORY_URL=api/branchapi/library/addBookCategory
80
- VITE_LIBRARY_DELETE_CATEGORY_URL=api/branchapi/library/deleteBookCategory
81
- VITE_LIBRARY_MONTHLY_REPORT_URL=api/branchapi/library/libraryReport
82
- ```
83
-
84
63
  ## 🛠️ Usage
85
64
 
86
65
  ### Basic Component Integration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ubk.erp.webpack",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",