intercom-upgrade-migration

Featured

Upgrade intercom-client SDK versions and handle API version changes. Use when upgrading the SDK, migrating between API versions, or detecting breaking changes in Intercom releases. Trigger with phrases like "upgrade intercom", "intercom migration", "intercom breaking changes", "update intercom SDK", "intercom API version".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Intercom Upgrade & Migration ## Overview Guide for upgrading the `intercom-client` npm package and handling Intercom API version changes. The SDK was rewritten in TypeScript starting at v6, which introduced significant breaking changes from the v5 CommonJS API. ## Prerequisites - Current `intercom-client` installed - Git for version control - Test suite available ## Instructions ### Step 1: Check Current Versions ```bash # Current SDK version npm list intercom-client # Latest available npm view intercom-client version # Current API version (check response headers) curl -s -D - -o /dev/null \ -H "Authorization: Bearer $INTERCOM_ACCESS_TOKEN" \ https://api.intercom.io/me 2>/dev/null | grep -i intercom-version ``` ### Step 2: SDK v5 to v6 Migration (Major Breaking Change) The v6 SDK is a full TypeScript rewrite with a new API surface. **Client Initialization:** ```typescript // v5 (CommonJS) const Intercom = require("intercom-client"); const client = new Intercom.Client({ token: "xxx" }); // v6+ (TypeScript ESM) import { IntercomClient } from "intercom-client"; const client = new IntercomClient({ token: "xxx" }); ``` **Contact Operations:** ```typescript // v5 await client.users.create({ email: "test@example.com" }); await client.leads.create({ email: "lead@example.com" }); await client.users.find({ id: "abc" }); await client.users.list(); // v6+ (unified contacts API) await client.contacts.create({ role: "user", email: "test@example.com" }); await client....

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category