@gvnrdao/dh-sdk 0.0.296 → 0.0.298
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/deployments.d.ts +2 -0
- package/dist/deployments.js +65 -64
- package/dist/deployments.mjs +65 -64
- package/dist/graphs/diamond-hands.d.ts +15 -0
- package/dist/index.d.ts +0 -2
- package/dist/index.js +4944 -108215
- package/dist/index.mjs +4815 -108080
- package/dist/modules/diamond-hands-sdk.d.ts +2 -2
- package/dist/modules/withdrawal-address/withdrawal-address.module.d.ts +14 -2
- package/dist/server.js +235 -3
- package/dist/server.mjs +235 -3
- package/dist/utils/chunks/eip1559-broadcast.utils.d.ts +17 -1
- package/package.json +13 -14
- package/browser/dist/index.d.ts +0 -8
- package/browser/dist/index.d.ts.map +0 -1
- package/browser/dist/index.js +0 -25
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,eAAe,KAA4B,CAAC;AAgCzD,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC;AACpC,MAAM,MAAM,gBAAgB,GAAG,GAAG,CAAC;AACnC,MAAM,MAAM,qBAAqB,GAAG,GAAG,CAAC;AAQxC,eAAO,MACL,oBAAoB,OACpB,cAAc,OACd,iBAAiB,OACjB,YAAY,OACZ,eAAe,OACE,QAAQ,OACzB,aAAa,OACb,aAAa,OACb,YAAY,OACZ,WAAW,OACX,SAAS,OACT,UAAU,OACV,WAAW,OACX,cAAc,OACd,QAAQ,OACR,mBAAmB,OACnB,cAAc,OACd,cAAc,OACd,uBAAuB,OACvB,kBAAkB,OAClB,qBAAqB,OACrB,iBAAiB,OACjB,eAAe,OACf,gBAAgB,OAChB,OAAO,OACP,OAAO,OACP,QAAQ,OACR,aAAa,OACb,MAAM,OACN,QAAQ,OACR,iBAAiB,KACN,CAAC;;AAOd,wBAAyC"}
|
package/browser/dist/index.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Browser ESM entry point for Diamond Hands SDK
|
|
2
|
-
// Converts CommonJS exports to ES module imports for browser compatibility
|
|
3
|
-
// Uses the proven wrapper pattern from test-app/src/lib/lit-ops-wrapper.ts
|
|
4
|
-
// Import from the original built SDK (CommonJS module)
|
|
5
|
-
const SDKModule = require("../dist/index.js");
|
|
6
|
-
// Import lit-ops and lit-actions (using the wrapper pattern)
|
|
7
|
-
// TODO: Re-enable when these modules have proper ES module builds
|
|
8
|
-
// import * as LitOpsModule from "../../lit-ops/dist/index.js";
|
|
9
|
-
// import * as LitActionsModule from "../../lit-actions/dist/index.js";
|
|
10
|
-
// ========================================
|
|
11
|
-
// MAIN SDK EXPORTS
|
|
12
|
-
// ========================================
|
|
13
|
-
// Export main SDK classes (based on actual SDK exports)
|
|
14
|
-
export const DiamondHandsSDK = SDKModule.DiamondHandsSDK;
|
|
15
|
-
// ========================================
|
|
16
|
-
// RE-EXPORT CORE SDK ONLY
|
|
17
|
-
// ========================================
|
|
18
|
-
// Re-export core SDK exports only to avoid conflicts
|
|
19
|
-
// Note: CommonJS module, so we export specific items
|
|
20
|
-
export const { AuthParamsValidation, BPSConversions, BitcoinOperations, CacheManager, ContractManager, DiamondHandsSDK: SDKClass, ErrorCategory, ErrorSeverity, EventHelpers, LoanCreator, LoanQuery, LoanStatus, PaymentType, PositionStatus, SDKError, SatoshisConversions, UCDConversions, WeiConversions, createBitcoinOperations, createCacheManager, createContractManager, createLoanCreator, createLoanQuery, createPKPManager, failure, success, tryCatch, tryCatchAsync, unwrap, unwrapOr, validateSDKConfig, } = SDKModule;
|
|
21
|
-
// ========================================
|
|
22
|
-
// DEFAULT EXPORT
|
|
23
|
-
// ========================================
|
|
24
|
-
// Default export (main SDK class)
|
|
25
|
-
export default SDKModule.DiamondHandsSDK;
|