Migration & upgrades
Upgrade from 0.1.0 to 0.1.1#
Download 0.1.1 into your project, then update the archive dependency:
npm install ./aggregator-network-sdk-0.1.1.tgzKeep the updated archive or private mirror with your deployment build inputs. Commit the dependency and lockfile changes according to your application's workflow.
Catalogue narrowing#
A compact request with list_type: 2 now has compact result types. A default or detailed request has detailed result types. If list_type is selected dynamically, retain a runtime field check before accessing variant-specific fields.
const catalogue = await client.getGameList({ currency: 'USD', list_type: 2 });const games = Array.isArray(catalogue.response) ? catalogue.response : Object.values(catalogue.response);const launchIds = games.map((game) => game.s);Response validation#
Malformed success records now produce AggregatorTransportError with reason invalid-response. For a mutation this can mean outcomeUnknown: true. Handle it through your existing reconciliation workflow; do not treat a rejected response parser as proof that upstream work was undone.
Validate your integration#
Compile your TypeScript project, run a public provider lookup and an entitled catalogue request in your integration environment, then verify error handling and callback fixtures. Use the runnable starter if you need a complete local setup.
Unchanged operation identity#
Preserve existing persisted idempotency keys and exact requests. An SDK upgrade does not create a reason to repeat a financial operation. The SDK still makes no automatic retries.