-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #229 from radixdlt/migration-docs
docs: v2 migration guide
- Loading branch information
Showing
3 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Upgrading to 2.0 | ||
|
||
## Breaking Changes | ||
|
||
### Babylon Gateway SDK | ||
|
||
The Gateway SDK is no longer exposed by dApp toolkit. | ||
|
||
``` | ||
import { GatewayApiClient } from '@radixdlt/babylon-gateway-api-sdk' | ||
const dAppToolkit = RadixDappToolkit({ | ||
dAppDefinitionAddress: | ||
'account_rdx12y7md4spfq5qy7e3mfjpa52937uvkxf0nmydsu5wydkkxw3qx6nghn', | ||
networkId: RadixNetwork.Mainnet, | ||
applicationName: 'Radix Web3 dApp', | ||
applicationVersion: '1.0.0', | ||
}) | ||
const gatewayApi = GatewayApiClient.initialize( | ||
dAppToolkit.gatewayApi.clientConfig, | ||
) | ||
``` | ||
|
||
Detailed installation guide can be found in [@radixdlt/babylon-gateway-api-sdk](https://github.com/radixdlt/babylon-gateway/tree/main/sdk/typescript/#initialization) | ||
|
||
### Logger | ||
|
||
`createLogger` has been renamed to `Logger` | ||
|
||
``` | ||
import { Logger } from '@radixdlt/radix-dapp-toolkit' | ||
``` | ||
|
||
### Monorepo | ||
|
||
Following npm packages are no longer released independently | ||
|
||
- [√ Connect Button](https://www.npmjs.com/package/@radixdlt/connect-button) | ||
- [Wallet SDK](https://www.npmjs.com/package/@radixdlt/wallet-sdk) | ||
- [Radix Connect Schemas](https://www.npmjs.com/package/@radixdlt/radix-connect-schemas) | ||
|
||
All future development will proceed in the [Radix dApp Toolkit](https://www.npmjs.com/package/@radixdlt/radix-dapp-toolkit). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters