@gvnrdao/dh-sdk 0.0.126 → 0.0.128

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.
@@ -0,0 +1,90 @@
1
+ /*!
2
+ * Ensure correct constructor
3
+ */
4
+
5
+ /*!
6
+ * Inherit from Error.prototype
7
+ */
8
+
9
+ /*!
10
+ * Primary Exports
11
+ */
12
+
13
+ /*!
14
+ * Return a function that will copy properties from
15
+ * one object to another excluding any originally
16
+ * listed. Returned function will create a new `{}`.
17
+ *
18
+ * @param {String} excluded properties ...
19
+ * @return {Function}
20
+ */
21
+
22
+ /*!
23
+ * Statically set name
24
+ */
25
+
26
+ /*!
27
+ * The buffer module from node.js, for the browser.
28
+ *
29
+ * @author Feross Aboukhadijeh <https://feross.org>
30
+ * @license MIT
31
+ */
32
+
33
+ /*!
34
+ * assertion-error
35
+ * Copyright(c) 2013 Jake Luer <jake@qualiancy.com>
36
+ * MIT Licensed
37
+ */
38
+
39
+ /*!
40
+ * depd
41
+ * Copyright(c) 2015 Douglas Christopher Wilson
42
+ * MIT Licensed
43
+ */
44
+
45
+ /*! *****************************************************************************
46
+ Copyright (c) Microsoft Corporation.
47
+
48
+ Permission to use, copy, modify, and/or distribute this software for any
49
+ purpose with or without fee is hereby granted.
50
+
51
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
52
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
53
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
54
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
55
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
56
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
57
+ PERFORMANCE OF THIS SOFTWARE.
58
+ ***************************************************************************** */
59
+
60
+ /*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors */
61
+
62
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
63
+
64
+ /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
65
+
66
+ /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
67
+
68
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
69
+
70
+ /**
71
+ * @license
72
+ * Lodash <https://lodash.com/>
73
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
74
+ * Released under MIT license <https://lodash.com/license>
75
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
76
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
77
+ */
78
+
79
+ /**
80
+ * [js-sha3]{@link https://github.com/emn178/js-sha3}
81
+ *
82
+ * @version 0.8.0
83
+ * @author Chen, Yi-Cyuan [emn178@gmail.com]
84
+ * @copyright Chen, Yi-Cyuan 2015-2018
85
+ * @license MIT
86
+ */
87
+
88
+ //! stable.js 0.1.8, https://github.com/Two-Screen/stable
89
+
90
+ //! © 2018 Angry Bytes and contributors. MIT licensed.
@@ -0,0 +1,9 @@
1
+ import * as SDKModule from "../dist/index.js";
2
+ export declare const DiamondHandsSDK: typeof SDKModule.DiamondHandsSDK;
3
+ export type CreateLoanRequest = any;
4
+ export type CreateLoanResult = any;
5
+ export type DiamondHandsSDKConfig = any;
6
+ export * from "../dist/index.js";
7
+ declare const _default: typeof SDKModule.DiamondHandsSDK;
8
+ export default _default;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,SAAS,MAAM,kBAAkB,CAAC;AAY9C,eAAO,MAAM,eAAe,kCAA4B,CAAC;AAoCzD,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC;AACpC,MAAM,MAAM,gBAAgB,GAAG,GAAG,CAAC;AACnC,MAAM,MAAM,qBAAqB,GAAG,GAAG,CAAC;AAOxC,cAAc,kBAAkB,CAAC;;AAOjC,wBAAyC"}
@@ -0,0 +1,24 @@
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
5
+ import * as SDKModule from "../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
+ export * from "../dist/index.js";
20
+ // ========================================
21
+ // DEFAULT EXPORT
22
+ // ========================================
23
+ // Default export (main SDK class)
24
+ export default SDKModule.DiamondHandsSDK;