@brokerize/elements 1.0.1 → 1.0.3

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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ # 1.0.3 (released 2024-10-16)
4
+
5
+ - `FIXED` the display of available size to sell from a position in the order form
6
+ - `FIXED` the execution size display in order receipts
7
+
8
+ # 1.0.1, 1.0.2 (released 2024-10-04)
9
+
10
+ These releases are only small documentation and tag changes related to the switch to public npm.
11
+
3
12
  # 1.0.0 (released 2024-10-04)
4
13
 
5
14
  - `CHANGED` the loading indicators throughout the library have been replaced with prettier animated SVGs. Those are hosted from `https://assets.brokerize.com` by default, but this can be changed to self-hosting using the new `Brokerize.Elements.configure` function. The loader's primary color can be configured using the new `zl-loader-color` theme property
package/README.md CHANGED
@@ -4,14 +4,13 @@
4
4
 
5
5
  # how to install
6
6
 
7
- The brokerize client libraries are not yet publicly available, so you will need to get a token to be able to install it from our private package registry.
7
+ The brokerize client libraries are publicly available, so you can just install them like any other npm package:
8
8
 
9
9
  Once you have the token, this is how you add it to a project:
10
10
 
11
11
  ```
12
12
  $ npm init -y
13
- $ npm config set @brokerize:registry https://npm.pkg.github.com --location project
14
- $ npm config set 'https://npm.pkg.github.com/:_authToken' --location project "<PROVIDED_GITHUB_PACKAGE_INSTALL_TOKEN>"
13
+ $ npm install @brokerize/elements
15
14
  ```
16
15
 
17
16
  ## usage example
package/dist/bundle.es.js CHANGED
@@ -19596,7 +19596,9 @@ function yI(t, e, n) {
19596
19596
  type: "amount",
19597
19597
  value: {
19598
19598
  value: y.size.value,
19599
- currency: y.size.currency || "XXX"
19599
+ currency: y.size.currency || "XXX",
19600
+ minDecimals: y.size.minDecimals,
19601
+ maxDecimals: y.size.maxDecimals
19600
19602
  }
19601
19603
  }
19602
19604
  },
@@ -47506,8 +47508,9 @@ function i6(t, e) {
47506
47508
  });
47507
47509
  }
47508
47510
  function o6(t, e) {
47511
+ var r, i, o, l;
47509
47512
  const n = e.security.selector;
47510
- return t.cryptoPair === n.cryptoPair || t.cryptoCode === n.cryptoCode || t.isin === t.isin || t.usTicker === t.usTicker;
47513
+ return !!((r = n.cryptoPair) != null && r.length && t.cryptoPair === n.cryptoPair || (i = n.cryptoCode) != null && i.length && t.cryptoCode === n.cryptoCode || (o = n.isin) != null && o.length && t.isin === n.isin || (l = n.usTicker) != null && l.length && t.usTicker === n.usTicker);
47511
47514
  }
47512
47515
  function l6(t, e, n, r) {
47513
47516
  return new ci((i) => {