@wbsuite/react-hooks 1.0.21 → 1.0.22

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.
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- wrapAsync: (fn: Function, ...args: any[]) => Promise<any>;
3
- };
4
- export default _default;
1
+ import { wrapAsync } from "./wrapAsync";
2
+ export { wrapAsync };
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.wrapAsync = void 0;
3
4
  var wrapAsync_1 = require("./wrapAsync");
4
- exports.default = { wrapAsync: wrapAsync_1.wrapAsync };
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbmV4dC91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHlDQUF3QztBQUN4QyxrQkFBZSxFQUFFLFNBQVMsdUJBQUEsRUFBRSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgd3JhcEFzeW5jIH0gZnJvbSBcIi4vd3JhcEFzeW5jXCI7XG5leHBvcnQgZGVmYXVsdCB7IHdyYXBBc3luYyB9OyAiXX0=
5
+ Object.defineProperty(exports, "wrapAsync", { enumerable: true, get: function () { return wrapAsync_1.wrapAsync; } });
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbmV4dC91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx5Q0FBd0M7QUFDL0IsMEZBREEscUJBQVMsT0FDQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHdyYXBBc3luYyB9IGZyb20gXCIuL3dyYXBBc3luY1wiO1xuZXhwb3J0IHsgd3JhcEFzeW5jIH07ICJdfQ==
@@ -1,4 +1,2 @@
1
- declare const _default: {
2
- wrapAsync: (fn: Function, ...args: any[]) => Promise<any>;
3
- };
4
- export default _default;
1
+ import { wrapAsync } from "./wrapAsync";
2
+ export { wrapAsync };
@@ -1,3 +1,3 @@
1
1
  import { wrapAsync } from "./wrapAsync";
2
- export default { wrapAsync: wrapAsync };
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbmV4dC91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3hDLGVBQWUsRUFBRSxTQUFTLFdBQUEsRUFBRSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgd3JhcEFzeW5jIH0gZnJvbSBcIi4vd3JhcEFzeW5jXCI7XG5leHBvcnQgZGVmYXVsdCB7IHdyYXBBc3luYyB9OyAiXX0=
2
+ export { wrapAsync };
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbmV4dC91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3hDLE9BQU8sRUFBRSxTQUFTLEVBQUUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHdyYXBBc3luYyB9IGZyb20gXCIuL3dyYXBBc3luY1wiO1xuZXhwb3J0IHsgd3JhcEFzeW5jIH07ICJdfQ==
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@wbsuite/react-hooks","version":"1.0.21","description":"","main":"cjs/index.js","module":"esm/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"npx eslint src/**","build":"npm run build:esm && npm run build:cjs","build:esm":"tsc","build:cjs":"tsc --module commonjs --outDir dist/react-hooks/cjs","pre-publish":"npm run lint && rm -rf dist && npm run build && cp package*.json dist/react-hooks","publish-to-npm":"cd dist/react-hooks && npm publish --access public --registry=https://registry.npmjs.org/"},"author":"faluma@webbuilders.com.ar","license":"ISC","devDependencies":{"@eslint/js":"^8.57.0","@wb/types":"^2.0.0","eslint":"^8.57.0","typescript":"^5.3.3","typescript-eslint":"^7.0.2"},"dependencies":{"@slate-serializers/html":"^2.2.3","axios":"^1.6.7"}}
1
+ {"name":"@wbsuite/react-hooks","version":"1.0.22","description":"","main":"cjs/index.js","module":"esm/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"npx eslint src/**","build":"npm run build:esm && npm run build:cjs","build:esm":"tsc","build:cjs":"tsc --module commonjs --outDir dist/react-hooks/cjs","pre-publish":"npm run lint && rm -rf dist && npm run build && cp package*.json dist/react-hooks","publish-to-npm":"cd dist/react-hooks && npm publish --access public --registry=https://registry.npmjs.org/"},"author":"faluma@webbuilders.com.ar","license":"ISC","devDependencies":{"@eslint/js":"^8.57.0","@wb/types":"^2.0.0","eslint":"^8.57.0","typescript":"^5.3.3","typescript-eslint":"^7.0.2"},"dependencies":{"@slate-serializers/html":"^2.2.3","axios":"^1.6.7"}}