turbos-margin-sdk 0.9.1-next.0 → 0.9.1-next.1
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/CHANGELOG.md +55 -55
- package/dist/index.d.mts +12961 -15637
- package/dist/index.mjs +45717 -0
- package/dist/index.mjs.map +1 -0
- package/dist/rolldown-runtime-D7D4PA-g.mjs +13 -0
- package/package.json +11 -12
- package/dist/esm/index.js +0 -53601
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/package.json +0 -1
- package/dist/index.d.ts +0 -22789
- package/dist/index.js +0 -53601
- package/dist/index.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,197 +1,197 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.9.1-next.
|
|
3
|
+
## [0.9.1-next.1](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.11.0...0.9.1-next.1) (2026-06-22)
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
# [0.11.0](https://github.com/turbos-finance/turbos-
|
|
7
|
+
# [0.11.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.10.0...0.11.0) (2026-05-25)
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
### Features
|
|
11
11
|
|
|
12
|
-
* upgrade turbos-margin-trading mainnet version ([5730fef](https://github.com/turbos-finance/turbos-
|
|
12
|
+
* upgrade turbos-margin-trading mainnet version ([5730fef](https://github.com/turbos-finance/turbos-margin-sdk/commit/5730fef29dbda9c28fa3e656753b8b9362209a32))
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
# [0.10.0](https://github.com/turbos-finance/turbos-
|
|
16
|
+
# [0.10.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.9.0...0.10.0) (2026-05-25)
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
### Bug Fixes
|
|
20
20
|
|
|
21
|
-
* force ci node version ([bb769b4](https://github.com/turbos-finance/turbos-
|
|
21
|
+
* force ci node version ([bb769b4](https://github.com/turbos-finance/turbos-margin-sdk/commit/bb769b4087c2fb1c3e513bffeac6c9842b88423e))
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
### Features
|
|
25
25
|
|
|
26
|
-
* upgrade deepbook & deepbook-margin ([5774b02](https://github.com/turbos-finance/turbos-
|
|
27
|
-
* upgrade deepbook & deepbook-margin ([35de4ad](https://github.com/turbos-finance/turbos-
|
|
28
|
-
* upgrade turbos-margin-trading ([c875168](https://github.com/turbos-finance/turbos-
|
|
26
|
+
* upgrade deepbook & deepbook-margin ([5774b02](https://github.com/turbos-finance/turbos-margin-sdk/commit/5774b02eba2c40deca4fc92d075b857a557027cd))
|
|
27
|
+
* upgrade deepbook & deepbook-margin ([35de4ad](https://github.com/turbos-finance/turbos-margin-sdk/commit/35de4ad8823b71c37cf7bd005572fcb5c44cf8af))
|
|
28
|
+
* upgrade turbos-margin-trading ([c875168](https://github.com/turbos-finance/turbos-margin-sdk/commit/c87516865e66d80892f8f0f5c37c1bbb622b1834))
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
# [0.9.0](https://github.com/turbos-finance/turbos-
|
|
32
|
+
# [0.9.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.8.0...0.9.0) (2026-05-25)
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
### Bug Fixes
|
|
36
36
|
|
|
37
|
-
* force ci node version ([64e3d8d](https://github.com/turbos-finance/turbos-
|
|
37
|
+
* force ci node version ([64e3d8d](https://github.com/turbos-finance/turbos-margin-sdk/commit/64e3d8dcb9de095e6c78544bbf90dbbbc669414a))
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
### Features
|
|
41
41
|
|
|
42
|
-
* upgrade deepbook & deepbook-margin ([cce22a1](https://github.com/turbos-finance/turbos-
|
|
42
|
+
* upgrade deepbook & deepbook-margin ([cce22a1](https://github.com/turbos-finance/turbos-margin-sdk/commit/cce22a1869ed3704a8e571cdbbb1dcd03ceae8ed))
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
# [0.8.0](https://github.com/turbos-finance/turbos-
|
|
46
|
+
# [0.8.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.7.0...0.8.0) (2026-05-13)
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
### Features
|
|
50
50
|
|
|
51
|
-
* upgrade deepbook & deepbook-margin ([1bed8ed](https://github.com/turbos-finance/turbos-
|
|
51
|
+
* upgrade deepbook & deepbook-margin ([1bed8ed](https://github.com/turbos-finance/turbos-margin-sdk/commit/1bed8ed5bdc80499b82791161764457543f68c89))
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
# [0.7.0](https://github.com/turbos-finance/turbos-
|
|
55
|
+
# [0.7.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.6.0...0.7.0) (2026-02-12)
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
### Features
|
|
59
59
|
|
|
60
|
-
* upgrade abyss version ([fbb34d0](https://github.com/turbos-finance/turbos-
|
|
60
|
+
* upgrade abyss version ([fbb34d0](https://github.com/turbos-finance/turbos-margin-sdk/commit/fbb34d062b52ca127a63436a8330a3c74fb0fa2e))
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
# [0.6.0](https://github.com/turbos-finance/turbos-
|
|
64
|
+
# [0.6.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.5.0...0.6.0) (2026-02-11)
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
### Bug Fixes
|
|
68
68
|
|
|
69
|
-
* change default to mainnet ([ea90425](https://github.com/turbos-finance/turbos-
|
|
69
|
+
* change default to mainnet ([ea90425](https://github.com/turbos-finance/turbos-margin-sdk/commit/ea90425f22075aaa8d74f1bbcfec24eb312f21bf))
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
### Features
|
|
73
73
|
|
|
74
|
-
* upgrade deepbook-margin version ([4d734a2](https://github.com/turbos-finance/turbos-
|
|
74
|
+
* upgrade deepbook-margin version ([4d734a2](https://github.com/turbos-finance/turbos-margin-sdk/commit/4d734a2acb01509b18dbfce5eba510f88edf846e))
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
# [0.5.0](https://github.com/turbos-finance/turbos-
|
|
78
|
+
# [0.5.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.4.1...0.5.0) (2026-01-25)
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
### Features
|
|
82
82
|
|
|
83
|
-
* add abyss contract ([b9a2d19](https://github.com/turbos-finance/turbos-
|
|
84
|
-
* add abyss vaults configuration to testnet setup ([e55245a](https://github.com/turbos-finance/turbos-
|
|
85
|
-
* introduce Abyss module with vault, fee management, and configuration components ([22c2d2f](https://github.com/turbos-finance/turbos-
|
|
83
|
+
* add abyss contract ([b9a2d19](https://github.com/turbos-finance/turbos-margin-sdk/commit/b9a2d198dbe45409968f8c2fa4684c4079bff6ad))
|
|
84
|
+
* add abyss vaults configuration to testnet setup ([e55245a](https://github.com/turbos-finance/turbos-margin-sdk/commit/e55245a2753527ee03649e78eb7638f0fdc3a9c7))
|
|
85
|
+
* introduce Abyss module with vault, fee management, and configuration components ([22c2d2f](https://github.com/turbos-finance/turbos-margin-sdk/commit/22c2d2f5d2118de0c9a996480d285fa3eb803f65))
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
## [0.4.1](https://github.com/turbos-finance/turbos-
|
|
89
|
+
## [0.4.1](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.4.0...0.4.1) (2026-01-23)
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
|
|
93
|
-
# [0.4.0](https://github.com/turbos-finance/turbos-
|
|
93
|
+
# [0.4.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.3.2...0.4.0) (2026-01-21)
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
### Features
|
|
97
97
|
|
|
98
|
-
* add new margin manager functions without referral ([42e8be9](https://github.com/turbos-finance/turbos-
|
|
98
|
+
* add new margin manager functions without referral ([42e8be9](https://github.com/turbos-finance/turbos-margin-sdk/commit/42e8be9e04b5bf2dc09ec09d71f7df5e385ccca0))
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
## [0.3.2](https://github.com/turbos-finance/turbos-
|
|
102
|
+
## [0.3.2](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.3.1...0.3.2) (2026-01-19)
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
### Bug Fixes
|
|
106
106
|
|
|
107
|
-
* modules are not exposed ([9c6e465](https://github.com/turbos-finance/turbos-
|
|
107
|
+
* modules are not exposed ([9c6e465](https://github.com/turbos-finance/turbos-margin-sdk/commit/9c6e465a512b52cd3767c3cd1c0ebc059430c9e2))
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
## [0.3.1](https://github.com/turbos-finance/turbos-
|
|
111
|
+
## [0.3.1](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.3.0...0.3.1) (2026-01-19)
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
# [0.3.0](https://github.com/turbos-finance/turbos-
|
|
115
|
+
# [0.3.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.3.0-next.3...0.3.0) (2026-01-19)
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
# [0.3.0-next.3](https://github.com/turbos-finance/turbos-
|
|
119
|
+
# [0.3.0-next.3](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.3.0-next.2...0.3.0-next.3) (2026-01-19)
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
# [0.3.0-next.2](https://github.com/turbos-finance/turbos-
|
|
123
|
+
# [0.3.0-next.2](https://github.com/turbos-finance/turbos-margin-sdk/compare/v0.3.0-next.2...0.3.0-next.2) (2026-01-19)
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
|
|
127
|
-
# [0.3.0-next.2](https://github.com/turbos-finance/turbos-
|
|
127
|
+
# [0.3.0-next.2](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.3.0-next.1...v0.3.0-next.2) (2026-01-19)
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
### Bug Fixes
|
|
131
131
|
|
|
132
|
-
* update README usage example ([8ed50a1](https://github.com/turbos-finance/turbos-
|
|
132
|
+
* update README usage example ([8ed50a1](https://github.com/turbos-finance/turbos-margin-sdk/commit/8ed50a12bff012dee00ee714b8f2057a59dbc8f2))
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
# [0.3.0-next.1](https://github.com/turbos-finance/turbos-
|
|
136
|
+
# [0.3.0-next.1](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.3.0-next.0...0.3.0-next.1) (2026-01-19)
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
|
|
140
|
-
# [0.3.0-next.0](https://github.com/turbos-finance/turbos-
|
|
140
|
+
# [0.3.0-next.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.2.1-next.2...0.3.0-next.0) (2026-01-19)
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
### Features
|
|
144
144
|
|
|
145
|
-
* combine testnet and mainnet env together ([c1d9695](https://github.com/turbos-finance/turbos-
|
|
145
|
+
* combine testnet and mainnet env together ([c1d9695](https://github.com/turbos-finance/turbos-margin-sdk/commit/c1d9695fdc5e4acf6e684d7fc13c3e88f73adb21))
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
|
|
149
|
-
## [0.2.1-next.2](https://github.com/turbos-finance/turbos-
|
|
149
|
+
## [0.2.1-next.2](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.2.1-next.1...0.2.1-next.2) (2026-01-14)
|
|
150
150
|
|
|
151
151
|
|
|
152
152
|
|
|
153
|
-
## [0.2.1-next.1](https://github.com/turbos-finance/turbos-
|
|
153
|
+
## [0.2.1-next.1](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.2.1-next.0...0.2.1-next.1) (2026-01-14)
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
## [0.2.1-next.0](https://github.com/turbos-finance/turbos-
|
|
157
|
+
## [0.2.1-next.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.2.0...0.2.1-next.0) (2026-01-14)
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
# [0.2.0](https://github.com/turbos-finance/turbos-
|
|
161
|
+
# [0.2.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.1.0...0.2.0) (2026-01-13)
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
### Features
|
|
165
165
|
|
|
166
|
-
* new testnet contract ([0f6d37a](https://github.com/turbos-finance/turbos-
|
|
166
|
+
* new testnet contract ([0f6d37a](https://github.com/turbos-finance/turbos-margin-sdk/commit/0f6d37abb652557f747a7a078593f2be5720e90c))
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
# [0.1.0](https://github.com/turbos-finance/turbos-
|
|
170
|
+
# [0.1.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/0.1.0-next.0...0.1.0) (2026-01-12)
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
# [0.1.0-next.0](https://github.com/turbos-finance/turbos-
|
|
174
|
+
# [0.1.0-next.0](https://github.com/turbos-finance/turbos-margin-sdk/compare/1d67344a88a622fda252a2ca43eaaaea0762f928...0.1.0-next.0) (2026-01-12)
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
### Bug Fixes
|
|
178
178
|
|
|
179
|
-
* ts error ([92adcd0](https://github.com/turbos-finance/turbos-
|
|
180
|
-
* update MARGIN_REGISTRY constant value ([e9032aa](https://github.com/turbos-finance/turbos-
|
|
179
|
+
* ts error ([92adcd0](https://github.com/turbos-finance/turbos-margin-sdk/commit/92adcd0da4b96b7e5785d2e2d738b60d7527ec77))
|
|
180
|
+
* update MARGIN_REGISTRY constant value ([e9032aa](https://github.com/turbos-finance/turbos-margin-sdk/commit/e9032aa9e93099cb9a5e90f36d8784c9c852b1ef))
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
### Features
|
|
184
184
|
|
|
185
|
-
* add deepbook ([2373318](https://github.com/turbos-finance/turbos-
|
|
186
|
-
* add DEEPBOOK_REGISTRY_ID constant ([70d047d](https://github.com/turbos-finance/turbos-
|
|
187
|
-
* Add pool proxy entry point. ([a17cfec](https://github.com/turbos-finance/turbos-
|
|
188
|
-
* change config ([1d67344](https://github.com/turbos-finance/turbos-
|
|
189
|
-
* new testnet contract ([9635af3](https://github.com/turbos-finance/turbos-
|
|
190
|
-
* new testnet version ([7529770](https://github.com/turbos-finance/turbos-
|
|
191
|
-
* new testnet version ([c7580e9](https://github.com/turbos-finance/turbos-
|
|
192
|
-
* remove `ts-expect-error` injection from `util.ts` during generation ([babe5dd](https://github.com/turbos-finance/turbos-
|
|
193
|
-
* update generation script to conditionally export functions/structs and add `margin-constants` and `pool-proxy` entries ([e1bf767](https://github.com/turbos-finance/turbos-
|
|
194
|
-
* upgrade testnet contract ([759d7f6](https://github.com/turbos-finance/turbos-
|
|
185
|
+
* add deepbook ([2373318](https://github.com/turbos-finance/turbos-margin-sdk/commit/2373318cb3c720d68b903d27a272373a077b2c08))
|
|
186
|
+
* add DEEPBOOK_REGISTRY_ID constant ([70d047d](https://github.com/turbos-finance/turbos-margin-sdk/commit/70d047d420640ec4b6796fadc3aeb7ae00942cdc))
|
|
187
|
+
* Add pool proxy entry point. ([a17cfec](https://github.com/turbos-finance/turbos-margin-sdk/commit/a17cfecda1d051984977bf1854b49f84118b3472))
|
|
188
|
+
* change config ([1d67344](https://github.com/turbos-finance/turbos-margin-sdk/commit/1d67344a88a622fda252a2ca43eaaaea0762f928))
|
|
189
|
+
* new testnet contract ([9635af3](https://github.com/turbos-finance/turbos-margin-sdk/commit/9635af345ead27fff1f255fae2364c6e9fb9474d))
|
|
190
|
+
* new testnet version ([7529770](https://github.com/turbos-finance/turbos-margin-sdk/commit/7529770d2af0df4b31adbec6e736db41968f0436))
|
|
191
|
+
* new testnet version ([c7580e9](https://github.com/turbos-finance/turbos-margin-sdk/commit/c7580e96f70b11286b1afa13f82899fd067b44bc))
|
|
192
|
+
* remove `ts-expect-error` injection from `util.ts` during generation ([babe5dd](https://github.com/turbos-finance/turbos-margin-sdk/commit/babe5dd79c0ca6b19e998b8fe9e943306ac559b4))
|
|
193
|
+
* update generation script to conditionally export functions/structs and add `margin-constants` and `pool-proxy` entries ([e1bf767](https://github.com/turbos-finance/turbos-margin-sdk/commit/e1bf7670ee5761c4eefa894691c30403277ecec8))
|
|
194
|
+
* upgrade testnet contract ([759d7f6](https://github.com/turbos-finance/turbos-margin-sdk/commit/759d7f62f231fc394493f732ec18eb9a7d18845e))
|
|
195
195
|
|
|
196
196
|
# [0.11.0](https://github.com/turbos-finance/turbos-omm-sdk-sdk/compare/0.10.0...0.11.0) (2026-05-25)
|
|
197
197
|
|