pixelon 0.3.26 → 0.3.27

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/dist/index.esm.js CHANGED
@@ -3656,7 +3656,10 @@ function resolveSummaryRows(rows, formValues, fieldStates) {
3656
3656
 
3657
3657
  const FETCH_TIMEOUT_MS = 12e4;
3658
3658
  function fetchViaEventBus(eventBus, service, url, method, body) {
3659
- const requestId = crypto.randomUUID();
3659
+ const requestId = globalThis.crypto?.randomUUID?.() ?? "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
3660
+ const r = Math.random() * 16 | 0;
3661
+ return (c === "x" ? r : r & 3 | 8).toString(16);
3662
+ });
3660
3663
  return new Promise((resolve, reject) => {
3661
3664
  const timeoutId = setTimeout(() => {
3662
3665
  unsubscribe();
package/dist/index.js CHANGED
@@ -3677,7 +3677,10 @@ function resolveSummaryRows(rows, formValues, fieldStates) {
3677
3677
 
3678
3678
  const FETCH_TIMEOUT_MS = 12e4;
3679
3679
  function fetchViaEventBus(eventBus, service, url, method, body) {
3680
- const requestId = crypto.randomUUID();
3680
+ const requestId = globalThis.crypto?.randomUUID?.() ?? "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
3681
+ const r = Math.random() * 16 | 0;
3682
+ return (c === "x" ? r : r & 3 | 8).toString(16);
3683
+ });
3681
3684
  return new Promise((resolve, reject) => {
3682
3685
  const timeoutId = setTimeout(() => {
3683
3686
  unsubscribe();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelon",
3
- "version": "0.3.26",
3
+ "version": "0.3.27",
4
4
  "description": "Design system de la marca goluti",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",