@zyfai/sdk 0.1.15 → 0.1.16

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 CHANGED
@@ -1212,8 +1212,7 @@ var ZyfaiSDK = class {
1212
1212
  const signer = sessions[0].sessionValidator;
1213
1213
  console.log("Session validator:", signer);
1214
1214
  const activation = await this.activateSessionKey(
1215
- signer || "0x2483DA3A338895199E5e538530213157e931Bf06",
1216
- // TODO: This is a temporary fix to avoid the session validator being null
1215
+ signer,
1217
1216
  signatureResult.signature,
1218
1217
  signatureResult.sessionNonces
1219
1218
  );
package/dist/index.mjs CHANGED
@@ -1192,8 +1192,7 @@ var ZyfaiSDK = class {
1192
1192
  const signer = sessions[0].sessionValidator;
1193
1193
  console.log("Session validator:", signer);
1194
1194
  const activation = await this.activateSessionKey(
1195
- signer || "0x2483DA3A338895199E5e538530213157e931Bf06",
1196
- // TODO: This is a temporary fix to avoid the session validator being null
1195
+ signer,
1197
1196
  signatureResult.signature,
1198
1197
  signatureResult.sessionNonces
1199
1198
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyfai/sdk",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "TypeScript SDK for ZyFAI Yield Optimization Engine - Deploy Safe smart wallets, manage session keys, and interact with DeFi protocols",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",