@rhinestone/sdk 0.12.0 → 0.12.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.
|
@@ -142,5 +142,5 @@ async function getPortfolio(config, onTestnets) {
|
|
|
142
142
|
const address = (0, accounts_1.getAddress)(config);
|
|
143
143
|
const chainId = onTestnets ? chains_1.sepolia.id : chains_1.mainnet.id;
|
|
144
144
|
const orchestrator = (0, utils_2.getOrchestratorByChain)(chainId, config.rhinestoneApiKey);
|
|
145
|
-
return orchestrator.getPortfolio(address
|
|
145
|
+
return orchestrator.getPortfolio(address);
|
|
146
146
|
}
|
|
@@ -130,7 +130,7 @@ async function prepareTransactionAsIntent(config, sourceChain, targetChain, call
|
|
|
130
130
|
? {
|
|
131
131
|
chainIds: [sourceChain.id],
|
|
132
132
|
}
|
|
133
|
-
:
|
|
133
|
+
: undefined;
|
|
134
134
|
const metaIntent = {
|
|
135
135
|
targetChainId: targetChain.id,
|
|
136
136
|
tokenTransfers: tokenRequests.map((tokenRequest) => ({
|
|
@@ -246,7 +246,7 @@ async function getUserOpOrderPath(sourceChain, targetChain, tokenRequests, accou
|
|
|
246
246
|
? {
|
|
247
247
|
chainIds: [sourceChain.id],
|
|
248
248
|
}
|
|
249
|
-
:
|
|
249
|
+
: undefined;
|
|
250
250
|
const metaIntent = {
|
|
251
251
|
targetChainId: targetChain.id,
|
|
252
252
|
tokenTransfers: tokenRequests.map((tokenRequest) => ({
|