@open-tender/cloud 0.0.6 → 0.0.8

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 +1,2 @@
1
1
  export * from './store';
2
+ export * from './hooks';
@@ -2,3 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./store"), exports);
5
+ tslib_1.__exportStar(require("./hooks"), exports);
@@ -1,3 +1,4 @@
1
1
  import { appReducer } from './app/store';
2
+ import { useAppDispatch, useAppSelector } from './app/hooks';
2
3
  export * from './slices';
3
- export { appReducer };
4
+ export { appReducer, useAppDispatch, useAppSelector };
package/dist/cjs/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.appReducer = void 0;
3
+ exports.useAppSelector = exports.useAppDispatch = exports.appReducer = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const store_1 = require("./app/store");
6
6
  Object.defineProperty(exports, "appReducer", { enumerable: true, get: function () { return store_1.appReducer; } });
7
+ const hooks_1 = require("./app/hooks");
8
+ Object.defineProperty(exports, "useAppDispatch", { enumerable: true, get: function () { return hooks_1.useAppDispatch; } });
9
+ Object.defineProperty(exports, "useAppSelector", { enumerable: true, get: function () { return hooks_1.useAppSelector; } });
7
10
  tslib_1.__exportStar(require("./slices"), exports);
@@ -1 +1,2 @@
1
1
  export * from './store';
2
+ export * from './hooks';
@@ -1 +1,2 @@
1
1
  export * from './store';
2
+ export * from './hooks';
@@ -1,3 +1,4 @@
1
1
  import { appReducer } from './app/store';
2
+ import { useAppDispatch, useAppSelector } from './app/hooks';
2
3
  export * from './slices';
3
- export { appReducer };
4
+ export { appReducer, useAppDispatch, useAppSelector };
package/dist/esm/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  import { appReducer } from './app/store';
2
+ import { useAppDispatch, useAppSelector } from './app/hooks';
2
3
  export * from './slices';
3
- export { appReducer };
4
+ export { appReducer, useAppDispatch, useAppSelector };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/cloud",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -55,7 +55,7 @@
55
55
  "react": "^18.2.0"
56
56
  },
57
57
  "dependencies": {
58
- "@open-tender/types": "^0.0.52",
58
+ "@open-tender/types": "^0.0.53",
59
59
  "@open-tender/utils": "^0.0.9"
60
60
  }
61
61
  }