@hexclave/js 1.0.35 → 1.0.36

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.
@@ -1,14 +1,14 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-BE-pF4vm.js');
3
+ let _hexclave_shared_dist_utils_dev_tool = require("@hexclave/shared/dist/utils/dev-tool");
4
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
+ let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
6
+ let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
3
7
  let _hexclave_shared_dist_interface_admin_metrics = require("@hexclave/shared/dist/interface/admin-metrics");
4
8
  let _hexclave_shared_dist_utils_analytics_clickmap_overlay = require("@hexclave/shared/dist/utils/analytics-clickmap-overlay");
5
- let _hexclave_shared_dist_utils_dev_tool = require("@hexclave/shared/dist/utils/dev-tool");
6
9
  let _hexclave_shared_dist_utils_dom = require("@hexclave/shared/dist/utils/dom");
7
10
  let _hexclave_shared_dist_utils_elements_chain = require("@hexclave/shared/dist/utils/elements-chain");
8
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
9
11
  let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
10
- let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
11
- let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
12
12
  let __clickmap_styles_js = require("./clickmap-styles.js");
13
13
 
14
14
  //#region src/clickmap/clickmap-core.ts
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-BE-pF4vm.js');
3
- let _hexclave_shared_dist_utils_analytics_clickmap_overlay = require("@hexclave/shared/dist/utils/analytics-clickmap-overlay");
4
3
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
4
  let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
6
5
  let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
6
+ let _hexclave_shared_dist_utils_analytics_clickmap_overlay = require("@hexclave/shared/dist/utils/analytics-clickmap-overlay");
7
7
 
8
8
  //#region src/clickmap/index.ts
9
9
  function consumeResumeSentinel() {
@@ -2,11 +2,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-BE-pF4vm.js');
3
3
  let _hexclave_shared_dist_utils_dev_tool = require("@hexclave/shared/dist/utils/dev-tool");
4
4
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
- let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
6
- let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
7
5
  let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
8
6
  let ___generated_env_js = require("../generated/env.js");
7
+ let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
9
8
  let ___lib_hexclave_app_apps_implementations_common_js = require("../lib/hexclave-app/apps/implementations/common.js");
9
+ let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
10
10
  let ___lib_hexclave_app_url_targets_js = require("../lib/hexclave-app/url-targets.js");
11
11
  let __dev_tool_styles_js = require("./dev-tool-styles.js");
12
12
  let __dev_tool_trigger_position_js = require("./dev-tool-trigger-position.js");
@@ -1,10 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-BE-pF4vm.js');
3
3
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
4
- let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
5
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
6
4
  let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
7
5
  let ___generated_env_js = require("../generated/env.js");
6
+ let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
7
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
8
8
 
9
9
  //#region src/dev-tool/index.ts
10
10
  const OVERRIDE_KEY = "__hexclave-dev-tool-override";
@@ -1,12 +1,12 @@
1
+ import { CLICKMAP_ROOT_ID, DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
2
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
+ import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
4
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
1
5
  import { AnalyticsClickmapResponseBodySchema } from "@hexclave/shared/dist/interface/admin-metrics";
2
6
  import { CLICKMAP_OVERLAY_RESUME_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay";
3
- import { CLICKMAP_ROOT_ID, DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
4
7
  import { cssEscapeIdent } from "@hexclave/shared/dist/utils/dom";
5
8
  import { buildElementsChain, parseElementsChain } from "@hexclave/shared/dist/utils/elements-chain";
6
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
7
9
  import { stringCompare } from "@hexclave/shared/dist/utils/strings";
8
- import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
9
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
10
10
  import { clickmapCSS } from "./clickmap-styles.js";
11
11
 
12
12
  //#region src/clickmap/clickmap-core.ts
@@ -1,7 +1,7 @@
1
- import { CLICKMAP_OVERLAY_RESUME_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay";
2
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
2
  import { canMountIntoDom } from "../in-page-ui/dom.js";
4
3
  import { captureError } from "@hexclave/shared/dist/utils/errors";
4
+ import { CLICKMAP_OVERLAY_RESUME_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay";
5
5
 
6
6
  //#region src/clickmap/index.ts
7
7
  function consumeResumeSentinel() {
@@ -1,10 +1,10 @@
1
1
  import { DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
2
2
  import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
3
- import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
4
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
5
3
  import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
6
4
  import { envVars } from "../generated/env.js";
5
+ import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
7
6
  import { getBaseUrl } from "../lib/hexclave-app/apps/implementations/common.js";
7
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
8
8
  import { getPagePrompt } from "../lib/hexclave-app/url-targets.js";
9
9
  import { devToolCSS } from "./dev-tool-styles.js";
10
10
  import { clampTriggerPosition, getSnappedTriggerPlacement, resolveTriggerPosition } from "./dev-tool-trigger-position.js";
@@ -1,8 +1,8 @@
1
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
- import { canMountIntoDom } from "../in-page-ui/dom.js";
3
- import { captureError } from "@hexclave/shared/dist/utils/errors";
4
2
  import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
5
3
  import { envVars } from "../generated/env.js";
4
+ import { canMountIntoDom } from "../in-page-ui/dom.js";
5
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
6
6
 
7
7
  //#region src/dev-tool/index.ts
8
8
  const OVERRIDE_KEY = "__hexclave-dev-tool-override";
@@ -1,5 +1,5 @@
1
- import { deindent } from "@hexclave/shared/dist/utils/strings";
2
1
  import { HexclaveAssertionError, throwErr } from "@hexclave/shared/dist/utils/errors";
2
+ import { deindent } from "@hexclave/shared/dist/utils/strings";
3
3
  import { KnownError, KnownErrors } from "@hexclave/shared";
4
4
  import { Result } from "@hexclave/shared/dist/utils/results";
5
5
  import { constructRedirectUrl } from "../utils/url.js";
@@ -1,7 +1,7 @@
1
1
  import { neverResolve, runAsynchronously, wait } from "@hexclave/shared/dist/utils/promises";
2
- import { deindent, mergeScopeStrings } from "@hexclave/shared/dist/utils/strings";
3
- import { HexclaveAssertionError, captureError, throwErr } from "@hexclave/shared/dist/utils/errors";
4
2
  import { createUrlIfValid, getRelativePart, isRelative } from "@hexclave/shared/dist/utils/urls";
3
+ import { HexclaveAssertionError, captureError, throwErr } from "@hexclave/shared/dist/utils/errors";
4
+ import { deindent, mergeScopeStrings } from "@hexclave/shared/dist/utils/strings";
5
5
  import { HexclaveClientInterface, KnownError, KnownErrors } from "@hexclave/shared";
6
6
  import { Result } from "@hexclave/shared/dist/utils/results";
7
7
  import { isBrowserLike } from "@hexclave/shared/dist/utils/env";
@@ -1,6 +1,6 @@
1
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
- import { HexclaveAssertionError, captureError, throwErr } from "@hexclave/shared/dist/utils/errors";
3
2
  import { getDefaultApiUrls } from "@hexclave/shared/dist/utils/urls";
3
+ import { HexclaveAssertionError, captureError, throwErr } from "@hexclave/shared/dist/utils/errors";
4
4
  import { Result } from "@hexclave/shared/dist/utils/results";
5
5
  import { isBrowserLike } from "@hexclave/shared/dist/utils/env";
6
6
  import { filterUndefined, omit } from "@hexclave/shared/dist/utils/objects";
@@ -12,7 +12,7 @@ import { AsyncCache } from "@hexclave/shared/dist/utils/caches";
12
12
  import { createGlobal, getGlobal } from "@hexclave/shared/dist/utils/globals";
13
13
 
14
14
  //#region src/lib/hexclave-app/apps/implementations/common.ts
15
- const clientVersion = "js @hexclave/js@1.0.35";
15
+ const clientVersion = "js @hexclave/js@1.0.36";
16
16
  if (clientVersion.startsWith("STACK_COMPILE_TIME")) throw new HexclaveAssertionError("Client version was not replaced. Something went wrong during build!");
17
17
  const replaceHexclavePortPrefix = (input) => {
18
18
  if (!input) return input;
@@ -1,7 +1,7 @@
1
1
  import { CLICKMAP_ROOT_ID, DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
2
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
3
  import { cssEscapeIdent } from "@hexclave/shared/dist/utils/dom";
3
4
  import { ELEMENTS_CHAIN_MAX_DEPTH, buildElementsChain } from "@hexclave/shared/dist/utils/elements-chain";
4
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
5
5
  import { isBrowserLike } from "@hexclave/shared/dist/utils/env";
6
6
  import { generateUuid, isAdBlockerNetworkError, isAnalyticsNotEnabledError } from "./session-replay.js";
7
7
 
@@ -1,5 +1,5 @@
1
- import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
2
1
  import { getRelativePart } from "@hexclave/shared/dist/utils/urls";
2
+ import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
3
3
 
4
4
  //#region src/lib/hexclave-app/apps/implementations/redirect-page-urls.ts
5
5
  const crossDomainAuthQueryParams = {
@@ -1,9 +1,9 @@
1
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
+ import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
3
+ import { envVars } from "../generated/env.js";
2
4
  import { canMountIntoDom, getGlobalUiInstance, h, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
3
5
  import { getInPageUiBaseCSS } from "../in-page-ui/base-styles.js";
4
6
  import { captureError } from "@hexclave/shared/dist/utils/errors";
5
- import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
6
- import { envVars } from "../generated/env.js";
7
7
 
8
8
  //#region src/pushed-config-error-overlay/index.ts
9
9
  const GLOBAL_INSTANCE_KEY = "__hexclave-pushed-config-error-overlay";
package/dist/lib/auth.js CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-BE-pF4vm.js');
3
- let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
4
3
  let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
4
+ let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
5
5
  let _hexclave_shared = require("@hexclave/shared");
6
6
  let _hexclave_shared_dist_utils_results = require("@hexclave/shared/dist/utils/results");
7
7
  let ___utils_url_js = require("../utils/url.js");
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../../../chunk-BE-pF4vm.js');
3
3
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
4
- let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
5
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
6
4
  let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
5
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
6
+ let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
7
7
  let _hexclave_shared = require("@hexclave/shared");
8
8
  let _hexclave_shared_dist_utils_results = require("@hexclave/shared/dist/utils/results");
9
9
  let _hexclave_shared_dist_utils_env = require("@hexclave/shared/dist/utils/env");
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../../../chunk-BE-pF4vm.js');
3
3
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
4
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
5
4
  let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
5
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
6
6
  let _hexclave_shared_dist_utils_results = require("@hexclave/shared/dist/utils/results");
7
7
  let _hexclave_shared_dist_utils_env = require("@hexclave/shared/dist/utils/env");
8
8
  let _hexclave_shared_dist_utils_objects = require("@hexclave/shared/dist/utils/objects");
@@ -14,7 +14,7 @@ let _hexclave_shared_dist_utils_caches = require("@hexclave/shared/dist/utils/ca
14
14
  let _hexclave_shared_dist_utils_globals = require("@hexclave/shared/dist/utils/globals");
15
15
 
16
16
  //#region src/lib/hexclave-app/apps/implementations/common.ts
17
- const clientVersion = "js @hexclave/js@1.0.35";
17
+ const clientVersion = "js @hexclave/js@1.0.36";
18
18
  if (clientVersion.startsWith("STACK_COMPILE_TIME")) throw new _hexclave_shared_dist_utils_errors.HexclaveAssertionError("Client version was not replaced. Something went wrong during build!");
19
19
  const replaceHexclavePortPrefix = (input) => {
20
20
  if (!input) return input;
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../../../chunk-BE-pF4vm.js');
3
3
  let _hexclave_shared_dist_utils_dev_tool = require("@hexclave/shared/dist/utils/dev-tool");
4
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
4
5
  let _hexclave_shared_dist_utils_dom = require("@hexclave/shared/dist/utils/dom");
5
6
  let _hexclave_shared_dist_utils_elements_chain = require("@hexclave/shared/dist/utils/elements-chain");
6
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
7
7
  let _hexclave_shared_dist_utils_env = require("@hexclave/shared/dist/utils/env");
8
8
  let __session_replay_js = require("./session-replay.js");
9
9
 
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../../../chunk-BE-pF4vm.js');
3
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
4
3
  let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
4
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
5
5
 
6
6
  //#region src/lib/hexclave-app/apps/implementations/redirect-page-urls.ts
7
7
  const crossDomainAuthQueryParams = {
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-BE-pF4vm.js');
3
3
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
4
+ let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
5
+ let ___generated_env_js = require("../generated/env.js");
4
6
  let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
5
7
  let ___in_page_ui_base_styles_js = require("../in-page-ui/base-styles.js");
6
8
  let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
7
- let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
8
- let ___generated_env_js = require("../generated/env.js");
9
9
 
10
10
  //#region src/pushed-config-error-overlay/index.ts
11
11
  const GLOBAL_INSTANCE_KEY = "__hexclave-pushed-config-error-overlay";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)",
3
3
  "name": "@hexclave/js",
4
- "version": "1.0.35",
4
+ "version": "1.0.36",
5
5
  "repository": "https://github.com/hexclave/hexclave",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -65,7 +65,7 @@
65
65
  "qrcode": "^1.5.4",
66
66
  "rrweb": "^1.1.3",
67
67
  "yup": "^1.7.1",
68
- "@hexclave/shared": "1.0.35"
68
+ "@hexclave/shared": "1.0.36"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@quetzallabs/i18n": "^0.1.19",