Skip to content

Upgrade to @quantcdn/quant-client v4#18

Merged
steveworley merged 1 commit intomainfrom
feat/quant-client-v4
Mar 30, 2026
Merged

Upgrade to @quantcdn/quant-client v4#18
steveworley merged 1 commit intomainfrom
feat/quant-client-v4

Conversation

@stooit
Copy link
Copy Markdown
Contributor

@stooit stooit commented Mar 30, 2026

Summary

  • Switch from quant-ts-client (github ref) to published @quantcdn/quant-client v4.12.0 npm package
  • Eliminates punycode and url.parse() Node.js deprecation warnings
  • Uses Configuration class with accessToken for auth
  • Response handling updated from .body to .data (axios pattern)
  • Error handling updated from .statusCode/.body to .response.status/.response.data
  • Uses proper SyncToEnvironmentTypeEnum/ListSyncOperationsTypeEnum type casts instead of any
  • Fixed pre-existing bug: sync failure (status: 'failed') was being caught by the API error retry loop, causing silent retries until timeout instead of immediate failure

Test plan

  • Verify build passes (ncc compilation)
  • Test database sync between two environments
  • Test with wait: true to verify polling loop works
  • Verify no deprecation warnings in GitHub Actions output

Switch from quant-ts-client github ref to the published
@quantcdn/quant-client v4 npm package. Eliminates deprecated
dependency warnings and aligns with other Quant Cloud actions.
@steveworley steveworley merged commit 51338ae into main Mar 30, 2026
3 checks passed
@steveworley steveworley deleted the feat/quant-client-v4 branch March 30, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants