Skip to content

feat: React Native SDK update for version 0.30.1#105

Merged
abnegate merged 2 commits into
mainfrom
dev
May 19, 2026
Merged

feat: React Native SDK update for version 0.30.1#105
abnegate merged 2 commits into
mainfrom
dev

Conversation

@ArnabChatterjee20k
Copy link
Copy Markdown
Member

@ArnabChatterjee20k ArnabChatterjee20k commented May 19, 2026

This PR contains updates to the React Native SDK for version 0.30.1.

What's Changed

  • Fixed: Removed Advisor service and Insight, InsightCTA, InsightList, Report, ReportList models (admin-only endpoints, not intended for client SDKs)
  • Added: sizeActual field to File model

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 19, 2026

Greptile Summary

This PR updates the React Native SDK to version 0.30.1, removing the Advisor service and its associated models that were inadvertently included in the client SDK (they are admin-only endpoints). It also adds the sizeActual field to the File model.

  • Advisor removal: Deletes src/services/advisor.ts, removes its export from src/index.ts, and removes the Insight, InsightCTA, InsightList, Report, and ReportList model types from src/models.ts. This is a breaking change for any consumer relying on these types, but is intentional as they should never have been in the client SDK.
  • File model update: Adds sizeActual: number to Models.File in src/models.ts, representing the stored size after compression/encryption.
  • Version bump: package.json, package-lock.json, src/client.ts header, and CHANGELOG.md are all consistently updated to 0.30.1.

Confidence Score: 5/5

Safe to merge — all changes are intentional and consistent across files.

The change is a clean SDK housekeeping update: removing admin-only endpoints that were mistakenly shipped and adding one new field to an existing model. All version references are in sync, the export surface matches the deleted service, and no remaining code references the removed types.

No files require special attention.

Important Files Changed

Filename Overview
src/services/advisor.ts Entire file deleted — removes the Advisor service (admin-only endpoints not intended for client SDKs).
src/models.ts Removes Insight, InsightCTA, InsightList, Report, and ReportList model types; adds sizeActual field to the File model.
src/index.ts Removes the Advisor export, keeping the public surface area consistent with the service deletion.
src/client.ts Bumps x-sdk-version header from 0.30.0 to 0.30.1.
package.json Version bumped to 0.30.1, consistent with all other version references in the PR.
CHANGELOG.md 0.30.1 entry added, accurately documenting the removal of the Advisor service/models and the addition of sizeActual.

Reviews (2): Last reviewed commit: "chore: update React Native SDK to 0.30.1" | Re-trigger Greptile

@abnegate abnegate merged commit c3a2906 into main May 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants