Skip to content

fix: fixing umaaas urls after url migration#514

Merged
pengying merged 1 commit into
mainfrom
05-27-fix_fixing_umaaas_urls_after_url_migration
May 27, 2026
Merged

fix: fixing umaaas urls after url migration#514
pengying merged 1 commit into
mainfrom
05-27-fix_fixing_umaaas_urls_after_url_migration

Conversation

@pengying
Copy link
Copy Markdown
Contributor

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
grid-flow-builder Ready Ready Preview, Comment May 27, 2026 10:31pm

Request Review

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@pengying pengying marked this pull request as ready for review May 27, 2026 22:33
@pengying pengying merged commit a206751 into main May 27, 2026
7 checks passed
@pengying pengying deleted the 05-27-fix_fixing_umaaas_urls_after_url_migration branch May 27, 2026 22:33
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 27, 2026

Greptile Summary

This PR updates UMA proxy target URLs in two documentation files, replacing the old <subdomain>.docs.lightspark.com host pattern with <subdomain>.grid.lightspark.com following a URL migration.

  • global-p2p/getting-started/platform-configuration.mdx: Three proxy path examples updated to the new host; however, line 20 still references docs.lightspark.com as the default UMA domain and was not updated.
  • mintlify/snippets/platform-configuration-uma.mdx: Same three proxy path examples updated consistently with no leftover stale references.

Confidence Score: 4/5

Safe to merge after confirming whether the docs.lightspark.com default-domain mention on line 20 of platform-configuration.mdx also needs updating.

Both files correctly migrate the three proxy path examples to the new host. The one concern is line 20 of platform-configuration.mdx, which still tells users that Grid will use docs.lightspark.com as the default UMA domain when none is configured — the only remaining stale reference in the diff's file. If the underlying service has also moved, this would send users to the wrong host.

mintlify/global-p2p/getting-started/platform-configuration.mdx — line 20 references the old default domain and may need the same update.

Important Files Changed

Filename Overview
mintlify/global-p2p/getting-started/platform-configuration.mdx Updates 3 proxy URL examples from .docs.lightspark.com to .grid.lightspark.com; one reference to docs.lightspark.com on line 20 (default domain mention) was not updated.
mintlify/snippets/platform-configuration-uma.mdx Updates 3 proxy URL examples from .docs.lightspark.com to .grid.lightspark.com; no other stale references found in this file.

Comments Outside Diff (1)

  1. mintlify/global-p2p/getting-started/platform-configuration.mdx, line 20 (link)

    P1 This line still references docs.lightspark.com as the default domain, while the rest of this PR migrates all UMA-related URLs to grid.lightspark.com. If the underlying service has moved, users who skip configuring a UMA domain will be pointed at the old host.

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: mintlify/global-p2p/getting-started/platform-configuration.mdx
    Line: 20
    
    Comment:
    This line still references `docs.lightspark.com` as the default domain, while the rest of this PR migrates all UMA-related URLs to `grid.lightspark.com`. If the underlying service has moved, users who skip configuring a UMA domain will be pointed at the old host.
    
    
    
    How can I resolve this? If you propose a fix, please make it concise.

    Fix in Claude Code

Fix All in Claude Code

Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 1
mintlify/global-p2p/getting-started/platform-configuration.mdx:20
This line still references `docs.lightspark.com` as the default domain, while the rest of this PR migrates all UMA-related URLs to `grid.lightspark.com`. If the underlying service has moved, users who skip configuring a UMA domain will be pointed at the old host.

```suggestion
If you do not configure an UMA domain, Grid will use the default domain `grid.lightspark.com`.
```

Reviews (1): Last reviewed commit: "fix: fixing umaaas urls after url migrat..." | Re-trigger Greptile

@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 27, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Grid 🔴 Failed May 27, 2026, 10:46 PM

pengying added a commit that referenced this pull request May 28, 2026
…es (#518)

## Summary

Updates the Stainless config to reflect the current API surface and adds five new SDK targets.

### New SDK targets
- `ruby` (gem `grid`, rubygems publish disabled)
- `go` (package `grid`)
- `csharp` (package `grid`, nuget publish disabled)
- `php` (package `grid`, composer `org-placeholder/grid`)
- `cli` (binary `grid`)

All have `production_repo: null` for now.

### Resource sync
- `config.models`: add `embedded_wallet_config`
- `sandbox`: add `cards.simulate` subresource (authorization/clearing/return) with associated card simulation models
- `$shared`: add `slv_external_account_create_info`, `slv_beneficiary`, `swift_external_account_create_info`
- `customers.methods`: add `generate_kyc_link: post /customers/{customerId}/kyc-link`
- `agents`: add `agent_account_restrictions`, `agent_approval_thresholds`
- Add top-level `cards` resource (issue / list / retrieve / update)

### Auth credential verify-request aliases — intentionally omitted

`email_otp_credential_verify_request`, `oauth_credential_verify_request`, and `passkey_credential_verify_request` are **not** added as model aliases. The auth verify-request schemas are defined as:

```yaml
allOf:
  - $ref: AuthCredentialVerifyRequest
  - $ref: <X>CredentialVerifyRequestFields
```

Two existing `openapi.transforms` (lines stripping `type` from `AuthCredentialVerifyRequest.properties`, then removing the `$ref` from `allOf[0]` of each verify variant) reduce these to structurally equivalent to their `Fields` siblings. Stainless collapses the allOf and emits only the `<X>CredentialVerifyRequestFields` types in `credentials.ts`, so a model alias pointing to `<X>CredentialVerifyRequest` would generate broken imports (`TS2724` / `TS2552` in `auth.ts`, `credentials.ts`, `index.ts`).

The create-side aliases work because `AuthCredentialCreateRequest` retains a non-`type` field (`accountId`) after the transform, so its variants don't collapse.

### Other
- `organization.docs`: `docs.lightspark.com` → `grid.lightspark.com`. **Worth a second look** — recent commits (#513, #514) migrated *away* from `grid.lightspark.com` in the docs. Confirm this is intentional before merging.

## Notes

Stacked on top of #517 (document request body refactor); no code dependency between the two — sequencing is just chronological.
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