@evlop/commons 1.0.156 → 1.0.157

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,3 +1,2 @@
1
- export * from './RemoteActionHandeller';
2
1
  export * from './SessionManager';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -10,6 +10,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./RemoteActionHandeller"), exports);
14
13
  __exportStar(require("./SessionManager"), exports);
15
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAAwC;AACxC,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evlop/commons",
3
- "version": "1.0.156",
3
+ "version": "1.0.157",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "peerDependencies": {
@@ -1,3 +0,0 @@
1
- export declare function RemoteActionHandeller(): any;
2
- export default RemoteActionHandeller;
3
- //# sourceMappingURL=RemoteActionHandeller.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RemoteActionHandeller.d.ts","sourceRoot":"","sources":["../../../src/services/RemoteActionHandeller.tsx"],"names":[],"mappings":"AAIA,wBAAgB,qBAAqB,QAUpC;AAED,eAAe,qBAAqB,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RemoteActionHandeller = void 0;
4
- const react_1 = require("react");
5
- const helpers_1 = require("../helpers");
6
- const hooks_1 = require("../hooks");
7
- function RemoteActionHandeller() {
8
- const actionable = hooks_1.useActionable();
9
- react_1.useEffect(() => {
10
- return helpers_1.remoteAction.onAction((action) => {
11
- actionable(action)();
12
- });
13
- }, [actionable]);
14
- return null;
15
- }
16
- exports.RemoteActionHandeller = RemoteActionHandeller;
17
- exports.default = RemoteActionHandeller;
18
- //# sourceMappingURL=RemoteActionHandeller.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RemoteActionHandeller.js","sourceRoot":"","sources":["../../../src/services/RemoteActionHandeller.tsx"],"names":[],"mappings":";;;AAAA,iCAAyC;AACzC,wCAA0C;AAC1C,oCAAyC;AAEzC,SAAgB,qBAAqB;IACjC,MAAM,UAAU,GAAG,qBAAa,EAAE,CAAC;IAEnC,iBAAS,CAAC,GAAE,EAAE;QACV,OAAO,sBAAY,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAC,EAAE;YACnC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,CAAC,CAAC,CAAC;IACP,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEjB,OAAO,IAAI,CAAC;AAChB,CAAC;AAVD,sDAUC;AAED,kBAAe,qBAAqB,CAAC"}