Changelog
Release notes of the onlinesim Dart package.
The full history is in CHANGELOG.md.
1.0.1
- Fixed models against the current API:
Profile.number/country,RentSms.code'0'fornotifySMS, nullable free-list and payment fields;paymentHistory().paylistis kept when it arrives as a list;Balance.available= balance − max(zbalance, 0). waitCoderetriesTRY_AGAIN_LATER(rate limit),ERROR_UNDEFINEDandINTERVAL_CONCURRENT_REQUESTS_ERROR.MockOnlineSimfollows the backend more closely: rent reservation and confirmation,setOperationReviseandcloseRentNumanswers, missing vs wrong key — see Testing.
1.0.0
First release.
- One client,
OnlineSim(apiKey: ...), with the sections as properties:client.numbers,client.rent,client.user,client.free. - Pure Dart on
package:http: Flutter, CLI, server and web; injectableOnlineSimTransport. - The key is sent as a Bearer header, never in the URL.
- Typed results and sealed exceptions:
ApiException,NoNumberException,TransportException,WaitTimeoutException. numbers.waitCodewithDurationinterval and timeout,keepOpen,since; retries network errors.user.setWebhookUrl/clearWebhookUrl/webhookLogs,parseWebhook.MockOnlineSim, an offline fake of the API for your tests — see Testing.