react-state-monad 1.0.14 → 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
- // index.ts
20
+ // src/index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  default: () => index_default,
@@ -156,7 +156,7 @@ function useArrayState(states) {
156
156
  return useStateObject(states.filter((state) => state.hasValue).map((state) => state.value));
157
157
  }
158
158
 
159
- // index.ts
159
+ // src/index.ts
160
160
  var index_default = void 0;
161
161
  // Annotate the CommonJS export names for ESM import in node:
162
162
  0 && (module.exports = {
package/dist/index.js CHANGED
@@ -124,7 +124,7 @@ function useArrayState(states) {
124
124
  return useStateObject(states.filter((state) => state.hasValue).map((state) => state.value));
125
125
  }
126
126
 
127
- // index.ts
127
+ // src/index.ts
128
128
  var index_default = void 0;
129
129
  export {
130
130
  index_default as default,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-state-monad",
3
3
  "type": "module",
4
- "version": "1.0.14",
4
+ "version": "1.0.15",
5
5
  "description": "A set of hooks to manage/transform/filter states with monads in React",
6
6
  "keywords": [
7
7
  "maybe",
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "scripts": {
16
16
  "validateTypes": "tsc --noEmit",
17
- "build": "tsup index.ts --format cjs,esm --dts --dts-resolve",
17
+ "build": "tsup src/index.ts --format cjs,esm --dts --dts-resolve",
18
18
  "cleanBuild": "rm -rf dist"
19
19
  },
20
20
  "dependencies": {