@insignia-education/api-sdk-js 0.15.112 → 0.15.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insignia-education/api-sdk-js",
3
- "version": "0.15.112",
3
+ "version": "0.15.113",
4
4
  "description": "JavaScript SDK for the Insignia Education API",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -273,6 +273,8 @@ export default class Users {
273
273
  linkToken: () => client.post(`${base}/link-token`),
274
274
  /** Fallback flow: completes a link the bot proposed after an organic (no-payload) /start, given the { chat_id, username, expires_at, signature } it replied with. */
275
275
  connect: (data) => client.post(`${base}/connect`, data),
276
+ /** Undoes connect()/linkToken() — clears telegram/telegram_chat_id/telegram_verified_at, so the account reads as never-connected. */
277
+ disconnect: () => client.del(base),
276
278
  };
277
279
  }
278
280
  }