@kervnet/opencode-kiro-auth 1.7.22 → 1.7.23

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.
@@ -49,10 +49,11 @@ export class KiroDatabase {
49
49
  is_healthy, unhealthy_reason, recovery_time, fail_count, last_used,
50
50
  used_count, limit_count, last_sync
51
51
  ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
52
- ON CONFLICT(refresh_token) DO UPDATE SET
53
- id=excluded.id, email=excluded.email, auth_method=excluded.auth_method,
52
+ ON CONFLICT(id) DO UPDATE SET
53
+ email=excluded.email, auth_method=excluded.auth_method,
54
54
  region=excluded.region, client_id=excluded.client_id, client_secret=excluded.client_secret,
55
- profile_arn=excluded.profile_arn, access_token=excluded.access_token, expires_at=excluded.expires_at,
55
+ profile_arn=excluded.profile_arn, refresh_token=excluded.refresh_token,
56
+ access_token=excluded.access_token, expires_at=excluded.expires_at,
56
57
  rate_limit_reset=excluded.rate_limit_reset, is_healthy=excluded.is_healthy,
57
58
  unhealthy_reason=excluded.unhealthy_reason, recovery_time=excluded.recovery_time,
58
59
  fail_count=excluded.fail_count, last_used=excluded.last_used,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kervnet/opencode-kiro-auth",
3
- "version": "1.7.22",
3
+ "version": "1.7.23",
4
4
  "description": "OpenCode plugin for AWS Kiro (CodeWhisperer) with IAM Identity Center profile support",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",