@sylphx/lens-react 2.1.6 → 2.1.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // src/context.tsx
2
2
  import { createContext, useContext } from "react";
3
- import { jsxDEV } from "react/jsx-dev-runtime";
3
+ import { jsx } from "react/jsx-runtime";
4
4
  var LENS_CONTEXT_KEY = Symbol.for("@sylphx/lens-react/context");
5
5
  function getOrCreateContext() {
6
6
  const globalObj = globalThis;
@@ -11,10 +11,10 @@ function getOrCreateContext() {
11
11
  }
12
12
  var LensContext = getOrCreateContext();
13
13
  function LensProvider({ client, children }) {
14
- return /* @__PURE__ */ jsxDEV(LensContext.Provider, {
14
+ return /* @__PURE__ */ jsx(LensContext.Provider, {
15
15
  value: client,
16
16
  children
17
- }, undefined, false, undefined, this);
17
+ });
18
18
  }
19
19
  function useLensClient() {
20
20
  const client = useContext(LensContext);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sylphx/lens-react",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "React bindings for Lens API framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -12,7 +12,7 @@
12
12
  }
13
13
  },
14
14
  "scripts": {
15
- "build": "bunup",
15
+ "build": "NODE_ENV=production bunup",
16
16
  "typecheck": "tsc --noEmit",
17
17
  "test": "bun test",
18
18
  "prepack": "[ -d dist ] || bun run build"