René's URL Explorer Experiment


Title: fix(revenuecat): align tools and block with REST v1 API spec by waleedlatif1 · Pull Request #4488 · simstudioai/sim · GitHub

Open Graph Title: fix(revenuecat): align tools and block with REST v1 API spec by waleedlatif1 · Pull Request #4488 · simstudioai/sim

X Title: fix(revenuecat): align tools and block with REST v1 API spec by waleedlatif1 · Pull Request #4488 · simstudioai/sim

Description: Summary Validated all 10 RevenueCat tools and the block against context7 REST v1 docs Unwrap {value:{subscriber}} envelope across post-receipts, attributes, entitlements, and Google sub endpoints Trim entitlement output to documented v1 fields; add subscriber fields (last_seen, original_application_version, other_purchases, subscriber_attributes) create_purchase: productId optional (Google-only required); add introductoryPrice, attributes, updated_at_ms; surface customer + subscriber; X-Platform required update_subscriber_attributes: read response and surface subscriber defer_google_subscription: enforce XOR(extendByDays, expiryTimeMs) and 1-365 range grant_entitlement: duration optional, added endTimeMs (one-of) refund_google_subscription: corrected to /transactions/{storeTransactionId}/refund delete_customer: read deleted field; list_offerings: corrected X-Platform values Added shared throwIfRevenueCatError helper for {code, message} envelope Moved type coercions from tools.config.tool → tools.config.params to preserve dynamic refs Type of Change Bug fix Testing Tested manually; type-check and lint clean Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Validated all 10 RevenueCat tools and the block against context7 REST v1 docs Unwrap {value:{subscriber}} envelope across post-receipts, attributes, entitlements, and Google sub endpoints ...

X Description: Summary Validated all 10 RevenueCat tools and the block against context7 REST v1 docs Unwrap {value:{subscriber}} envelope across post-receipts, attributes, entitlements, and Google sub endpoints ...

Opengraph URL: https://github.com/simstudioai/sim/pull/4488

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:71523471-f623-b7ab-fdc6-d463870c505b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC8D2:858A:BEDBED:10E110C:6AFB5F10
html-safe-nonce920f9750ea80ebac0df1c780be171a332b7e625fbbbaa7f4fbc9fdf9957c1966
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEQyOjg1OEE6QkVEQkVEOjEwRTExMEM6NkFGQjVGMTAiLCJ2aXNpdG9yX2lkIjoiNzU0NTgwNzgxOTEzNjI2MTkwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac99f370c8fc6c1cabb8eb7f3726134453cbf457f26c02c9bc077aa7c04ac86c74
hovercard-subject-tagpull_request:3640941330
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/4488/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Validated all 10 RevenueCat tools and the block against context7 REST v1 docs Unwrap {value:{subscriber}} envelope across post-receipts, attributes, entitlements, and Google sub endpoints ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4488/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4488%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4488%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/4488/files
Reloadhttps://github.com/simstudioai/sim/pull/4488/files
Reloadhttps://github.com/simstudioai/sim/pull/4488/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/revenuecat-v1-alignmenthttps://github.com/simstudioai/sim/tree/waleedlatif1/revenuecat-v1-alignment
Conversation 40 https://github.com/simstudioai/sim/pull/4488
Commits 11 https://github.com/simstudioai/sim/pull/4488/commits
Checks 13 https://github.com/simstudioai/sim/pull/4488/checks
Files changed https://github.com/simstudioai/sim/pull/4488/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4488/files
fix(revenuecat): align tools and block with REST v1 API spec https://github.com/simstudioai/sim/pull/4488/files#top
Show all changes 11 commits https://github.com/simstudioai/sim/pull/4488/files
a9b9594 fix(revenuecat): align tools and block with REST v1 API spec waleedlatif1 May 7, 2026 https://github.com/simstudioai/sim/pull/4488/commits/a9b9594ef20b8704ab182f40f6a9080f71ad4361
6c7a18e docs waleedlatif1 May 7, 2026 https://github.com/simstudioai/sim/pull/4488/commits/6c7a18e5f50053f4a9ecfd51d400dd6c06e21a2a
85f181a fix(revenuecat): address PR review feedback waleedlatif1 May 7, 2026 https://github.com/simstudioai/sim/pull/4488/commits/85f181abeb0960c35f05446636d6151182432f23
3cefd6f fix(revenuecat): tighten docs after sub-segment validation waleedlatif1 May 7, 2026 https://github.com/simstudioai/sim/pull/4488/commits/3cefd6f7c4c68880570698a6b0a00359212eeabb
a5403cd docs waleedlatif1 May 7, 2026 https://github.com/simstudioai/sim/pull/4488/commits/a5403cdc9361371ace8241fd4c0c82543534255d
8204e89 fix(revenuecat): clear duration default when endTimeMs is provided waleedlatif1 May 7, 2026 https://github.com/simstudioai/sim/pull/4488/commits/8204e89db7d94f288b6e03c343ba8222675f2424
37e4530 fix(revenuecat): clear extendByDays default when expiryTimeMs is prov… waleedlatif1 May 7, 2026 https://github.com/simstudioai/sim/pull/4488/commits/37e4530f97298e6ebce82a515d8e2c3b08685cf8
d926e0a fix(revenuecat): guard NaN in time-ms mappers and require integer days waleedlatif1 May 7, 2026 https://github.com/simstudioai/sim/pull/4488/commits/d926e0ac7a1a039ed3b3e539ade21621aa2633c3
e6495c1 fix(revenuecat): fall back to Date.now() when request_date is malformed waleedlatif1 May 7, 2026 https://github.com/simstudioai/sim/pull/4488/commits/e6495c12c9f8a9ff8b05af51df180c355cf7727a
5ebd307 fix(revenuecat): unwrap value envelope in list_offerings response waleedlatif1 May 7, 2026 https://github.com/simstudioai/sim/pull/4488/commits/5ebd3078d6127f9cc1dbabfa24d521e579f6580b
8660b21 improvement(revenuecat): include updated_at_ms in attributes placehol… waleedlatif1 May 7, 2026 https://github.com/simstudioai/sim/pull/4488/commits/8660b21ccb2e02c1ac4c4f8843077af661b56b2e
Clear filters https://github.com/simstudioai/sim/pull/4488/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4488/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4488/files
revenuecat.mdx https://github.com/simstudioai/sim/pull/4488/files#diff-bf0fc6a66c3faeea432b091e1996fc45e5865be73fcecdf5e4dcdabcda1abf1d
integrations.json https://github.com/simstudioai/sim/pull/4488/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
revenuecat.ts https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
create_purchase.ts https://github.com/simstudioai/sim/pull/4488/files#diff-eeecb46ab325c124c1e83cbaf2697b3943515eb209c4a63f81a9fd97a024a8ca
defer_google_subscription.ts https://github.com/simstudioai/sim/pull/4488/files#diff-abcc250df7ed7f6315509ef941236444447b2a819de5b6337672c6f372ca3869
delete_customer.ts https://github.com/simstudioai/sim/pull/4488/files#diff-5dc0a24dcb327288a6339c0124ac0755f1764cf8ee09f737246fcf89d430c5e6
get_customer.ts https://github.com/simstudioai/sim/pull/4488/files#diff-4c88fda6882c6eef138893be033200838d9f6a2a17b0a56bc470b6e21513c919
grant_entitlement.ts https://github.com/simstudioai/sim/pull/4488/files#diff-ac7da4b9d320028c7b7e5f7497ef51acb3f5a6f98bb2ff83a7b8ce56e2d3fac8
list_offerings.ts https://github.com/simstudioai/sim/pull/4488/files#diff-35468213feaf3f0b016df04fa9d94c2c65efb8c53d5d0f336face644d2a00576
refund_google_subscription.ts https://github.com/simstudioai/sim/pull/4488/files#diff-1436c51d1b579de52dbf3dd462b3391b44b980c2c03570c474f280f9b257681a
revoke_entitlement.ts https://github.com/simstudioai/sim/pull/4488/files#diff-2ab4bdb20776e98a805953ed016eca475ae25b8217f27d62ffc184b2cba9a3fa
revoke_google_subscription.ts https://github.com/simstudioai/sim/pull/4488/files#diff-bacd90173e93dc15871b3fdf7c4ace453b7dc66bc87bfe6ec57284d214b4a4a4
types.ts https://github.com/simstudioai/sim/pull/4488/files#diff-4ffe9b2bcacea2f65b0c1c97f8d1588094fc63d613447597f185c67bf5017bab
update_subscriber_attributes.ts https://github.com/simstudioai/sim/pull/4488/files#diff-64c93d01a8a2b8f60440bf4faab7a0b6757be99467b85bc6c75632b61cacc21b
apps/docs/content/docs/en/tools/revenuecat.mdxhttps://github.com/simstudioai/sim/pull/4488/files#diff-bf0fc6a66c3faeea432b091e1996fc45e5865be73fcecdf5e4dcdabcda1abf1d
View file https://github.com/simstudioai/sim/blob/8660b21ccb2e02c1ac4c4f8843077af661b56b2e/apps/docs/content/docs/en/tools/revenuecat.mdx
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/4488/files
apps/sim/app/(landing)/integrations/data/integrations.jsonhttps://github.com/simstudioai/sim/pull/4488/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
View file https://github.com/simstudioai/sim/blob/8660b21ccb2e02c1ac4c4f8843077af661b56b2e/apps/sim/app/(landing)/integrations/data/integrations.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4488/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4488/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
https://github.com/simstudioai/sim/pull/4488/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
https://github.com/simstudioai/sim/pull/4488/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
https://github.com/simstudioai/sim/pull/4488/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
apps/sim/blocks/blocks/revenuecat.tshttps://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
View file https://github.com/simstudioai/sim/blob/8660b21ccb2e02c1ac4c4f8843077af661b56b2e/apps/sim/blocks/blocks/revenuecat.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4488/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
Please reload this pagehttps://github.com/simstudioai/sim/pull/4488/files
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
Please reload this pagehttps://github.com/simstudioai/sim/pull/4488/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4488/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4488/files
https://github.com/simstudioai/sim/pull/4488/files#diff-5e8dfab3b31b82c6d4fb390288ff511bfbe136e5ca80d9e424766caa81966cd7
Please reload this pagehttps://github.com/simstudioai/sim/pull/4488/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4488/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.