@buoy-gg/redux 7.0.18 → 7.0.19
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/sync/reduxSyncAdapter.js +40 -40
- package/lib/commonjs/redux/utils/reduxActionStore.js +2 -22
- package/lib/module/redux/sync/reduxSyncAdapter.js +41 -41
- package/lib/module/redux/utils/reduxActionStore.js +2 -22
- package/lib/typescript/redux/sync/reduxSyncAdapter.d.ts +5 -24
- package/lib/typescript/redux/sync/reduxSyncAdapter.d.ts.map +1 -1
- package/lib/typescript/redux/utils/reduxActionStore.d.ts.map +1 -1
- package/package.json +10 -5
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.reduxSyncAdapter = void 0;
|
|
7
7
|
var _reduxActionStore = require("../utils/reduxActionStore");
|
|
8
|
+
var _sharedUi = require("@buoy-gg/shared-ui");
|
|
8
9
|
var _autoInstrument = require("../utils/autoInstrument");
|
|
9
10
|
/**
|
|
10
11
|
* Upper bound for one on-demand action-detail response. Generous — this is a
|
|
@@ -17,12 +18,44 @@ const MAX_ACTION_DETAIL_BYTES = 8 * 1024 * 1024;
|
|
|
17
18
|
const MAX_WIRE_PAYLOAD_BYTES = 16 * 1024;
|
|
18
19
|
function toWireValue(value) {
|
|
19
20
|
if (value === undefined) return value;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
return (0, _sharedUi.isOverWireBudget)(value, MAX_WIRE_PAYLOAD_BYTES) ? _reduxActionStore.PAYLOAD_ON_DEVICE : value;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Per-action wire cache. `reduxActionStore` never mutates an action in place —
|
|
26
|
+
* it prepends, and `replaceActions` maps to fresh objects — so keying on
|
|
27
|
+
* identity is correct and self-invalidating. Without it, every payload,
|
|
28
|
+
* `action`, `meta.arg` and `error` in the list is re-measured on all ~5
|
|
29
|
+
* snapshots per second for as long as it stays in the list.
|
|
30
|
+
*/
|
|
31
|
+
const wireCache = new WeakMap();
|
|
32
|
+
function toWireAction(a) {
|
|
33
|
+
const cached = wireCache.get(a);
|
|
34
|
+
if (cached) return cached;
|
|
35
|
+
const wire = (0, _reduxActionStore.isEvictedState)(a.prevState) ? {
|
|
36
|
+
...a
|
|
37
|
+
} : {
|
|
38
|
+
...a,
|
|
39
|
+
prevState: _reduxActionStore.STATE_ON_DEVICE,
|
|
40
|
+
nextState: _reduxActionStore.STATE_ON_DEVICE
|
|
41
|
+
};
|
|
42
|
+
// A dispatched payload can itself be huge (rehydration actions carry whole
|
|
43
|
+
// state trees). The list view renders payloadPreview anyway — oversized /
|
|
44
|
+
// unserializable values stay on-device behind markers. `meta.arg` is a
|
|
45
|
+
// leftover: RTK copies the thunk argument there, and capping `action` still
|
|
46
|
+
// left the extracted copy on the wire.
|
|
47
|
+
wire.payload = toWireValue(wire.payload);
|
|
48
|
+
wire.action = toWireValue(wire.action);
|
|
49
|
+
wire.error = toWireValue(wire.error);
|
|
50
|
+
if (wire.meta) {
|
|
51
|
+
const arg = toWireValue(wire.meta.arg);
|
|
52
|
+
if (arg !== wire.meta.arg) wire.meta = {
|
|
53
|
+
...wire.meta,
|
|
54
|
+
arg
|
|
55
|
+
};
|
|
24
56
|
}
|
|
25
|
-
|
|
57
|
+
wireCache.set(a, wire);
|
|
58
|
+
return wire;
|
|
26
59
|
}
|
|
27
60
|
/** Top-level slice names of the state tree, for the compact (no-values) view. */
|
|
28
61
|
function topLevelKeys(state) {
|
|
@@ -71,33 +104,7 @@ const reduxSyncAdapter = exports.reduxSyncAdapter = {
|
|
|
71
104
|
* trees on demand via `getActionDetail`; already-evicted entries keep the
|
|
72
105
|
* eviction sentinel so consumers can distinguish "fetchable" from "gone".
|
|
73
106
|
*/
|
|
74
|
-
getSnapshot: () => _reduxActionStore.reduxActionStore.getActions().map(
|
|
75
|
-
const wire = (0, _reduxActionStore.isEvictedState)(a.prevState) ? {
|
|
76
|
-
...a
|
|
77
|
-
} : {
|
|
78
|
-
...a,
|
|
79
|
-
prevState: _reduxActionStore.STATE_ON_DEVICE,
|
|
80
|
-
nextState: _reduxActionStore.STATE_ON_DEVICE
|
|
81
|
-
};
|
|
82
|
-
// A dispatched payload can itself be huge (rehydration actions carry
|
|
83
|
-
// whole state trees). The list view renders payloadPreview anyway —
|
|
84
|
-
// oversized / unserializable values stay on-device behind markers.
|
|
85
|
-
// `meta.arg` is a leftover: RTK copies the thunk argument there, and
|
|
86
|
-
// capping `action` still left the extracted copy on the wire.
|
|
87
|
-
wire.payload = toWireValue(wire.payload);
|
|
88
|
-
wire.action = toWireValue(wire.action);
|
|
89
|
-
wire.error = toWireValue(wire.error);
|
|
90
|
-
if (wire.meta) {
|
|
91
|
-
const arg = toWireValue(wire.meta.arg);
|
|
92
|
-
if (arg !== wire.meta.arg) {
|
|
93
|
-
wire.meta = {
|
|
94
|
-
...wire.meta,
|
|
95
|
-
arg
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
return wire;
|
|
100
|
-
}),
|
|
107
|
+
getSnapshot: () => _reduxActionStore.reduxActionStore.getActions().map(toWireAction),
|
|
101
108
|
subscribe: onChange => _reduxActionStore.reduxActionStore.subscribe(onChange),
|
|
102
109
|
actions: {
|
|
103
110
|
clearEvents: () => {
|
|
@@ -135,14 +142,7 @@ const reduxSyncAdapter = exports.reduxSyncAdapter = {
|
|
|
135
142
|
__buoyTruncated: true,
|
|
136
143
|
note: `Exceeds the ${MAX_ACTION_DETAIL_BYTES / (1024 * 1024)}MB detail limit — inspect it on-device.`
|
|
137
144
|
};
|
|
138
|
-
const cap = value =>
|
|
139
|
-
try {
|
|
140
|
-
JSON.stringify(value);
|
|
141
|
-
} catch {
|
|
142
|
-
return cappedNote;
|
|
143
|
-
}
|
|
144
|
-
return (0, _reduxActionStore.jsonLongerThan)(value, MAX_ACTION_DETAIL_BYTES) ? cappedNote : value;
|
|
145
|
-
};
|
|
145
|
+
const cap = value => (0, _sharedUi.isOverWireBudget)(value, MAX_ACTION_DETAIL_BYTES) ? cappedNote : value;
|
|
146
146
|
const capMeta = meta => {
|
|
147
147
|
if (!meta) return meta;
|
|
148
148
|
const arg = cap(meta.arg);
|
|
@@ -8,6 +8,7 @@ exports.isEvictedState = isEvictedState;
|
|
|
8
8
|
exports.isPayloadOnDevice = isPayloadOnDevice;
|
|
9
9
|
exports.jsonLongerThan = jsonLongerThan;
|
|
10
10
|
exports.reduxActionStore = void 0;
|
|
11
|
+
var _sharedUi = require("@buoy-gg/shared-ui");
|
|
11
12
|
/**
|
|
12
13
|
* Redux action store - captures and stores Redux Toolkit actions
|
|
13
14
|
*/
|
|
@@ -129,28 +130,7 @@ function parseActionType(type) {
|
|
|
129
130
|
* JS thread at enterprise state sizes.
|
|
130
131
|
*/
|
|
131
132
|
function jsonLongerThan(value, limit) {
|
|
132
|
-
|
|
133
|
-
const stack = [value];
|
|
134
|
-
const seen = new Set();
|
|
135
|
-
while (stack.length > 0) {
|
|
136
|
-
if (bytes > limit) return true;
|
|
137
|
-
const v = stack.pop();
|
|
138
|
-
if (v === null || v === undefined) bytes += 4;else if (typeof v === "string") bytes += v.length + 2;else if (typeof v === "number") bytes += 8;else if (typeof v === "boolean") bytes += 5;else if (typeof v === "object") {
|
|
139
|
-
if (seen.has(v)) continue;
|
|
140
|
-
seen.add(v);
|
|
141
|
-
if (Array.isArray(v)) {
|
|
142
|
-
bytes += 2 + v.length;
|
|
143
|
-
for (let i = 0; i < v.length; i++) stack.push(v[i]);
|
|
144
|
-
} else {
|
|
145
|
-
bytes += 2;
|
|
146
|
-
for (const k in v) {
|
|
147
|
-
bytes += k.length + 4;
|
|
148
|
-
stack.push(v[k]);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
} else bytes += 4;
|
|
152
|
-
}
|
|
153
|
-
return bytes > limit;
|
|
133
|
+
return (0, _sharedUi.approxJsonSize)(value, limit).bytes > limit;
|
|
154
134
|
}
|
|
155
135
|
|
|
156
136
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { reduxActionStore, STATE_ON_DEVICE, PAYLOAD_ON_DEVICE, isEvictedState
|
|
3
|
+
import { reduxActionStore, STATE_ON_DEVICE, PAYLOAD_ON_DEVICE, isEvictedState } from "../utils/reduxActionStore";
|
|
4
|
+
import { isOverWireBudget } from "@buoy-gg/shared-ui";
|
|
4
5
|
import { getActiveStore, getInstrumentationStatus } from "../utils/autoInstrument";
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -14,12 +15,44 @@ const MAX_ACTION_DETAIL_BYTES = 8 * 1024 * 1024;
|
|
|
14
15
|
const MAX_WIRE_PAYLOAD_BYTES = 16 * 1024;
|
|
15
16
|
function toWireValue(value) {
|
|
16
17
|
if (value === undefined) return value;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
return isOverWireBudget(value, MAX_WIRE_PAYLOAD_BYTES) ? PAYLOAD_ON_DEVICE : value;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Per-action wire cache. `reduxActionStore` never mutates an action in place —
|
|
23
|
+
* it prepends, and `replaceActions` maps to fresh objects — so keying on
|
|
24
|
+
* identity is correct and self-invalidating. Without it, every payload,
|
|
25
|
+
* `action`, `meta.arg` and `error` in the list is re-measured on all ~5
|
|
26
|
+
* snapshots per second for as long as it stays in the list.
|
|
27
|
+
*/
|
|
28
|
+
const wireCache = new WeakMap();
|
|
29
|
+
function toWireAction(a) {
|
|
30
|
+
const cached = wireCache.get(a);
|
|
31
|
+
if (cached) return cached;
|
|
32
|
+
const wire = isEvictedState(a.prevState) ? {
|
|
33
|
+
...a
|
|
34
|
+
} : {
|
|
35
|
+
...a,
|
|
36
|
+
prevState: STATE_ON_DEVICE,
|
|
37
|
+
nextState: STATE_ON_DEVICE
|
|
38
|
+
};
|
|
39
|
+
// A dispatched payload can itself be huge (rehydration actions carry whole
|
|
40
|
+
// state trees). The list view renders payloadPreview anyway — oversized /
|
|
41
|
+
// unserializable values stay on-device behind markers. `meta.arg` is a
|
|
42
|
+
// leftover: RTK copies the thunk argument there, and capping `action` still
|
|
43
|
+
// left the extracted copy on the wire.
|
|
44
|
+
wire.payload = toWireValue(wire.payload);
|
|
45
|
+
wire.action = toWireValue(wire.action);
|
|
46
|
+
wire.error = toWireValue(wire.error);
|
|
47
|
+
if (wire.meta) {
|
|
48
|
+
const arg = toWireValue(wire.meta.arg);
|
|
49
|
+
if (arg !== wire.meta.arg) wire.meta = {
|
|
50
|
+
...wire.meta,
|
|
51
|
+
arg
|
|
52
|
+
};
|
|
21
53
|
}
|
|
22
|
-
|
|
54
|
+
wireCache.set(a, wire);
|
|
55
|
+
return wire;
|
|
23
56
|
}
|
|
24
57
|
/** Top-level slice names of the state tree, for the compact (no-values) view. */
|
|
25
58
|
function topLevelKeys(state) {
|
|
@@ -68,33 +101,7 @@ export const reduxSyncAdapter = {
|
|
|
68
101
|
* trees on demand via `getActionDetail`; already-evicted entries keep the
|
|
69
102
|
* eviction sentinel so consumers can distinguish "fetchable" from "gone".
|
|
70
103
|
*/
|
|
71
|
-
getSnapshot: () => reduxActionStore.getActions().map(
|
|
72
|
-
const wire = isEvictedState(a.prevState) ? {
|
|
73
|
-
...a
|
|
74
|
-
} : {
|
|
75
|
-
...a,
|
|
76
|
-
prevState: STATE_ON_DEVICE,
|
|
77
|
-
nextState: STATE_ON_DEVICE
|
|
78
|
-
};
|
|
79
|
-
// A dispatched payload can itself be huge (rehydration actions carry
|
|
80
|
-
// whole state trees). The list view renders payloadPreview anyway —
|
|
81
|
-
// oversized / unserializable values stay on-device behind markers.
|
|
82
|
-
// `meta.arg` is a leftover: RTK copies the thunk argument there, and
|
|
83
|
-
// capping `action` still left the extracted copy on the wire.
|
|
84
|
-
wire.payload = toWireValue(wire.payload);
|
|
85
|
-
wire.action = toWireValue(wire.action);
|
|
86
|
-
wire.error = toWireValue(wire.error);
|
|
87
|
-
if (wire.meta) {
|
|
88
|
-
const arg = toWireValue(wire.meta.arg);
|
|
89
|
-
if (arg !== wire.meta.arg) {
|
|
90
|
-
wire.meta = {
|
|
91
|
-
...wire.meta,
|
|
92
|
-
arg
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
return wire;
|
|
97
|
-
}),
|
|
104
|
+
getSnapshot: () => reduxActionStore.getActions().map(toWireAction),
|
|
98
105
|
subscribe: onChange => reduxActionStore.subscribe(onChange),
|
|
99
106
|
actions: {
|
|
100
107
|
clearEvents: () => {
|
|
@@ -132,14 +139,7 @@ export const reduxSyncAdapter = {
|
|
|
132
139
|
__buoyTruncated: true,
|
|
133
140
|
note: `Exceeds the ${MAX_ACTION_DETAIL_BYTES / (1024 * 1024)}MB detail limit — inspect it on-device.`
|
|
134
141
|
};
|
|
135
|
-
const cap = value =>
|
|
136
|
-
try {
|
|
137
|
-
JSON.stringify(value);
|
|
138
|
-
} catch {
|
|
139
|
-
return cappedNote;
|
|
140
|
-
}
|
|
141
|
-
return jsonLongerThan(value, MAX_ACTION_DETAIL_BYTES) ? cappedNote : value;
|
|
142
|
-
};
|
|
142
|
+
const cap = value => isOverWireBudget(value, MAX_ACTION_DETAIL_BYTES) ? cappedNote : value;
|
|
143
143
|
const capMeta = meta => {
|
|
144
144
|
if (!meta) return meta;
|
|
145
145
|
const arg = cap(meta.arg);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* Redux action store - captures and stores Redux Toolkit actions
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import { approxJsonSize } from "@buoy-gg/shared-ui";
|
|
7
8
|
/**
|
|
8
9
|
* How many of the most-recent actions keep their raw prevState/nextState
|
|
9
10
|
* trees. Older actions keep all diff metadata but their trees are replaced
|
|
@@ -121,28 +122,7 @@ function parseActionType(type) {
|
|
|
121
122
|
* JS thread at enterprise state sizes.
|
|
122
123
|
*/
|
|
123
124
|
export function jsonLongerThan(value, limit) {
|
|
124
|
-
|
|
125
|
-
const stack = [value];
|
|
126
|
-
const seen = new Set();
|
|
127
|
-
while (stack.length > 0) {
|
|
128
|
-
if (bytes > limit) return true;
|
|
129
|
-
const v = stack.pop();
|
|
130
|
-
if (v === null || v === undefined) bytes += 4;else if (typeof v === "string") bytes += v.length + 2;else if (typeof v === "number") bytes += 8;else if (typeof v === "boolean") bytes += 5;else if (typeof v === "object") {
|
|
131
|
-
if (seen.has(v)) continue;
|
|
132
|
-
seen.add(v);
|
|
133
|
-
if (Array.isArray(v)) {
|
|
134
|
-
bytes += 2 + v.length;
|
|
135
|
-
for (let i = 0; i < v.length; i++) stack.push(v[i]);
|
|
136
|
-
} else {
|
|
137
|
-
bytes += 2;
|
|
138
|
-
for (const k in v) {
|
|
139
|
-
bytes += k.length + 4;
|
|
140
|
-
stack.push(v[k]);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
} else bytes += 4;
|
|
144
|
-
}
|
|
145
|
-
return bytes > limit;
|
|
125
|
+
return approxJsonSize(value, limit).bytes > limit;
|
|
146
126
|
}
|
|
147
127
|
|
|
148
128
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionMeta } from "../types";
|
|
1
|
+
import type { ActionMeta, ReduxAction } from "../types";
|
|
2
2
|
/**
|
|
3
3
|
* Sync adapter for the redux tool, consumed by @buoy-gg/external-sync's
|
|
4
4
|
* `useExternalSync` (structurally matches its ToolSyncAdapter interface so
|
|
@@ -26,26 +26,7 @@ export declare const reduxSyncAdapter: {
|
|
|
26
26
|
* trees on demand via `getActionDetail`; already-evicted entries keep the
|
|
27
27
|
* eviction sentinel so consumers can distinguish "fetchable" from "gone".
|
|
28
28
|
*/
|
|
29
|
-
getSnapshot: () =>
|
|
30
|
-
id: string;
|
|
31
|
-
type: string;
|
|
32
|
-
payload?: unknown;
|
|
33
|
-
action: Record<string, unknown>;
|
|
34
|
-
timestamp: number;
|
|
35
|
-
prevState: unknown;
|
|
36
|
-
nextState: unknown;
|
|
37
|
-
duration?: number;
|
|
38
|
-
hasStateChange: boolean;
|
|
39
|
-
category: import("../types").ActionCategory;
|
|
40
|
-
sliceName: string | null;
|
|
41
|
-
actionName: string;
|
|
42
|
-
meta?: ActionMeta;
|
|
43
|
-
error?: unknown;
|
|
44
|
-
payloadPreview: string;
|
|
45
|
-
diffSummary: string;
|
|
46
|
-
changedKeysCount: number;
|
|
47
|
-
isSlowAction: boolean;
|
|
48
|
-
}[];
|
|
29
|
+
getSnapshot: () => ReduxAction[];
|
|
49
30
|
subscribe: (onChange: () => void) => () => void;
|
|
50
31
|
actions: {
|
|
51
32
|
clearEvents: () => void;
|
|
@@ -54,7 +35,7 @@ export declare const reduxSyncAdapter: {
|
|
|
54
35
|
* The per-snapshot stream stays tree-free; this is the explicit,
|
|
55
36
|
* size-guarded channel for the detail pane.
|
|
56
37
|
*/
|
|
57
|
-
getActionDetail: (params
|
|
38
|
+
getActionDetail: (params?: unknown) => {
|
|
58
39
|
found: false;
|
|
59
40
|
reason: string;
|
|
60
41
|
id?: undefined;
|
|
@@ -92,7 +73,7 @@ export declare const reduxSyncAdapter: {
|
|
|
92
73
|
* Compact current-state reader: the instrumented store's slice names, and
|
|
93
74
|
* the full state tree only when `includeValues` is set (heavy).
|
|
94
75
|
*/
|
|
95
|
-
getState: (params
|
|
76
|
+
getState: (params?: unknown) => {
|
|
96
77
|
available: false;
|
|
97
78
|
slices: string[];
|
|
98
79
|
/** 'no-react-redux' | 'no-provider' | 'not-instrumented' */
|
|
@@ -106,7 +87,7 @@ export declare const reduxSyncAdapter: {
|
|
|
106
87
|
mechanism: import("../..").CaptureMechanism | null;
|
|
107
88
|
};
|
|
108
89
|
/** Dispatch a plain action object to the instrumented store. */
|
|
109
|
-
dispatch: (params
|
|
90
|
+
dispatch: (params?: unknown) => {
|
|
110
91
|
available: false;
|
|
111
92
|
slices: string[];
|
|
112
93
|
/** 'no-react-redux' | 'no-provider' | 'not-instrumented' */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reduxSyncAdapter.d.ts","sourceRoot":"","sources":["../../../../src/redux/sync/reduxSyncAdapter.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"reduxSyncAdapter.d.ts","sourceRoot":"","sources":["../../../../src/redux/sync/reduxSyncAdapter.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAwFxD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,gBAAgB;;IAE3B;;;;;;;;OAQG;;0BAEmB,MAAM,IAAI;;;QAK9B;;;;WAIG;mCACwB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAqClC;;;WAGG;4BACiB,OAAO;;oBArFb,MAAM,EAAE;YACtB,4DAA4D;;;;;;YAgGxD,wEAAwE;;;;QAM5E,gEAAgE;4BAC5C,OAAO;;oBAxGb,MAAM,EAAE;YACtB,4DAA4D;;;;;;;;;CAiH/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reduxActionStore.d.ts","sourceRoot":"","sources":["../../../../src/redux/utils/reduxActionStore.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"reduxActionStore.d.ts","sourceRoot":"","sources":["../../../../src/redux/utils/reduxActionStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAA8B,MAAM,UAAU,CAAC;AAErF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAExC;;;GAGG;AACH,eAAO,MAAM,aAAa;;;EAGxB,CAAC;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;;;EAG1B,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;EAG5B,CAAC;AAEH,qEAAqE;AACrE,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAMzD;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAItD;AAwDD;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAErE;AA8HD,cAAM,gBAAgB;IACpB,OAAO,CAAC,OAAO,CAAqB;IACpC,OAAO,CAAC,SAAS,CAAoD;IACrE,OAAO,CAAC,cAAc,CAA8B;IACpD,OAAO,CAAC,UAAU,CAAO;IACzB,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,iBAAiB,CAAS;IAElC,SAAS,CACP,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,QAAQ,CAAC,EAAE,MAAM,GAChB,IAAI;IAyEP,UAAU,IAAI,WAAW,EAAE;IAI3B,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAIlD,YAAY,IAAI,IAAI;IAYpB;;;OAGG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAWzC;;;;OAIG;IACH,cAAc,IAAI,IAAI;IAItB;;;;OAIG;IACH,mBAAmB,IAAI,OAAO;IAI9B;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI;IA8B5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI;IAW5D,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAIlC,UAAU,IAAI,OAAO;IAIrB,SAAS,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,IAAI,GAAG,MAAM,IAAI;IAOjE,OAAO,CAAC,eAAe;IAKvB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAQhC,QAAQ;;;;;;;IAuBR,aAAa,CAAC,MAAM,EAAE,WAAW,GAAG,WAAW,EAAE;IAmBjD,oBAAoB,IAAI,MAAM,EAAE;IAIhC;;OAEG;IACH,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,EAAE;IAMnD;;OAEG;IACH,gBAAgB,CAAC,MAAM,EAAE,WAAW,GAAG,WAAW,EAAE;IAKpD;;OAEG;IACH,qBAAqB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM;IAOlD;;OAEG;IACH,yBAAyB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAe3D;;OAEG;IACH,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAWvC;;;OAGG;IACH,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;CAkBlD;AAED,eAAO,MAAM,gBAAgB,kBAAyB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/redux",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.19",
|
|
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",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"**/snapshotProvider.ts"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@buoy-gg/shared-ui": "^7.0.
|
|
35
|
-
"@buoy-gg/license": "^7.0.
|
|
36
|
-
"@buoy-gg/floating-tools-core": "^7.0.
|
|
34
|
+
"@buoy-gg/shared-ui": "^7.0.19",
|
|
35
|
+
"@buoy-gg/license": "^7.0.19",
|
|
36
|
+
"@buoy-gg/floating-tools-core": "^7.0.19"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@reduxjs/toolkit": ">=1.9.0",
|
|
@@ -64,7 +64,12 @@
|
|
|
64
64
|
"sourceMaps": false
|
|
65
65
|
}
|
|
66
66
|
],
|
|
67
|
-
|
|
67
|
+
[
|
|
68
|
+
"typescript",
|
|
69
|
+
{
|
|
70
|
+
"project": "tsconfig.build.json"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
68
73
|
]
|
|
69
74
|
},
|
|
70
75
|
"repository": {
|