@builder.io/sdk-qwik 0.14.19 → 0.14.20

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.
@@ -4695,7 +4695,7 @@ function isFromTrustedHost(trustedHosts, e) {
4695
4695
  const url = new URL(e.origin), hostname = url.hostname;
4696
4696
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4697
4697
  }
4698
- const SDK_VERSION = "0.14.19";
4698
+ const SDK_VERSION = "0.14.20";
4699
4699
  const registry = {};
4700
4700
  function register(type, info) {
4701
4701
  let typeList = registry[type];
@@ -4693,7 +4693,7 @@ function isFromTrustedHost(trustedHosts, e) {
4693
4693
  const url = new URL(e.origin), hostname = url.hostname;
4694
4694
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4695
4695
  }
4696
- const SDK_VERSION = "0.14.19";
4696
+ const SDK_VERSION = "0.14.20";
4697
4697
  const registry = {};
4698
4698
  function register(type, info) {
4699
4699
  let typeList = registry[type];
@@ -7926,7 +7926,7 @@ function isFromTrustedHost(trustedHosts, e) {
7926
7926
  const url = new URL(e.origin), hostname = url.hostname;
7927
7927
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
7928
7928
  }
7929
- const SDK_VERSION = "0.14.19";
7929
+ const SDK_VERSION = "0.14.20";
7930
7930
  const registry = {};
7931
7931
  function register(type, info) {
7932
7932
  let typeList = registry[type];
@@ -7924,7 +7924,7 @@ function isFromTrustedHost(trustedHosts, e) {
7924
7924
  const url = new URL(e.origin), hostname = url.hostname;
7925
7925
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
7926
7926
  }
7927
- const SDK_VERSION = "0.14.19";
7927
+ const SDK_VERSION = "0.14.20";
7928
7928
  const registry = {};
7929
7929
  function register(type, info) {
7930
7930
  let typeList = registry[type];
@@ -4827,7 +4827,7 @@ function isFromTrustedHost(trustedHosts, e) {
4827
4827
  const url = new URL(e.origin), hostname = url.hostname;
4828
4828
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4829
4829
  }
4830
- const SDK_VERSION = "0.14.19";
4830
+ const SDK_VERSION = "0.14.20";
4831
4831
  const registry = {};
4832
4832
  function register(type, info) {
4833
4833
  let typeList = registry[type];
@@ -4825,7 +4825,7 @@ function isFromTrustedHost(trustedHosts, e) {
4825
4825
  const url = new URL(e.origin), hostname = url.hostname;
4826
4826
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4827
4827
  }
4828
- const SDK_VERSION = "0.14.19";
4828
+ const SDK_VERSION = "0.14.20";
4829
4829
  const registry = {};
4830
4830
  function register(type, info) {
4831
4831
  let typeList = registry[type];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.14.19",
3
+ "version": "0.14.20",
4
4
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.14.19";
1
+ export declare const SDK_VERSION = "0.14.20";
@@ -1,16 +1,3 @@
1
- /**
2
- * This file:
3
- * - imports `isolated-vm`, which can only be made from a file that never runs
4
- * on the client (e.g. Next's `_document.tsx`)
5
- * - stores the ivm instance in a global variable using `setIvm`
6
- *
7
- * This is needed for when bundlers/meta-frameworks are not able to reliably
8
- * import the `isolated-vm` package using our `safeDynamicRequire` trick.
9
- *
10
- * The `isolated-vm` import must exist in this separate file, or it will end up
11
- * in the SDK's main entry point, causing errors for users.
12
- */
13
- import ivm from 'isolated-vm';
14
1
  import type { IsolateOptions } from 'isolated-vm';
15
2
  /**
16
3
  * This function initializes the SDK on a Node server. It handles importing the
@@ -21,6 +8,6 @@ import type { IsolateOptions } from 'isolated-vm';
21
8
  * - The NextJS Pages router's `_document.tsx`
22
9
  * - Your Remix route's `loader`
23
10
  */
24
- export declare const initializeNodeRuntime: ({ ivmIsolateOptions }: {
25
- ivmIsolateOptions?: ivm.IsolateOptions | undefined;
11
+ export declare const initializeNodeRuntime: (args?: {
12
+ ivmIsolateOptions?: IsolateOptions;
26
13
  }) => void;