@joryio/web-sdk 1.3.1 → 1.3.2

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.2 - 2026-10-25
4
+
5
+ No change from the in-app hold added to the other four SDKs in this version (`holdInAppMessagesForHandler`): the web SDK always draws its own in-app messages and has no handler that takes drawing over after `init()` - its `inApp` hooks are passed in the init config, before the first sync - so the window that option closes does not exist here.
6
+
3
7
  ## 1.3.1 - 2026-10-24
4
8
 
5
9
  Fixed: HTML modals and slide-ups are responsive. The message frame used to start narrow and take the width the content reported, so the author's media queries (for example `@media (max-width: 560px)`) fired even on a desktop screen. The frame is now given min(maxWidth, viewport width - 16px on each side) before the content loads (`maxWidth` comes from the "Max width" field in the dashboard; modal 600 and slide-up 400 when unset), re-fits when the window is resized, and only its height follows the content.
package/README.md CHANGED
@@ -81,7 +81,7 @@ The SDK files are served from one global host, `https://sdk.joryio.com`:
81
81
  | Path | What you get |
82
82
  |------|--------------|
83
83
  | `/web/1/<file>` | The newest 1.x release - recommended. Picks up fixes, never a breaking change |
84
- | `/web/<version>/<file>` | One exact version, e.g. `/web/1.3.0/joryio.min.js`. Its contents never change |
84
+ | `/web/<version>/<file>` | One exact version, e.g. `/web/1.3.1/joryio.min.js`. Its contents never change |
85
85
 
86
86
  Files: `joryio.min.js` (the SDK), `joryio-sw.js` (the web push service worker) and `joryio.umd.js` (unminified UMD build).
87
87
 
@@ -1,4 +1,4 @@
1
- export declare const SDK_VERSION = "1.3.1";
1
+ export declare const SDK_VERSION = "1.3.2";
2
2
  export declare const DEFAULT_API_ENDPOINT = "https://api-eu1.joryio.com/api";
3
3
  export declare function normalizeApiEndpoint(raw: string | undefined | null): string;
4
4
  export declare const DEFAULT_BATCH_SIZE = 50;
package/dist/index.d.mts CHANGED
@@ -325,7 +325,7 @@ declare class IdentityManager {
325
325
  isIdentified(): boolean;
326
326
  }
327
327
 
328
- declare const SDK_VERSION = "1.3.1";
328
+ declare const SDK_VERSION = "1.3.2";
329
329
  interface InAppDisplayOptions {
330
330
  defaultPosition?: 'top' | 'center' | 'bottom';
331
331
  defaultAnimation?: 'fade' | 'slide' | 'none';
package/dist/joryio-sw.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Joryio Web SDK v1.3.1
2
+ * Joryio Web SDK v1.3.2
3
3
  * (c) 2026 Joryio. All rights reserved.
4
4
  * @license Commercial - see https://github.com/joryio/joryio-web-sdk/blob/main/LICENSE
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Joryio Web SDK v1.3.1
2
+ * Joryio Web SDK v1.3.2
3
3
  * (c) 2026 Joryio. All rights reserved.
4
4
  * @license Commercial - see https://github.com/joryio/joryio-web-sdk/blob/main/LICENSE
5
5
  */
@@ -7,7 +7,7 @@
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const SDK_VERSION = '1.3.1';
10
+ const SDK_VERSION = '1.3.2';
11
11
  const DEFAULT_API_ENDPOINT = 'https://api-eu1.joryio.com/api';
12
12
  function normalizeApiEndpoint(raw) {
13
13
  const trimmed = (raw || '').trim();