epistery 1.2.4 → 1.2.5
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/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -222,7 +222,7 @@ class EpisteryAttach {
|
|
|
222
222
|
|
|
223
223
|
// Get sponsor from contract
|
|
224
224
|
const ethers = await import('ethers');
|
|
225
|
-
const AgentArtifact = await import('epistery
|
|
225
|
+
const AgentArtifact = await import('epistery/artifacts/contracts/agent.sol/Agent.json', { with: { type: 'json' } });
|
|
226
226
|
const contract = new ethers.Contract(contractAddress, AgentArtifact.default.abi, serverWallet.ethers);
|
|
227
227
|
|
|
228
228
|
return await contract.sponsor();
|
package/package.json
CHANGED