@gvnrdao/dh-sdk 0.0.117 → 0.0.118
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 +14 -15
- package/dist/index.mjs +14 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -42891,21 +42891,20 @@ var PKPAuthorization = class {
|
|
|
42891
42891
|
}
|
|
42892
42892
|
log.info("\u{1F4E4} Complete jsParams (sanitized JSON):", JSON.stringify(sanitizedParams, null, 2));
|
|
42893
42893
|
}
|
|
42894
|
-
|
|
42895
|
-
|
|
42896
|
-
|
|
42897
|
-
|
|
42898
|
-
|
|
42899
|
-
|
|
42900
|
-
|
|
42901
|
-
|
|
42902
|
-
|
|
42903
|
-
|
|
42904
|
-
|
|
42905
|
-
|
|
42906
|
-
|
|
42907
|
-
|
|
42908
|
-
}
|
|
42894
|
+
console.warn("[PKP-AUTH] \u26A0\uFE0F TEMPORARY FIX: FORCING hardcoded Sepolia contract addresses");
|
|
42895
|
+
const hardcodedSepoliaAddresses = {
|
|
42896
|
+
PositionManager: "0x5fC008a31985349D304184848B8940924b815946",
|
|
42897
|
+
LoanOperationsManagerModule: "0x85079F44fD612489631cc412833659f2F2d09323",
|
|
42898
|
+
TermManagerModule: "0x8748639e561F9b18C02235e837E82acEDc84876f",
|
|
42899
|
+
UCDController: "0xEE24c338e394610b503768Ba7D8A8c26efdD3Aeb",
|
|
42900
|
+
UCDToken: "0x86060Fa5B3E01E003b8aFd9C1295F1F444a7dC60",
|
|
42901
|
+
BTCProofValidator: "0x79469590b41AF8b21276914da7f18FF136B59afB",
|
|
42902
|
+
PriceFeedConsumer: "0xA285198196B8f4f658DC81bf4e99A5DC6c191694"
|
|
42903
|
+
};
|
|
42904
|
+
jsParams["contracts"] = hardcodedSepoliaAddresses;
|
|
42905
|
+
jsParams["contractAddresses"] = hardcodedSepoliaAddresses;
|
|
42906
|
+
console.log("[PKP-AUTH] \u2705 TEMPORARY: Hardcoded addresses FORCED into jsParams (always)");
|
|
42907
|
+
console.log("[PKP-AUTH] \u2705 Hardcoded addresses:", JSON.stringify(hardcodedSepoliaAddresses, null, 2));
|
|
42909
42908
|
console.log("[PKP-AUTH] FINAL jsParams being sent to LIT Action", {
|
|
42910
42909
|
hasContracts: !!jsParams.contracts,
|
|
42911
42910
|
hasContractAddresses: !!jsParams.contractAddresses,
|
package/dist/index.mjs
CHANGED
|
@@ -42796,21 +42796,20 @@ var PKPAuthorization = class {
|
|
|
42796
42796
|
}
|
|
42797
42797
|
log.info("\u{1F4E4} Complete jsParams (sanitized JSON):", JSON.stringify(sanitizedParams, null, 2));
|
|
42798
42798
|
}
|
|
42799
|
-
|
|
42800
|
-
|
|
42801
|
-
|
|
42802
|
-
|
|
42803
|
-
|
|
42804
|
-
|
|
42805
|
-
|
|
42806
|
-
|
|
42807
|
-
|
|
42808
|
-
|
|
42809
|
-
|
|
42810
|
-
|
|
42811
|
-
|
|
42812
|
-
|
|
42813
|
-
}
|
|
42799
|
+
console.warn("[PKP-AUTH] \u26A0\uFE0F TEMPORARY FIX: FORCING hardcoded Sepolia contract addresses");
|
|
42800
|
+
const hardcodedSepoliaAddresses = {
|
|
42801
|
+
PositionManager: "0x5fC008a31985349D304184848B8940924b815946",
|
|
42802
|
+
LoanOperationsManagerModule: "0x85079F44fD612489631cc412833659f2F2d09323",
|
|
42803
|
+
TermManagerModule: "0x8748639e561F9b18C02235e837E82acEDc84876f",
|
|
42804
|
+
UCDController: "0xEE24c338e394610b503768Ba7D8A8c26efdD3Aeb",
|
|
42805
|
+
UCDToken: "0x86060Fa5B3E01E003b8aFd9C1295F1F444a7dC60",
|
|
42806
|
+
BTCProofValidator: "0x79469590b41AF8b21276914da7f18FF136B59afB",
|
|
42807
|
+
PriceFeedConsumer: "0xA285198196B8f4f658DC81bf4e99A5DC6c191694"
|
|
42808
|
+
};
|
|
42809
|
+
jsParams["contracts"] = hardcodedSepoliaAddresses;
|
|
42810
|
+
jsParams["contractAddresses"] = hardcodedSepoliaAddresses;
|
|
42811
|
+
console.log("[PKP-AUTH] \u2705 TEMPORARY: Hardcoded addresses FORCED into jsParams (always)");
|
|
42812
|
+
console.log("[PKP-AUTH] \u2705 Hardcoded addresses:", JSON.stringify(hardcodedSepoliaAddresses, null, 2));
|
|
42814
42813
|
console.log("[PKP-AUTH] FINAL jsParams being sent to LIT Action", {
|
|
42815
42814
|
hasContracts: !!jsParams.contracts,
|
|
42816
42815
|
hasContractAddresses: !!jsParams.contractAddresses,
|
package/package.json
CHANGED