@gvnrdao/dh-sdk 0.0.269 → 0.0.270
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/browser/dist/browser.js +1 -1
- package/dist/index.js +0 -24
- package/dist/index.mjs +0 -24
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -110387,30 +110387,6 @@ var LoanCreator = class {
|
|
|
110387
110387
|
`\u2705 Using btc-transaction-signer authorizedCidHex for certification (on-chain v${this.config.loanCreationValidatorVersion} getCid): ${certificationCid}`
|
|
110388
110388
|
);
|
|
110389
110389
|
}
|
|
110390
|
-
const litAny = this.config.litOps;
|
|
110391
|
-
if (litAny.config && isServiceMode) {
|
|
110392
|
-
litAny.config.validatorVersion = this.config.loanCreationValidatorVersion;
|
|
110393
|
-
if (this.config.ethRpcUrl) {
|
|
110394
|
-
litAny.config.ethRpcUrl = this.config.ethRpcUrl;
|
|
110395
|
-
}
|
|
110396
|
-
}
|
|
110397
|
-
if (certificationCid && isServiceMode) {
|
|
110398
|
-
if (typeof this.config.litOps.updateCertificationCid === "function") {
|
|
110399
|
-
this.config.litOps.updateCertificationCid(certificationCid);
|
|
110400
|
-
if (this.config.debug) {
|
|
110401
|
-
log.info(
|
|
110402
|
-
`\u2705 Stored certificationCid in LitOps for validation: ${certificationCid}`
|
|
110403
|
-
);
|
|
110404
|
-
}
|
|
110405
|
-
} else {
|
|
110406
|
-
this.config.litOps._certificationCid = certificationCid;
|
|
110407
|
-
if (this.config.debug) {
|
|
110408
|
-
log.info(
|
|
110409
|
-
`\u26A0\uFE0F LitOps.updateCertificationCid not available; stored _certificationCid fallback`
|
|
110410
|
-
);
|
|
110411
|
-
}
|
|
110412
|
-
}
|
|
110413
|
-
}
|
|
110414
110390
|
if (!isServiceMode && !this.config.litOpsSigner) {
|
|
110415
110391
|
return failure(
|
|
110416
110392
|
new SDKError({
|
package/dist/index.mjs
CHANGED
|
@@ -110311,30 +110311,6 @@ var LoanCreator = class {
|
|
|
110311
110311
|
`\u2705 Using btc-transaction-signer authorizedCidHex for certification (on-chain v${this.config.loanCreationValidatorVersion} getCid): ${certificationCid}`
|
|
110312
110312
|
);
|
|
110313
110313
|
}
|
|
110314
|
-
const litAny = this.config.litOps;
|
|
110315
|
-
if (litAny.config && isServiceMode) {
|
|
110316
|
-
litAny.config.validatorVersion = this.config.loanCreationValidatorVersion;
|
|
110317
|
-
if (this.config.ethRpcUrl) {
|
|
110318
|
-
litAny.config.ethRpcUrl = this.config.ethRpcUrl;
|
|
110319
|
-
}
|
|
110320
|
-
}
|
|
110321
|
-
if (certificationCid && isServiceMode) {
|
|
110322
|
-
if (typeof this.config.litOps.updateCertificationCid === "function") {
|
|
110323
|
-
this.config.litOps.updateCertificationCid(certificationCid);
|
|
110324
|
-
if (this.config.debug) {
|
|
110325
|
-
log.info(
|
|
110326
|
-
`\u2705 Stored certificationCid in LitOps for validation: ${certificationCid}`
|
|
110327
|
-
);
|
|
110328
|
-
}
|
|
110329
|
-
} else {
|
|
110330
|
-
this.config.litOps._certificationCid = certificationCid;
|
|
110331
|
-
if (this.config.debug) {
|
|
110332
|
-
log.info(
|
|
110333
|
-
`\u26A0\uFE0F LitOps.updateCertificationCid not available; stored _certificationCid fallback`
|
|
110334
|
-
);
|
|
110335
|
-
}
|
|
110336
|
-
}
|
|
110337
|
-
}
|
|
110338
110314
|
if (!isServiceMode && !this.config.litOpsSigner) {
|
|
110339
110315
|
return failure(
|
|
110340
110316
|
new SDKError({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gvnrdao/dh-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.270",
|
|
4
4
|
"description": "TypeScript SDK for Diamond Hands Protocol - Bitcoin-backed lending with LIT Protocol PKPs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"sideEffects": false,
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@gvnrdao/dh-lit-actions": "^0.0.303",
|
|
85
|
-
"@gvnrdao/dh-lit-ops": "^0.0.
|
|
85
|
+
"@gvnrdao/dh-lit-ops": "^0.0.290",
|
|
86
86
|
"@noble/hashes": "^1.5.0",
|
|
87
87
|
"axios": "^1.15.2",
|
|
88
88
|
"bech32": "^2.0.0",
|