@tramvai/module-common 1.95.0 → 1.95.1
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.
- package/lib/actions/ActionModule.d.ts +6 -0
- package/lib/index.browser.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.es.js +1 -1
- package/lib/index.js +5 -0
- package/package.json +14 -14
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import { alwaysCondition } from './conditions/always';
|
|
2
|
+
import { onlyServer } from './conditions/onlyServer';
|
|
3
|
+
import { onlyBrowser } from './conditions/onlyBrowser';
|
|
4
|
+
import { pageServer } from './conditions/pageServer';
|
|
5
|
+
import { pageBrowser } from './conditions/pageBrowser';
|
|
6
|
+
export { alwaysCondition, onlyServer, onlyBrowser, pageServer, pageBrowser };
|
|
1
7
|
declare class ActionModule {
|
|
2
8
|
}
|
|
3
9
|
export { ActionModule };
|
package/lib/index.browser.js
CHANGED
|
@@ -1136,4 +1136,4 @@ CommonChildAppModule = __decorate([
|
|
|
1136
1136
|
})
|
|
1137
1137
|
], CommonChildAppModule);
|
|
1138
1138
|
|
|
1139
|
-
export { ActionExecution, CommandModule, CommonChildAppModule, CommonModule, createConsumerContext };
|
|
1139
|
+
export { ActionExecution, CommandModule, CommonChildAppModule, CommonModule, alwaysCondition, createConsumerContext, onlyBrowser, onlyServer, pageBrowser, pageServer };
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { CommonModule } from './CommonModule';
|
|
2
2
|
export { CommandModule } from './command/CommandModule';
|
|
3
3
|
export { ActionExecution } from './actions/actionExecution';
|
|
4
|
+
export { alwaysCondition, onlyServer, onlyBrowser, pageServer, pageBrowser, } from './actions/ActionModule';
|
|
4
5
|
export { createConsumerContext } from './createConsumerContext/createConsumerContext';
|
|
5
6
|
export { CommonChildAppModule } from './child-app/ChildAppModule';
|
|
6
7
|
export * from '@tramvai/tokens-common';
|
package/lib/index.es.js
CHANGED
|
@@ -1158,4 +1158,4 @@ CommonChildAppModule = __decorate([
|
|
|
1158
1158
|
})
|
|
1159
1159
|
], CommonChildAppModule);
|
|
1160
1160
|
|
|
1161
|
-
export { ActionExecution, CommandModule, CommonChildAppModule, CommonModule, createConsumerContext };
|
|
1161
|
+
export { ActionExecution, CommandModule, CommonChildAppModule, CommonModule, alwaysCondition, createConsumerContext, onlyBrowser, onlyServer, pageBrowser, pageServer };
|
package/lib/index.js
CHANGED
|
@@ -1181,7 +1181,12 @@ Object.defineProperty(exports, 'COOKIE_MANAGER_TOKEN', {
|
|
|
1181
1181
|
get: function () { return moduleCookie.COOKIE_MANAGER_TOKEN; }
|
|
1182
1182
|
});
|
|
1183
1183
|
exports.ActionExecution = ActionExecution;
|
|
1184
|
+
exports.alwaysCondition = alwaysCondition;
|
|
1184
1185
|
exports.createConsumerContext = createConsumerContext;
|
|
1186
|
+
exports.onlyBrowser = onlyBrowser;
|
|
1187
|
+
exports.onlyServer = onlyServer;
|
|
1188
|
+
exports.pageBrowser = pageBrowser;
|
|
1189
|
+
exports.pageServer = pageServer;
|
|
1185
1190
|
Object.keys(tokensCommon).forEach(function (k) {
|
|
1186
1191
|
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
1187
1192
|
enumerable: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-common",
|
|
3
|
-
"version": "1.95.
|
|
3
|
+
"version": "1.95.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -31,25 +31,25 @@
|
|
|
31
31
|
"@tinkoff/errors": "0.2.20",
|
|
32
32
|
"@tinkoff/pubsub": "0.4.23",
|
|
33
33
|
"@tinkoff/url": "0.7.37",
|
|
34
|
-
"@tramvai/module-cookie": "1.95.
|
|
35
|
-
"@tramvai/module-environment": "1.95.
|
|
36
|
-
"@tramvai/module-log": "1.95.
|
|
37
|
-
"@tramvai/tokens-child-app": "1.95.
|
|
38
|
-
"@tramvai/tokens-common": "1.95.
|
|
39
|
-
"@tramvai/tokens-render": "1.95.
|
|
40
|
-
"@tramvai/experiments": "1.95.
|
|
34
|
+
"@tramvai/module-cookie": "1.95.1",
|
|
35
|
+
"@tramvai/module-environment": "1.95.1",
|
|
36
|
+
"@tramvai/module-log": "1.95.1",
|
|
37
|
+
"@tramvai/tokens-child-app": "1.95.1",
|
|
38
|
+
"@tramvai/tokens-common": "1.95.1",
|
|
39
|
+
"@tramvai/tokens-render": "1.95.1",
|
|
40
|
+
"@tramvai/experiments": "1.95.1",
|
|
41
41
|
"@tinkoff/hook-runner": "0.3.21",
|
|
42
42
|
"hoist-non-react-statics": "^3.3.1",
|
|
43
43
|
"lru-cache": "^6.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@tinkoff/utils": "^2.1.2",
|
|
47
|
-
"@tramvai/cli": "1.95.
|
|
48
|
-
"@tramvai/core": "1.95.
|
|
49
|
-
"@tramvai/papi": "1.95.
|
|
50
|
-
"@tramvai/state": "1.95.
|
|
51
|
-
"@tramvai/tokens-metrics": "1.95.
|
|
52
|
-
"@tramvai/tokens-server": "1.95.
|
|
47
|
+
"@tramvai/cli": "1.95.1",
|
|
48
|
+
"@tramvai/core": "1.95.1",
|
|
49
|
+
"@tramvai/papi": "1.95.1",
|
|
50
|
+
"@tramvai/state": "1.95.1",
|
|
51
|
+
"@tramvai/tokens-metrics": "1.95.1",
|
|
52
|
+
"@tramvai/tokens-server": "1.95.1",
|
|
53
53
|
"@tinkoff/dippy": "0.7.39",
|
|
54
54
|
"react": ">=16.8.0",
|
|
55
55
|
"tslib": "^2.0.3"
|