@buoy-gg/redux 7.0.7 → 7.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.
- package/lib/commonjs/redux/utils/devtoolsHook.js +17 -6
- package/lib/module/redux/utils/devtoolsHook.js +17 -6
- package/lib/typescript/redux/sync/reduxSyncAdapter.d.ts +2 -2
- package/lib/typescript/redux/utils/devtoolsHook.d.ts +17 -2
- package/lib/typescript/redux/utils/devtoolsHook.d.ts.map +1 -1
- package/package.json +5 -5
- package/lib/commonjs/redux/components/index.js +0 -59
- package/lib/commonjs/redux/hooks/index.js +0 -25
- package/lib/commonjs/redux/index.js +0 -49
- package/lib/commonjs/redux/utils/index.js +0 -142
- package/lib/module/redux/components/index.js +0 -8
- package/lib/module/redux/hooks/index.js +0 -4
- package/lib/module/redux/index.js +0 -13
- package/lib/module/redux/utils/index.js +0 -10
- package/lib/typescript/redux/components/index.d.ts +0 -7
- package/lib/typescript/redux/components/index.d.ts.map +0 -1
- package/lib/typescript/redux/hooks/index.d.ts +0 -5
- package/lib/typescript/redux/hooks/index.d.ts.map +0 -1
- package/lib/typescript/redux/index.d.ts +0 -5
- package/lib/typescript/redux/index.d.ts.map +0 -1
- package/lib/typescript/redux/utils/index.d.ts +0 -7
- package/lib/typescript/redux/utils/index.d.ts.map +0 -1
|
@@ -108,12 +108,27 @@ function buoyComposeWithDevTools(...args) {
|
|
|
108
108
|
let claimed = false;
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
* Claim the DevTools
|
|
112
|
-
* claimant (e.g. the real browser extension on web).
|
|
111
|
+
* Claim the DevTools COMPOSE global — dev builds only, and never over an
|
|
112
|
+
* existing claimant (e.g. the real browser extension on web).
|
|
113
113
|
*
|
|
114
114
|
* Idempotent; runs at module scope so simply importing `@buoy-gg/redux` (which
|
|
115
115
|
* `@buoy-gg/core` does at module scope) performs the claim as early as
|
|
116
116
|
* possible.
|
|
117
|
+
*
|
|
118
|
+
* DO NOT claim `__REDUX_DEVTOOLS_EXTENSION__` here — ever. That global is
|
|
119
|
+
* feature-detected BY PRESENCE by non-redux libraries (zustand's devtools
|
|
120
|
+
* middleware, valtio, jotai-devtools) which then call the extension OBJECT
|
|
121
|
+
* API (`.connect()` etc.) with no shape check. A bare function satisfies only
|
|
122
|
+
* redux's legacy calling convention, so claiming it crashes any host app
|
|
123
|
+
* whose zustand store uses `devtools(...)` — at store-module evaluation, so
|
|
124
|
+
* the app doesn't boot, and the surfaced error is a misleading React
|
|
125
|
+
* "Element type is invalid" from whatever lazy component imports next.
|
|
126
|
+
* (Shipped in 7.0.6/7.0.7; broke a large enterprise app; removed in the next
|
|
127
|
+
* patch.) Absent, all those libraries no-op gracefully. The COMPOSE global is
|
|
128
|
+
* safe because every known consumer CALLS it as a function — that is its
|
|
129
|
+
* whole contract — and it covers the dominant path (RTK's configureStore
|
|
130
|
+
* default). The legacy `createStore(reducer, __REDUX_DEVTOOLS_EXTENSION__())`
|
|
131
|
+
* pattern simply falls back to Buoy's dispatch-patch instrumentation.
|
|
117
132
|
*/
|
|
118
133
|
function claimDevtoolsHook() {
|
|
119
134
|
const isDev = typeof __DEV__ !== "undefined" && __DEV__;
|
|
@@ -123,10 +138,6 @@ function claimDevtoolsHook() {
|
|
|
123
138
|
g.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ = buoyComposeWithDevTools;
|
|
124
139
|
claimed = true;
|
|
125
140
|
}
|
|
126
|
-
if (!g.__REDUX_DEVTOOLS_EXTENSION__) {
|
|
127
|
-
// Legacy single-enhancer form: `createStore(reducer, __REDUX_DEVTOOLS_EXTENSION__())`
|
|
128
|
-
g.__REDUX_DEVTOOLS_EXTENSION__ = () => buoyDevtoolsEnhancer;
|
|
129
|
-
}
|
|
130
141
|
return claimed;
|
|
131
142
|
}
|
|
132
143
|
|
|
@@ -101,12 +101,27 @@ function buoyComposeWithDevTools(...args) {
|
|
|
101
101
|
let claimed = false;
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
|
-
* Claim the DevTools
|
|
105
|
-
* claimant (e.g. the real browser extension on web).
|
|
104
|
+
* Claim the DevTools COMPOSE global — dev builds only, and never over an
|
|
105
|
+
* existing claimant (e.g. the real browser extension on web).
|
|
106
106
|
*
|
|
107
107
|
* Idempotent; runs at module scope so simply importing `@buoy-gg/redux` (which
|
|
108
108
|
* `@buoy-gg/core` does at module scope) performs the claim as early as
|
|
109
109
|
* possible.
|
|
110
|
+
*
|
|
111
|
+
* DO NOT claim `__REDUX_DEVTOOLS_EXTENSION__` here — ever. That global is
|
|
112
|
+
* feature-detected BY PRESENCE by non-redux libraries (zustand's devtools
|
|
113
|
+
* middleware, valtio, jotai-devtools) which then call the extension OBJECT
|
|
114
|
+
* API (`.connect()` etc.) with no shape check. A bare function satisfies only
|
|
115
|
+
* redux's legacy calling convention, so claiming it crashes any host app
|
|
116
|
+
* whose zustand store uses `devtools(...)` — at store-module evaluation, so
|
|
117
|
+
* the app doesn't boot, and the surfaced error is a misleading React
|
|
118
|
+
* "Element type is invalid" from whatever lazy component imports next.
|
|
119
|
+
* (Shipped in 7.0.6/7.0.7; broke a large enterprise app; removed in the next
|
|
120
|
+
* patch.) Absent, all those libraries no-op gracefully. The COMPOSE global is
|
|
121
|
+
* safe because every known consumer CALLS it as a function — that is its
|
|
122
|
+
* whole contract — and it covers the dominant path (RTK's configureStore
|
|
123
|
+
* default). The legacy `createStore(reducer, __REDUX_DEVTOOLS_EXTENSION__())`
|
|
124
|
+
* pattern simply falls back to Buoy's dispatch-patch instrumentation.
|
|
110
125
|
*/
|
|
111
126
|
export function claimDevtoolsHook() {
|
|
112
127
|
const isDev = typeof __DEV__ !== "undefined" && __DEV__;
|
|
@@ -116,10 +131,6 @@ export function claimDevtoolsHook() {
|
|
|
116
131
|
g.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ = buoyComposeWithDevTools;
|
|
117
132
|
claimed = true;
|
|
118
133
|
}
|
|
119
|
-
if (!g.__REDUX_DEVTOOLS_EXTENSION__) {
|
|
120
|
-
// Legacy single-enhancer form: `createStore(reducer, __REDUX_DEVTOOLS_EXTENSION__())`
|
|
121
|
-
g.__REDUX_DEVTOOLS_EXTENSION__ = () => buoyDevtoolsEnhancer;
|
|
122
|
-
}
|
|
123
134
|
return claimed;
|
|
124
135
|
}
|
|
125
136
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const reduxSyncAdapter: {
|
|
18
18
|
version: number;
|
|
19
|
-
getSnapshot: () => import("
|
|
19
|
+
getSnapshot: () => import("../types").ReduxAction[];
|
|
20
20
|
subscribe: (onChange: () => void) => () => void;
|
|
21
21
|
actions: {
|
|
22
22
|
clearEvents: () => void;
|
|
@@ -35,7 +35,7 @@ export declare const reduxSyncAdapter: {
|
|
|
35
35
|
slices: string[];
|
|
36
36
|
/** 'full' | 'top-level-only' — what the live capture mechanism sees. */
|
|
37
37
|
capture: "full" | "top-level-only" | "none";
|
|
38
|
-
mechanism: import("
|
|
38
|
+
mechanism: import("../..").CaptureMechanism | null;
|
|
39
39
|
};
|
|
40
40
|
/** Dispatch a plain action object to the instrumented store. */
|
|
41
41
|
dispatch: (params: unknown) => {
|
|
@@ -31,12 +31,27 @@ type AnyCreateStore = (reducer: AnyReducer, preloadedState?: unknown) => any;
|
|
|
31
31
|
*/
|
|
32
32
|
export declare const buoyDevtoolsEnhancer: (createStore: AnyCreateStore) => (reducer: AnyReducer, preloadedState?: unknown) => any;
|
|
33
33
|
/**
|
|
34
|
-
* Claim the DevTools
|
|
35
|
-
* claimant (e.g. the real browser extension on web).
|
|
34
|
+
* Claim the DevTools COMPOSE global — dev builds only, and never over an
|
|
35
|
+
* existing claimant (e.g. the real browser extension on web).
|
|
36
36
|
*
|
|
37
37
|
* Idempotent; runs at module scope so simply importing `@buoy-gg/redux` (which
|
|
38
38
|
* `@buoy-gg/core` does at module scope) performs the claim as early as
|
|
39
39
|
* possible.
|
|
40
|
+
*
|
|
41
|
+
* DO NOT claim `__REDUX_DEVTOOLS_EXTENSION__` here — ever. That global is
|
|
42
|
+
* feature-detected BY PRESENCE by non-redux libraries (zustand's devtools
|
|
43
|
+
* middleware, valtio, jotai-devtools) which then call the extension OBJECT
|
|
44
|
+
* API (`.connect()` etc.) with no shape check. A bare function satisfies only
|
|
45
|
+
* redux's legacy calling convention, so claiming it crashes any host app
|
|
46
|
+
* whose zustand store uses `devtools(...)` — at store-module evaluation, so
|
|
47
|
+
* the app doesn't boot, and the surfaced error is a misleading React
|
|
48
|
+
* "Element type is invalid" from whatever lazy component imports next.
|
|
49
|
+
* (Shipped in 7.0.6/7.0.7; broke a large enterprise app; removed in the next
|
|
50
|
+
* patch.) Absent, all those libraries no-op gracefully. The COMPOSE global is
|
|
51
|
+
* safe because every known consumer CALLS it as a function — that is its
|
|
52
|
+
* whole contract — and it covers the dominant path (RTK's configureStore
|
|
53
|
+
* default). The legacy `createStore(reducer, __REDUX_DEVTOOLS_EXTENSION__())`
|
|
54
|
+
* pattern simply falls back to Buoy's dispatch-patch instrumentation.
|
|
40
55
|
*/
|
|
41
56
|
export declare function claimDevtoolsHook(): boolean;
|
|
42
57
|
/** Whether Buoy owns the DevTools compose global (i.e. won the load race). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtoolsHook.d.ts","sourceRoot":"","sources":["../../../../src/redux/utils/devtoolsHook.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAOH,KAAK,UAAU,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,GAAG,CAAC;AACnD,KAAK,cAAc,GAAG,CAAC,OAAO,EAAE,UAAU,EAAE,cAAc,CAAC,EAAE,OAAO,KAAK,GAAG,CAAC;AA+B7E;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAC9B,aAAa,cAAc,MAC3B,SAAS,UAAU,EAAE,iBAAiB,OAAO,QAgC7C,CAAC;AAuBJ
|
|
1
|
+
{"version":3,"file":"devtoolsHook.d.ts","sourceRoot":"","sources":["../../../../src/redux/utils/devtoolsHook.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAOH,KAAK,UAAU,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,GAAG,CAAC;AACnD,KAAK,cAAc,GAAG,CAAC,OAAO,EAAE,UAAU,EAAE,cAAc,CAAC,EAAE,OAAO,KAAK,GAAG,CAAC;AA+B7E;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAC9B,aAAa,cAAc,MAC3B,SAAS,UAAU,EAAE,iBAAiB,OAAO,QAgC7C,CAAC;AAuBJ;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAU3C;AAED,8EAA8E;AAC9E,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/redux",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.8",
|
|
4
4
|
"description": "Redux DevTools inside your React Native app — action log, state diffs & time travel with zero store changes. Part of Buoy devtools.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"**/devtoolsHook.ts"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@buoy-gg/
|
|
33
|
-
"@buoy-gg/floating-tools-core": "7.0.
|
|
34
|
-
"@buoy-gg/
|
|
32
|
+
"@buoy-gg/shared-ui": "7.0.8",
|
|
33
|
+
"@buoy-gg/floating-tools-core": "7.0.8",
|
|
34
|
+
"@buoy-gg/license": "7.0.8"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@reduxjs/toolkit": ">=1.9.0",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"build": "bob build",
|
|
94
94
|
"typecheck": "tsc --noEmit",
|
|
95
95
|
"clean": "rimraf lib",
|
|
96
|
-
"test": "pnpm run typecheck",
|
|
96
|
+
"test": "pnpm run typecheck && node scripts/test-devtools-hook.cjs",
|
|
97
97
|
"postinstall": "echo \"Run pnpm build to compile this package\""
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "FREE_TIER_ACTION_LIMIT", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _ReduxModal.FREE_TIER_ACTION_LIMIT;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "ReduxActionDetailContent", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _ReduxActionDetailContent.ReduxActionDetailContent;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "ReduxActionDetailFooter", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _ReduxActionDetailContent.ReduxActionDetailFooter;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "ReduxActionDetailView", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _ReduxActionDetailView.ReduxActionDetailView;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "ReduxActionItem", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _ReduxActionItem.ReduxActionItem;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "ReduxAutoInstrument", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _ReduxAutoInstrument.ReduxAutoInstrument;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "ReduxIcon", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return _ReduxIcon.ReduxIcon;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "ReduxModal", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _ReduxModal.ReduxModal;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
var _ReduxModal = require("./ReduxModal");
|
|
55
|
-
var _ReduxActionItem = require("./ReduxActionItem");
|
|
56
|
-
var _ReduxActionDetailView = require("./ReduxActionDetailView");
|
|
57
|
-
var _ReduxActionDetailContent = require("./ReduxActionDetailContent");
|
|
58
|
-
var _ReduxIcon = require("./ReduxIcon");
|
|
59
|
-
var _ReduxAutoInstrument = require("./ReduxAutoInstrument");
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "useAutoInstrumentRedux", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _useAutoInstrumentRedux.useAutoInstrumentRedux;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "useReduxActions", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _useReduxActions.useReduxActions;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "useReduxAvailability", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _useAutoInstrumentRedux.useReduxAvailability;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
var _useReduxActions = require("./useReduxActions");
|
|
25
|
-
var _useAutoInstrumentRedux = require("./useAutoInstrumentRedux");
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _types = require("./types");
|
|
7
|
-
Object.keys(_types).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _types[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _types[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
var _utils = require("./utils");
|
|
18
|
-
Object.keys(_utils).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _utils[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return _utils[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
var _hooks = require("./hooks");
|
|
29
|
-
Object.keys(_hooks).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (key in exports && exports[key] === _hooks[key]) return;
|
|
32
|
-
Object.defineProperty(exports, key, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () {
|
|
35
|
-
return _hooks[key];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
var _components = require("./components");
|
|
40
|
-
Object.keys(_components).forEach(function (key) {
|
|
41
|
-
if (key === "default" || key === "__esModule") return;
|
|
42
|
-
if (key in exports && exports[key] === _components[key]) return;
|
|
43
|
-
Object.defineProperty(exports, key, {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return _components[key];
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "BUOY_JUMP_TO_STATE", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _buoyReduxMiddleware.BUOY_JUMP_TO_STATE;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "BUOY_REPLAY_ACTION", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _buoyReduxMiddleware.BUOY_REPLAY_ACTION;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "autoJumpToState", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _autoInstrument.jumpToState;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "autoReplayAction", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _autoInstrument.replayAction;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "buoyDevtoolsEnhancer", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _devtoolsHook.buoyDevtoolsEnhancer;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "buoyReduxMiddleware", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _buoyReduxMiddleware.buoyReduxMiddleware;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "claimDevtoolsHook", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return _devtoolsHook.claimDevtoolsHook;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "createBuoyReduxMiddleware", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _buoyReduxMiddleware.createBuoyReduxMiddleware;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "createReduxHistoryAdapter", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _createReduxHistoryAdapter.createReduxHistoryAdapter;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "getActiveStore", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () {
|
|
63
|
-
return _autoInstrument.getActiveStore;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "getInstrumentationStatus", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () {
|
|
69
|
-
return _autoInstrument.getInstrumentationStatus;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, "instrumentStore", {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () {
|
|
75
|
-
return _autoInstrument.instrumentStore;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
Object.defineProperty(exports, "isAutoInstrumentActive", {
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function () {
|
|
81
|
-
return _autoInstrument.isAutoInstrumentActive;
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(exports, "isDevtoolsHookClaimed", {
|
|
85
|
-
enumerable: true,
|
|
86
|
-
get: function () {
|
|
87
|
-
return _devtoolsHook.isDevtoolsHookClaimed;
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
Object.defineProperty(exports, "isStoreInstrumented", {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function () {
|
|
93
|
-
return _autoInstrument.isStoreInstrumented;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, "jumpToState", {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () {
|
|
99
|
-
return _buoyReduxMiddleware.jumpToState;
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
Object.defineProperty(exports, "reduxActionStore", {
|
|
103
|
-
enumerable: true,
|
|
104
|
-
get: function () {
|
|
105
|
-
return _reduxActionStore.reduxActionStore;
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
Object.defineProperty(exports, "reduxHistoryAdapter", {
|
|
109
|
-
enumerable: true,
|
|
110
|
-
get: function () {
|
|
111
|
-
return _createReduxHistoryAdapter.reduxHistoryAdapter;
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
Object.defineProperty(exports, "registerReduxStore", {
|
|
115
|
-
enumerable: true,
|
|
116
|
-
get: function () {
|
|
117
|
-
return _autoInstrument.registerReduxStore;
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
Object.defineProperty(exports, "replayAction", {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () {
|
|
123
|
-
return _buoyReduxMiddleware.replayAction;
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
Object.defineProperty(exports, "uninstrumentStore", {
|
|
127
|
-
enumerable: true,
|
|
128
|
-
get: function () {
|
|
129
|
-
return _autoInstrument.uninstrumentStore;
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
Object.defineProperty(exports, "withBuoyDevTools", {
|
|
133
|
-
enumerable: true,
|
|
134
|
-
get: function () {
|
|
135
|
-
return _buoyReduxMiddleware.withBuoyDevTools;
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
var _reduxActionStore = require("./reduxActionStore");
|
|
139
|
-
var _buoyReduxMiddleware = require("./buoyReduxMiddleware");
|
|
140
|
-
var _createReduxHistoryAdapter = require("./createReduxHistoryAdapter");
|
|
141
|
-
var _autoInstrument = require("./autoInstrument");
|
|
142
|
-
var _devtoolsHook = require("./devtoolsHook");
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
export { ReduxModal, FREE_TIER_ACTION_LIMIT } from "./ReduxModal";
|
|
4
|
-
export { ReduxActionItem } from "./ReduxActionItem";
|
|
5
|
-
export { ReduxActionDetailView } from "./ReduxActionDetailView";
|
|
6
|
-
export { ReduxActionDetailContent, ReduxActionDetailFooter } from "./ReduxActionDetailContent";
|
|
7
|
-
export { ReduxIcon } from "./ReduxIcon";
|
|
8
|
-
export { ReduxAutoInstrument } from "./ReduxAutoInstrument";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
export { reduxActionStore } from "./reduxActionStore";
|
|
4
|
-
export { buoyReduxMiddleware, createBuoyReduxMiddleware, withBuoyDevTools, jumpToState, replayAction, BUOY_JUMP_TO_STATE, BUOY_REPLAY_ACTION } from "./buoyReduxMiddleware";
|
|
5
|
-
export { createReduxHistoryAdapter, reduxHistoryAdapter } from "./createReduxHistoryAdapter";
|
|
6
|
-
|
|
7
|
-
// Auto-instrumentation (zero-config)
|
|
8
|
-
export { instrumentStore, uninstrumentStore, isStoreInstrumented, isAutoInstrumentActive, getActiveStore, getInstrumentationStatus, registerReduxStore, jumpToState as autoJumpToState, replayAction as autoReplayAction } from "./autoInstrument";
|
|
9
|
-
// Store-creation-time capture (the primary, full-capture path)
|
|
10
|
-
export { buoyDevtoolsEnhancer, claimDevtoolsHook, isDevtoolsHookClaimed } from "./devtoolsHook";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { ReduxModal, FREE_TIER_ACTION_LIMIT } from "./ReduxModal";
|
|
2
|
-
export { ReduxActionItem } from "./ReduxActionItem";
|
|
3
|
-
export { ReduxActionDetailView } from "./ReduxActionDetailView";
|
|
4
|
-
export { ReduxActionDetailContent, ReduxActionDetailFooter, } from "./ReduxActionDetailContent";
|
|
5
|
-
export { ReduxIcon } from "./ReduxIcon";
|
|
6
|
-
export { ReduxAutoInstrument } from "./ReduxAutoInstrument";
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/redux/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EACL,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { useReduxActions } from "./useReduxActions";
|
|
2
|
-
export type { UseReduxActionsResult } from "./useReduxActions";
|
|
3
|
-
export { useAutoInstrumentRedux, useReduxAvailability, } from "./useAutoInstrumentRedux";
|
|
4
|
-
export type { UseAutoInstrumentReduxOptions, UseAutoInstrumentReduxResult, } from "./useAutoInstrumentRedux";
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/redux/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EACL,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redux/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC;AAGxB,cAAc,cAAc,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { reduxActionStore } from "./reduxActionStore";
|
|
2
|
-
export { buoyReduxMiddleware, createBuoyReduxMiddleware, withBuoyDevTools, jumpToState, replayAction, BUOY_JUMP_TO_STATE, BUOY_REPLAY_ACTION, } from "./buoyReduxMiddleware";
|
|
3
|
-
export { createReduxHistoryAdapter, reduxHistoryAdapter, type ReduxHistoryAdapterOptions, } from "./createReduxHistoryAdapter";
|
|
4
|
-
export { instrumentStore, uninstrumentStore, isStoreInstrumented, isAutoInstrumentActive, getActiveStore, getInstrumentationStatus, registerReduxStore, jumpToState as autoJumpToState, replayAction as autoReplayAction, } from "./autoInstrument";
|
|
5
|
-
export type { AutoInstrumentOptions, InstrumentationStatus, CaptureMechanism, } from "./autoInstrument";
|
|
6
|
-
export { buoyDevtoolsEnhancer, claimDevtoolsHook, isDevtoolsHookClaimed, } from "./devtoolsHook";
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/redux/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yBAAyB,EACzB,mBAAmB,EACnB,KAAK,0BAA0B,GAChC,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,wBAAwB,EACxB,kBAAkB,EAClB,WAAW,IAAI,eAAe,EAC9B,YAAY,IAAI,gBAAgB,GACjC,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,gBAAgB,CAAC"}
|