@trade-it/react 0.1.1 → 0.3.0
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 +20 -0
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/dist/index.cjs +1296 -71
- package/dist/index.d.cts +49 -71
- package/dist/index.d.ts +49 -71
- package/dist/index.js +1293 -74
- package/package.json +16 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@trade-it/react` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## Unreleased
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Size the desktop Connect modal around the embedded connect flow while preserving the wider Trade modal
|
|
10
|
+
- Keep Connect full-screen on mobile and tall enough for the connected-account continuation state and embedded footer
|
|
11
|
+
|
|
12
|
+
## 0.2.0 - 2026-07-27
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- Typed `takeProfit` and `stopLoss` configuration for simple Buy entries
|
|
17
|
+
- `TriggerUnit` and the complete Trade Link parameter enum surface
|
|
18
|
+
- `OrderDirection.Even` support for zero-net options orders
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- Serialize multi-leg debit, credit, and even directions into embedded trade URLs
|
|
23
|
+
- Keep the package declarations independent of internal Trade It schemas
|
|
24
|
+
|
|
5
25
|
## 0.1.0 - 2026-02-25
|
|
6
26
|
|
|
7
27
|
Initial public SDK release (v1 foundation).
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Trade It, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@ Use this package when you want to:
|
|
|
7
7
|
- open the Trade It connect flow in a modal
|
|
8
8
|
- open prefilled trade flows in a modal
|
|
9
9
|
- keep users on your site while they connect brokerages and place trades
|
|
10
|
+
- prefill simple, bracket-exit, and multi-leg options orders with typed configuration
|
|
10
11
|
|
|
11
12
|
## Install
|
|
12
13
|
|