SDK Release Notes
Last updated
Was this helpful?
Last updated
Was this helpful?
Features:
Adds getVehiclePrivileges
function to get all SACDs for a given vehicle from the Identity API.
Adds getVehicleJwt
to TokenExchange to support getting privileges automatically before exchanging for a Vehicle JWT, without requiring developers to explicitly include privileges.
Changes:
getToken
has been renamed to getDeveloperJwt
Features
Added support for CommonJS
Deprecations & Changes:
Removes support for the following APIs and endpoints:
Device Data
Devices
Events
User
Vehicle Signal Decoding
Changes input parameters with updated JWT vocabulary:
access_token
has been renamed to developer_jwt
privilege_token
has been renamed to vehicle_jwt
Removes the following endpoints from the Device Definitions API:
getByMMY
getById
listDeviceMakes
getDeviceTypeById
Updates the following endpoint from the Valuations API:
endpoints updated to /v2/vehicles/
getValuations
(user_device_id
is now token_id
)
getInstantOffers
(user_device_id
is now token_id
)
getOffers
(user_device_id
is now token_id
)
Features:
Added the shortcut function dimo.telemetry.getVin()
, giving users a quicker way to obtain the VIN of shared vehicles.
Adds the following endpoints to the Device Definitions API:
decodeVin
search
Updated documentation with streamlined language for Developer JWT and Vehicle JWT.
Updated documentation with new examples and updated links to Documentation.
Changes:
Updates eth-utils
dependency, SDK now requires eth-utils ≥ 5.0.0
Changes:
Updates README to clarify new get_dev_jwt
method
Adds available_signals
method to Telemetry
Changes:
get_token
has been renamed to get_dev_jwt
Adds streamlined token_exchange()
, making the inclusion of the privileges list optional. See .
Adds a new method, identity.check_vehicle_privileges()
which returns a list of dev license client IDs and the permission level granted for each.
Added shortcut method dimo.telemetry.get_vin
, giving users a quicker way to obtain the VIN of shared vehicles.
Removes support for the following APIs and endpoints:
Device Data
Devices
Events
User
Vehicle Signal Decoding
Changes input parameters with updated JWT vocabulary:
access_token
has been renamed to developer_jwt
privileged_token
has been renamed to vehicle_jwt
Removes the following endpoints from the Device Definitions API:
get_by_mmy
get_by_id
list_device_makes
get_device_type_by_id
Updates the following endpoint from the Valuations API:
Endpoints updated to /v2/vehicles/
get_valuations
(user_device_id
is now token_id
)
Removes the following endpoints from the Valuations API:
get_instant_offers
get_offers
Adds the following endpoints to the Device Definitions API:
decode_vin
search_device_definitions
Updated documentation with streamlined language for Developer JWT and Vehicle JWT.
Updated documentation with new examples and updated links to Documentation.
Enables developers to configure UTM parameters, either via a single value or a queried string.
Example:
<LoginWithDimo utm="utm_campaign=dimo" />
Will redirect to
Deprecates the embed
mode in favor of using either popup
or redirect
.
Adds a sharedVehicles
array to the onSuccess
authResponse
. Available when using the LoginWithDimo
and ShareVehiclesWithDimo
components.
Adds forceEmail
support when initializing the SDK
initializeDimoSDK({
...
options: {
forceEmail: true, //BY DEFAULT, this is False - users won't have to share email
},
});
Includes an update the allows developers to configure their own labels on buttons, instead of the defaults. Uses authenticatedLabel
or unAuthenticatedLabel
.
Features:
Includes a new parameter, expirationDate
, which allows developers to set an expiration date for privileged access to shared vehicles. Defaults to 1 year if not included.