
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@nuskin/conversion-sdk
Advanced tools
This NPM library houses logic for converting customers between tiers. Refer also to conversion-lambda which manages interfacing with API's on Universe and SAP
One of CUSTOMER, PREFERRED_MEMBER, DISTRIBUTOR These are documented and accessible through the MEMBER_TIERS property on the service
Move a member from their current tier to a target tier
The tier that the member would like to convert to
The following explains the expected response formats when interacting with this service.
In the case of an issue with a request, it will come back in the errorMessageKey
field in the response.
A full list of the possible error message keys can be found in src/errorMessageCodekey.js
If the request was successful
[{
tier: 'a tier',
current: true/false // this is the user's current tier,
requiredFields: {}// this will house the list of fields required in the current market to make the move
}, ...]
If the request failed
{
errorMessageKey: 'an error'
}
If the request was successful
{
errorMessageKey: null,
success: true
}
If the request failed
{
errorMessageKey: 'an error'
}
FAQs
The SDK for the conversion tool
The npm package @nuskin/conversion-sdk receives a total of 16 weekly downloads. As such, @nuskin/conversion-sdk popularity was classified as not popular.
We found that @nuskin/conversion-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.