polar-sdk-cancel-subscription
CommunityCorrects Polar SDK subscription cancellation.
Authorstrataga
Version1.0.0
Installs0
System Documentation
What problem does it solve?
When trying to cancel a subscription via the Polar SDK, developers may encounter a TypeScript error because cancel() does not exist on the Subscriptions type. This skill guides you to use revoke() instead to perform cancellation reliably.
Core Features & Use Cases
- Correct method usage: polar.subscriptions.revoke({ id: subscriptionId }) to cancel subscriptions.
- Prevents compile-time errors and ensures immediate cancellation.
- Suitable for TypeScript projects using the Polar JS SDK across node or browser environments.
Quick Start
Use polar.subscriptions.revoke({ id: subscriptionId }) to revoke a subscription. Verify that the operation returns the revoked subscription object and handle any errors as needed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: polar-sdk-cancel-subscription Download link: https://github.com/strataga/claude-skill-inception/archive/main.zip#polar-sdk-cancel-subscription Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.