@omnity/ree-client-ts-sdk 0.6.9 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.cjs.js +29 -29
- package/dist/index.d.ts +42 -88
- package/dist/index.es.js +1525 -1550
- package/dist/react.cjs.js +1 -1
- package/dist/react.d.ts +42 -88
- package/dist/react.es.js +66 -66
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ import { ReeClient, Network, type Config } from "@omnity/ree-client-ts-sdk";
|
|
|
27
27
|
|
|
28
28
|
const config: Config = {
|
|
29
29
|
network: Network.Testnet, // or Network.Mainnet
|
|
30
|
-
|
|
30
|
+
xverseApiKey: "your-xverse-api-key",
|
|
31
31
|
exchangeIdlFactory: yourExchangeIdlFactory,
|
|
32
32
|
exchangeCanisterId: "your-exchange-canister-id",
|
|
33
33
|
exchangeId: "your-exchange-id",
|
|
@@ -558,7 +558,7 @@ import type {
|
|
|
558
558
|
```typescript
|
|
559
559
|
interface Config {
|
|
560
560
|
network: Network; // Network.Mainnet or Network.Testnet
|
|
561
|
-
|
|
561
|
+
xverseApiKey: string; // Your Xverse API key
|
|
562
562
|
exchangeIdlFactory: IDL.InterfaceFactory; // Exchange canister IDL
|
|
563
563
|
exchangeCanisterId: string; // Exchange canister ID
|
|
564
564
|
exchangeId: string; // Exchange ID for transactions
|