@intentlayer/sdk 0.1.1 → 0.1.2
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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8072,7 +8072,7 @@ async function createSubWallet(params, runtime) {
|
|
|
8072
8072
|
const walletAddress = await runtime.predictWalletAddress(params.parentWallet, salt);
|
|
8073
8073
|
const isDeployed = await runtime.isWalletDeployed(walletAddress);
|
|
8074
8074
|
if (!isDeployed) {
|
|
8075
|
-
await runtime.deployWallet(params.parentWallet, salt);
|
|
8075
|
+
await runtime.deployWallet(params.parentWallet, salt, params.agentName);
|
|
8076
8076
|
}
|
|
8077
8077
|
const constraintData = buildAgentConstraints(
|
|
8078
8078
|
params.constraints,
|
package/dist/index.mjs
CHANGED
|
@@ -6299,7 +6299,7 @@ async function createSubWallet(params, runtime) {
|
|
|
6299
6299
|
const walletAddress = await runtime.predictWalletAddress(params.parentWallet, salt);
|
|
6300
6300
|
const isDeployed = await runtime.isWalletDeployed(walletAddress);
|
|
6301
6301
|
if (!isDeployed) {
|
|
6302
|
-
await runtime.deployWallet(params.parentWallet, salt);
|
|
6302
|
+
await runtime.deployWallet(params.parentWallet, salt, params.agentName);
|
|
6303
6303
|
}
|
|
6304
6304
|
const constraintData = buildAgentConstraints(
|
|
6305
6305
|
params.constraints,
|