@builder.io/sdk-qwik 0.16.6-1 → 0.16.7

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/README.md CHANGED
@@ -13,7 +13,7 @@ To check the status of the SDK, look at [these tables](../../README.md#feature-i
13
13
  ## Getting Started
14
14
 
15
15
  ```
16
- npm install @builder.io/sdk-svelte@dev
16
+ npm install @builder.io/sdk-qwik
17
17
  ```
18
18
 
19
19
  Take a look at [our example repo](https://github.com/BuilderIO/builder/tree/main/examples/qwik) for how to use this SDK.
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SDK_VERSION = "0.16.6";
3
+ const SDK_VERSION = "0.16.7";
4
4
  exports.SDK_VERSION = SDK_VERSION;
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "0.16.6";
1
+ const SDK_VERSION = "0.16.7";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };
@@ -9,7 +9,7 @@ const setIvm = (ivm, options = {}) => {
9
9
  IVM_INSTANCE = ivm;
10
10
  setIsolateContext(options);
11
11
  };
12
- const SHOULD_MENTION_INITIALIZE_SCRIPT = sdkName.SDK_NAME === "@builder.io/sdk-react-nextjs" || sdkName.SDK_NAME === "@builder.io/sdk-react";
12
+ const SHOULD_MENTION_INITIALIZE_SCRIPT = sdkName.SDK_NAME === "@builder.io/sdk-react-nextjs" || sdkName.SDK_NAME === "@builder.io/sdk-react" || sdkName.SDK_NAME === "@builder.io/sdk-qwik";
13
13
  const getIvm = () => {
14
14
  try {
15
15
  if (IVM_INSTANCE)
@@ -24,7 +24,7 @@ const getIvm = () => {
24
24
 
25
25
  SOLUTION: In a server-only execution path within your application, do one of the following:
26
26
 
27
- ${SHOULD_MENTION_INITIALIZE_SCRIPT ? '- import and call `initializeNodeRuntime()` from "${SDK_NAME}/node/init".' : ""}
27
+ ${SHOULD_MENTION_INITIALIZE_SCRIPT ? `- import and call \`initializeNodeRuntime()\` from "${sdkName.SDK_NAME}/node/init".` : ""}
28
28
  - add the following import: \`await import('isolated-vm')\`.
29
29
 
30
30
  For more information, visit https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments`;
@@ -7,7 +7,7 @@ const setIvm = (ivm, options = {}) => {
7
7
  IVM_INSTANCE = ivm;
8
8
  setIsolateContext(options);
9
9
  };
10
- const SHOULD_MENTION_INITIALIZE_SCRIPT = SDK_NAME === "@builder.io/sdk-react-nextjs" || SDK_NAME === "@builder.io/sdk-react";
10
+ const SHOULD_MENTION_INITIALIZE_SCRIPT = SDK_NAME === "@builder.io/sdk-react-nextjs" || SDK_NAME === "@builder.io/sdk-react" || SDK_NAME === "@builder.io/sdk-qwik";
11
11
  const getIvm = () => {
12
12
  try {
13
13
  if (IVM_INSTANCE)
@@ -22,7 +22,7 @@ const getIvm = () => {
22
22
 
23
23
  SOLUTION: In a server-only execution path within your application, do one of the following:
24
24
 
25
- ${SHOULD_MENTION_INITIALIZE_SCRIPT ? '- import and call `initializeNodeRuntime()` from "${SDK_NAME}/node/init".' : ""}
25
+ ${SHOULD_MENTION_INITIALIZE_SCRIPT ? `- import and call \`initializeNodeRuntime()\` from "${SDK_NAME}/node/init".` : ""}
26
26
  - add the following import: \`await import('isolated-vm')\`.
27
27
 
28
28
  For more information, visit https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments`;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SDK_VERSION = "0.16.6";
3
+ const SDK_VERSION = "0.16.7";
4
4
  exports.SDK_VERSION = SDK_VERSION;
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "0.16.6";
1
+ const SDK_VERSION = "0.16.7";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };
@@ -9,7 +9,7 @@ const setIvm = (ivm, options = {}) => {
9
9
  IVM_INSTANCE = ivm;
10
10
  setIsolateContext(options);
11
11
  };
12
- const SHOULD_MENTION_INITIALIZE_SCRIPT = sdkName.SDK_NAME === "@builder.io/sdk-react-nextjs" || sdkName.SDK_NAME === "@builder.io/sdk-react";
12
+ const SHOULD_MENTION_INITIALIZE_SCRIPT = sdkName.SDK_NAME === "@builder.io/sdk-react-nextjs" || sdkName.SDK_NAME === "@builder.io/sdk-react" || sdkName.SDK_NAME === "@builder.io/sdk-qwik";
13
13
  const getIvm = () => {
14
14
  try {
15
15
  if (IVM_INSTANCE)
@@ -24,7 +24,7 @@ const getIvm = () => {
24
24
 
25
25
  SOLUTION: In a server-only execution path within your application, do one of the following:
26
26
 
27
- ${SHOULD_MENTION_INITIALIZE_SCRIPT ? '- import and call `initializeNodeRuntime()` from "${SDK_NAME}/node/init".' : ""}
27
+ ${SHOULD_MENTION_INITIALIZE_SCRIPT ? `- import and call \`initializeNodeRuntime()\` from "${sdkName.SDK_NAME}/node/init".` : ""}
28
28
  - add the following import: \`await import('isolated-vm')\`.
29
29
 
30
30
  For more information, visit https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments`;
@@ -7,7 +7,7 @@ const setIvm = (ivm, options = {}) => {
7
7
  IVM_INSTANCE = ivm;
8
8
  setIsolateContext(options);
9
9
  };
10
- const SHOULD_MENTION_INITIALIZE_SCRIPT = SDK_NAME === "@builder.io/sdk-react-nextjs" || SDK_NAME === "@builder.io/sdk-react";
10
+ const SHOULD_MENTION_INITIALIZE_SCRIPT = SDK_NAME === "@builder.io/sdk-react-nextjs" || SDK_NAME === "@builder.io/sdk-react" || SDK_NAME === "@builder.io/sdk-qwik";
11
11
  const getIvm = () => {
12
12
  try {
13
13
  if (IVM_INSTANCE)
@@ -22,7 +22,7 @@ const getIvm = () => {
22
22
 
23
23
  SOLUTION: In a server-only execution path within your application, do one of the following:
24
24
 
25
- ${SHOULD_MENTION_INITIALIZE_SCRIPT ? '- import and call `initializeNodeRuntime()` from "${SDK_NAME}/node/init".' : ""}
25
+ ${SHOULD_MENTION_INITIALIZE_SCRIPT ? `- import and call \`initializeNodeRuntime()\` from "${SDK_NAME}/node/init".` : ""}
26
26
  - add the following import: \`await import('isolated-vm')\`.
27
27
 
28
28
  For more information, visit https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments`;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SDK_VERSION = "0.16.6";
3
+ const SDK_VERSION = "0.16.7";
4
4
  exports.SDK_VERSION = SDK_VERSION;
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "0.16.6";
1
+ const SDK_VERSION = "0.16.7";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };
@@ -60,7 +60,7 @@ const setIvm = (ivm, options = {}) => {
60
60
  IVM_INSTANCE = ivm;
61
61
  setIsolateContext(options);
62
62
  };
63
- const SHOULD_MENTION_INITIALIZE_SCRIPT = sdkName.SDK_NAME === "@builder.io/sdk-react-nextjs" || sdkName.SDK_NAME === "@builder.io/sdk-react";
63
+ const SHOULD_MENTION_INITIALIZE_SCRIPT = sdkName.SDK_NAME === "@builder.io/sdk-react-nextjs" || sdkName.SDK_NAME === "@builder.io/sdk-react" || sdkName.SDK_NAME === "@builder.io/sdk-qwik";
64
64
  const getIvm = () => {
65
65
  try {
66
66
  if (IVM_INSTANCE)
@@ -75,7 +75,7 @@ const getIvm = () => {
75
75
 
76
76
  SOLUTION: In a server-only execution path within your application, do one of the following:
77
77
 
78
- ${SHOULD_MENTION_INITIALIZE_SCRIPT ? '- import and call `initializeNodeRuntime()` from "${SDK_NAME}/node/init".' : ""}
78
+ ${SHOULD_MENTION_INITIALIZE_SCRIPT ? `- import and call \`initializeNodeRuntime()\` from "${sdkName.SDK_NAME}/node/init".` : ""}
79
79
  - add the following import: \`await import('isolated-vm')\`.
80
80
 
81
81
  For more information, visit https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments`;
@@ -58,7 +58,7 @@ const setIvm = (ivm, options = {}) => {
58
58
  IVM_INSTANCE = ivm;
59
59
  setIsolateContext(options);
60
60
  };
61
- const SHOULD_MENTION_INITIALIZE_SCRIPT = SDK_NAME === "@builder.io/sdk-react-nextjs" || SDK_NAME === "@builder.io/sdk-react";
61
+ const SHOULD_MENTION_INITIALIZE_SCRIPT = SDK_NAME === "@builder.io/sdk-react-nextjs" || SDK_NAME === "@builder.io/sdk-react" || SDK_NAME === "@builder.io/sdk-qwik";
62
62
  const getIvm = () => {
63
63
  try {
64
64
  if (IVM_INSTANCE)
@@ -73,7 +73,7 @@ const getIvm = () => {
73
73
 
74
74
  SOLUTION: In a server-only execution path within your application, do one of the following:
75
75
 
76
- ${SHOULD_MENTION_INITIALIZE_SCRIPT ? '- import and call `initializeNodeRuntime()` from "${SDK_NAME}/node/init".' : ""}
76
+ ${SHOULD_MENTION_INITIALIZE_SCRIPT ? `- import and call \`initializeNodeRuntime()\` from "${SDK_NAME}/node/init".` : ""}
77
77
  - add the following import: \`await import('isolated-vm')\`.
78
78
 
79
79
  For more information, visit https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.16.6-1",
3
+ "version": "0.16.7",
4
4
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
5
5
  "repository": {
6
6
  "type": "git",
@@ -79,7 +79,7 @@
79
79
  }
80
80
  },
81
81
  "./node/init": {
82
- "types": "./types/functions/evaluate/node-runtime/init.d.ts",
82
+ "types": "./types/src/functions/evaluate/node-runtime/init.d.ts",
83
83
  "import": "./lib/node/functions/evaluate/node-runtime/init.qwik.mjs",
84
84
  "require": "./lib/node/functions/evaluate/node-runtime/init.qwik.cjs"
85
85
  },
@@ -117,8 +117,8 @@
117
117
  "@builder.io/qwik": "^1.5.1",
118
118
  "@builder.io/sdks": "workspace:*",
119
119
  "@types/node": "latest",
120
- "nx": "16.10.0",
121
- "nx-cloud": "16.5.2",
120
+ "nx": "^19.6.5",
121
+ "nx-cloud": "^19.0.0",
122
122
  "typescript": "5.5.2",
123
123
  "vite": "^4.3.2"
124
124
  },
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.16.6";
1
+ export declare const SDK_VERSION = "0.16.7";
@@ -7,6 +7,7 @@ import type { IsolateOptions } from 'isolated-vm';
7
7
  * from a server-only location, such as:
8
8
  * - The NextJS Pages router's `_document.tsx`
9
9
  * - Your Remix route's `loader`
10
+ * - Qwik's `entry.ssr.tsx` file
10
11
  */
11
12
  export declare const initializeNodeRuntime: (args?: {
12
13
  ivmIsolateOptions?: IsolateOptions;
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components';
2
- export declare const componentInfo: ComponentInfo;
@@ -1 +0,0 @@
1
- export { default } from './textarea.jsx';
@@ -1,12 +0,0 @@
1
- /**
2
- * This import is used by the Svelte SDK. Do not remove.
3
- */
4
- export interface TextareaProps {
5
- attributes?: any;
6
- name?: string;
7
- value?: string;
8
- defaultValue?: string;
9
- placeholder?: string;
10
- }
11
- export declare const Textarea: import("@builder.io/qwik").Component<TextareaProps>;
12
- export default Textarea;