@gvnrdao/dh-sdk 0.0.219 → 0.0.220
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/index.js +5 -24
- package/dist/index.js +1128 -997
- package/dist/index.mjs +1128 -997
- package/dist/modules/bitcoin/bitcoin-operations.module.d.ts +2 -10
- package/dist/modules/cache/cache-manager.module.d.ts +200 -41
- package/dist/modules/diamond-hands-sdk.d.ts +1 -5
- package/dist/modules/loan/loan-query.module.d.ts +1 -5
- package/dist/modules/pkp/pkp-manager.module.d.ts +1 -5
- package/package.json +5 -5
- package/browser/dist/397.browser.js +0 -2
- package/browser/dist/397.browser.js.LICENSE.txt +0 -1
- package/browser/dist/833.browser.js +0 -2
- package/browser/dist/833.browser.js.LICENSE.txt +0 -1
- package/browser/dist/browser.js +0 -2
- package/browser/dist/browser.js.LICENSE.txt +0 -23
package/browser/dist/index.js
CHANGED
|
@@ -1,25 +1,6 @@
|
|
|
1
1
|
// Browser ESM entry point for Diamond Hands SDK
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
|
|
6
|
-
|
|
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;
|
|
2
|
+
// Static ESM re-exports from the package-root ESM build.
|
|
3
|
+
// Avoids the CJS require() circular reference that esbuild/Vite introduced
|
|
4
|
+
// when the wrapper required ../dist/index.js (the package's own CJS entry).
|
|
5
|
+
export * from '../../dist/index.mjs';
|
|
6
|
+
export { default } from '../../dist/index.mjs';
|