Skip to content

Added getProQuota() method - #1461

Merged
sanex3339 merged 2 commits into
masterfrom
get-quota-method
Oct 4, 2026
Merged

sanex3339 merged 2 commits into
masterfrom
get-quota-method

Conversation

@sanex3339

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Quota requests can outlive their timeout and bypass ApiError handling for some failures.

Review effort: Balanced
Findings: 3 Medium severity · 1 Low severity

Open (4)
What changed in this PR

Adds Pro API quota retrieval and machine-readable API error codes.

Changes:

  • Adds getProQuota() with public types, documentation, and tests.
  • Exposes quota-related API error codes.
  • Bumps the package version to 5.9.0.
File Description
src/​pro-api/​ProApiClient.ts Implements quota requests and error codes.
src/​pro-api/​ApiError.ts Adds the optional code property.
src/​JavaScriptObfuscatorFacade.ts Exposes getProQuota().
src/​interfaces/​pro-api/​IProApiClient.ts Defines quota response types.
index.ts Exports the new public API and types.
test/​functional-tests/​pro-api/​ProApiClient.spec.ts Tests quota and error-code behavior.
README.md Documents quota retrieval and handling.
CHANGELOG.md Records the new functionality.
package.json Updates the version to 5.9.0.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/pro-api/ProApiClient.ts Resolved
Comment thread src/pro-api/ProApiClient.ts Resolved
Comment thread src/pro-api/ProApiClient.ts Resolved
Comment thread README.md Resolved
@sanex3339
sanex3339 merged commit 67005e2 into master Oct 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants