Releases: ostdotcom/ost-sdk-js
Releasing version 2.2.3
- Added redemptions module to call redemptions management OST APIs.
- Added redeemable sku module to call redeemable sku management OST APIs.
Releasing version 2.2.2
- Readme changes for documenting new parameters in transactions module. These parameters can help to get data between specific time interval.
Releasing version 2.2.0
Webhooks
You can now use webhooks to subscribe to event notifications in OST Platform. A list of events (also called as topics in OST Platform) is available on dev.ost.com.
API changes:
- Ability to create, read, list, update, and delete a webhook.
Releasing version 2.1.0
In a volatile marketplace stable coins seek to achieve a fixed price. They are cryptocurrencies that are built to retain a stable value. Typically, one-to-one to a U.S. dollar. OST launches support for first stable coin, USDC. USDC is a stable coin backed by US dollars, giving it a more stable price. You can now choose to stake OST or USDC to back the value of your Brand Tokens. Choosing USDC offers your end users a more stable economy.
Some of the key changes across OST Platform include:
- Ability to choose the cryptocurrency you want to stake (The OST Token or The USDC) to back the value of your Brand Tokens during Token setup.
- API Changes:
- Price Point Entity gets update
- A new parameter gets added to Token Entity
- A new endpoint to fetch supported base currency information is added.
Releasing version 2.0.0
OST APIs and Server Side SDKs make it simple and easy for developers to integrate brand tokens into their apps. The SDKs provide various methods for different services like users, tokens, transactions, wallet services corresponding to an end-user of the economy. They facilitate interaction between wallet SDK and openst-contracts to support a better UX for application users interacting with blockchain-based Brand Tokens.
These SDKs are designed so that the server side components can support different approaches. They will be used for server to server interactions and they will be paired with the relevant wallet SDK. They can also be paired with your web application. They expose the following features to establish the communication between the client company's server, wallet SDK and contracts are written under OpenST Protocol:
Economy User registration
User registration on OST platform via the server SDKs enables the servers to communicate user's related tasks information with the client company servers & OST wallet SDK. This is the first step towards creating a user's wallet.
User's device registration
To establish a relation between devices that a user owns to access the token economy and the user_id, the server SDKs enables registering a device against a user. Using this service the device public address is fetched from the user's device and processed to be included in the device manager (multisig) contract.
Recovery support
Smart-contract enabled recovery of Brand Token wallets is achieved by combining
- a 6 digit PIN from a user,
- input from the client company and
- one from OST (salt).
Using these inputs a recoveryKey is created that can be used to initiate a recovery request that authorizes a new device.
OST Server side SDKs provide methods for fetching the "Salt" and communicating recovery or device authorization statuses.
Executing company-to-user transactions
In order to get the client company's economy started, the client company will have to transfer/distribute their brand tokens amongst the economy users. Server-side SDKs make it possible for the client company to execute company-to-user transactions.
Fetch Brand Token information
As the server SDKs facilitate interaction between openst-contracts and the client company servers, the client company can fetch addresses of all the contracts deployed for their economy on origin and auxiliary chains. They can also get information around the rules contracts deployed, the conversion rate set for the economy and the company token holder address.
What has changed from the previous release?
This release is a huge leap forward from the previous one and so a major version upgrade. A lot of entity definitions and API endpoints have changed due to which, post this release we will not be supporting previous versions of the APIs and SDKs. The following functionality has essentially been added:
- Key management support
- Recovery support
- Multi-device support
Releasing version 1.1.0
- SDK now supports API-v1.1 with ledger and balance API(s).
Release 1.0.1
- Contains test case updates
Releasing version 1.0.0
Merge pull request #13 from OpenSTFoundation/release-1.0 Release 1.0
v0.9.1
This is the initial release of the official OST JavaScript SDK.