Skip to content

Library updates #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
bfecf1c
Major library overhaul
tu-ru Nov 3, 2024
5ad8edd
Reverting
tu-ru Nov 3, 2024
8040832
Testing code - fixes
tu-ru Nov 3, 2024
f870650
Library re-structuring
tu-ru Nov 3, 2024
d7c4b04
Folder renaming
tu-ru Nov 3, 2024
7e196d8
Create .env.example
tu-ru Nov 3, 2024
45e8f8b
Update index.d.ts
tu-ru Nov 3, 2024
b4138ff
Updated folder structure, coupled with the certPath and .env.local pa…
tu-ru Nov 4, 2024
c95575f
Added a code mechanism, to fetch high occurring .env variables automa…
tu-ru Nov 4, 2024
8dc84cb
Minor updates to the types file, and API endpoints themselves
tu-ru Nov 4, 2024
b087d58
Mocha test failed on this two API endpoints, I have fixed the issues
tu-ru Nov 4, 2024
e14da66
Prettier formatted the whole library code via the script on the packa…
tu-ru Nov 4, 2024
8159c89
updated .env.example to match with the new naming pattern
tu-ru Nov 4, 2024
9c4e607
updated the core helpers.js file, and included an if else error state…
tu-ru Nov 5, 2024
ff05a4a
Performed minor enhancements and corrections on various lib files.
tu-ru Feb 20, 2025
5338ebd
Performed major updates. Added default callback handlers, updated jsD…
tu-ru Feb 27, 2025
19f7f85
Fixed naming errors, especially when it comes to the term Url. Now it…
tu-ru Feb 28, 2025
705778a
This commit contains an update specifically on the tests portion. I h…
tu-ru Feb 28, 2025
bc3532e
Updates package Json, with the actual license name. I have made keywo…
tu-ru Mar 5, 2025
5daf489
Enforced description to be consistent with README.md title
tu-ru Mar 5, 2025
03e4611
Removed a redundant library, and added a types field in the package.json
tu-ru Mar 5, 2025
e6af060
Disabled M-pesa query due to the server processing delay issues of a …
tu-ru Mar 5, 2025
0301115
Added done() to properly terminate the test
tu-ru Mar 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["env"]
}
"presets": ["@babel/preset-env"]
}
58 changes: 33 additions & 25 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,43 @@
---
name: Bug report
about: Create a report to help us improve

name: Bug Report
about: Help us improve by reporting an issue
labels: [bug, needs-triage]
---

**Describe the bug**
A clear and concise description of what the bug is.
## Bug Description

A clear and concise description of the issue.

## Steps to Reproduce

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
2. Click on '...'
3. Scroll down to '...'
4. Observe the issue

## Expected Behavior

A clear and concise description of what should happen instead.

## Screenshots (if applicable)

Attach screenshots or screen recordings to illustrate the issue.

## System Information

### Desktop:

**Expected behavior**
A clear and concise description of what you expected to happen.
- OS: [e.g. Windows 11, macOS Ventura]
- Browser: [e.g. Chrome, Safari]
- Version: [e.g. 120.0.1]

**Screenshots**
If applicable, add screenshots to help explain your problem.
### Mobile:

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
- Device: [e.g. iPhone 13, Samsung Galaxy S22]
- OS: [e.g. iOS 17, Android 13]
- Browser: [e.g. Chrome, Safari]
- Version: [e.g. 120.0.1]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
## Additional Context

**Additional context**
Add any other context about the problem here.
Add any other relevant details, logs, or error messages.
30 changes: 19 additions & 11 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
---
name: Feature request
about: Suggest an idea for this project

name: Feature Request
about: Suggest an improvement or a new idea for this project
labels: [enhancement, needs-triage]
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## Feature Description

Provide a clear and concise description of the feature or improvement you are suggesting.

## Problem Statement

Is your feature request addressing a specific problem? Clearly describe the issue or limitation. Example: "It is frustrating when [...]"

## Proposed Solution

Describe the solution you would like to see implemented. Be as detailed as possible.

## Alternative Solutions

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
List any alternative approaches or workarounds you have considered.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
## Additional Context

**Additional context**
Add any other context or screenshots about the feature request here.
Include any other relevant details, references, or screenshots that can help clarify the request.
25 changes: 25 additions & 0 deletions .github/workflows/qodana_code_quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Qodana
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
- npm-standard-lib

jobs:
qodana:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: "Qodana Scan"
uses: JetBrains/[email protected]
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ bower_components
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
# Dependency directories and lock files
node_modules/
jspm_packages/
package-lock.json

# Typescript v1 declaration files
typings/
Expand All @@ -49,10 +50,11 @@ typings/
.yarn-integrity

# dotenv environment variables file
.env
lib/tests/.env.local

# yarn error-log
yarn-error.log

# idea
.idea/

Loading