@buoy-gg/storage 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.
|
@@ -73,7 +73,7 @@ export declare const storageSyncAdapter: {
|
|
|
73
73
|
* size-guarded channel for the detail pane (and for time-travel undo,
|
|
74
74
|
* which needs `prevValue`).
|
|
75
75
|
*/
|
|
76
|
-
getEventDetail: (params
|
|
76
|
+
getEventDetail: (params?: unknown) => {
|
|
77
77
|
found: false;
|
|
78
78
|
reason: string;
|
|
79
79
|
id?: undefined;
|
|
@@ -87,7 +87,7 @@ export declare const storageSyncAdapter: {
|
|
|
87
87
|
/** Clears all app storage keys, preserving dev tools settings. */
|
|
88
88
|
clearAppStorage: () => Promise<void>;
|
|
89
89
|
/** Undo one event, addressed by the `id` the store assigned it. */
|
|
90
|
-
"timeTravel.undo": (params
|
|
90
|
+
"timeTravel.undo": (params?: unknown) => Promise<{
|
|
91
91
|
undone: boolean;
|
|
92
92
|
action: "mergeItem" | "multiSet" | "multiRemove" | "clear" | "setItem" | "removeItem" | "multiMerge";
|
|
93
93
|
key: string | undefined;
|
|
@@ -106,11 +106,11 @@ export declare const storageSyncAdapter: {
|
|
|
106
106
|
}>;
|
|
107
107
|
"async.getAllKeys": () => Promise<string[]>;
|
|
108
108
|
"async.multiGet": (params: unknown) => Promise<[string, string | null][]>;
|
|
109
|
-
"async.getItem": (params
|
|
110
|
-
"async.setItem": (params
|
|
111
|
-
"async.removeItem": (params
|
|
112
|
-
"async.multiRemove": (params
|
|
113
|
-
"async.multiSet": (params
|
|
109
|
+
"async.getItem": (params?: unknown) => Promise<string | null>;
|
|
110
|
+
"async.setItem": (params?: unknown) => Promise<void>;
|
|
111
|
+
"async.removeItem": (params?: unknown) => Promise<void>;
|
|
112
|
+
"async.multiRemove": (params?: unknown) => Promise<void>;
|
|
113
|
+
"async.multiSet": (params?: unknown) => Promise<void>;
|
|
114
114
|
"async.clear": () => Promise<void>;
|
|
115
115
|
"mmkv.snapshot": () => MMKVSnapshotInstance[];
|
|
116
116
|
/**
|
|
@@ -118,7 +118,7 @@ export declare const storageSyncAdapter: {
|
|
|
118
118
|
* browse poll cannot blow the action-result budget; this is the
|
|
119
119
|
* size-guarded channel for one key.
|
|
120
120
|
*/
|
|
121
|
-
"mmkv.get": (params
|
|
121
|
+
"mmkv.get": (params?: unknown) => {
|
|
122
122
|
found: false;
|
|
123
123
|
reason: string;
|
|
124
124
|
instanceId?: undefined;
|
|
@@ -133,8 +133,8 @@ export declare const storageSyncAdapter: {
|
|
|
133
133
|
valueType: import("../..").MMKVValueType;
|
|
134
134
|
reason?: undefined;
|
|
135
135
|
};
|
|
136
|
-
"mmkv.set": (params
|
|
137
|
-
"mmkv.remove": (params
|
|
136
|
+
"mmkv.set": (params?: unknown) => void;
|
|
137
|
+
"mmkv.remove": (params?: unknown) => void;
|
|
138
138
|
"secure.keys": () => {
|
|
139
139
|
key: string;
|
|
140
140
|
description: string | undefined;
|
|
@@ -148,15 +148,15 @@ export declare const storageSyncAdapter: {
|
|
|
148
148
|
* firing one `secure.get` per key per refresh.
|
|
149
149
|
*/
|
|
150
150
|
"secure.snapshot": () => Promise<SecureSnapshotEntry[]>;
|
|
151
|
-
"secure.get": (params
|
|
151
|
+
"secure.get": (params?: unknown) => Promise<string | null>;
|
|
152
152
|
/**
|
|
153
153
|
* Write a registered SecureStore key. Goes through the registry so the
|
|
154
154
|
* value is written with the SAME options it was registered with — writing
|
|
155
155
|
* with different `keychainService` options creates a second entry the app
|
|
156
156
|
* can't read. Biometric-protected keys throw rather than prompting.
|
|
157
157
|
*/
|
|
158
|
-
"secure.set": (params
|
|
159
|
-
"secure.delete": (params
|
|
158
|
+
"secure.set": (params?: unknown) => Promise<void>;
|
|
159
|
+
"secure.delete": (params?: unknown) => Promise<void>;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
162
|
//# sourceMappingURL=storageSyncAdapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageSyncAdapter.d.ts","sourceRoot":"","sources":["../../../../src/storage/sync/storageSyncAdapter.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,6BAA6B,CAAC;AAYrC;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;EAG1B,CAAC;AAEH,sEAAsE;AACtE,eAAO,MAAM,2BAA2B,QAAY,CAAC;AAErD;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,QAAqB,CAAC;AA4JzD,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,sEAAsE;IACtE,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAED,wDAAwD;AACxD,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,KAAK,EAAE,OAAO,CAAC;CAChB;AAsBD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB;;;0BAeP,MAAM,IAAI;;;QAM9B;;;;;WAKG;
|
|
1
|
+
{"version":3,"file":"storageSyncAdapter.d.ts","sourceRoot":"","sources":["../../../../src/storage/sync/storageSyncAdapter.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,6BAA6B,CAAC;AAYrC;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;EAG1B,CAAC;AAEH,sEAAsE;AACtE,eAAO,MAAM,2BAA2B,QAA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@buoy-gg/storage",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.19",
|
|
4
4
|
"description": "Browse & edit AsyncStorage, MMKV & SecureStore inside your React Native app, with change history. Part of Buoy devtools.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"**/snapshotProvider.ts"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@buoy-gg/floating-tools-core": "^7.0.
|
|
33
|
-
"@buoy-gg/shared-ui": "^7.0.
|
|
32
|
+
"@buoy-gg/floating-tools-core": "^7.0.19",
|
|
33
|
+
"@buoy-gg/shared-ui": "^7.0.19"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@buoy-gg/license": "7.0.
|
|
36
|
+
"@buoy-gg/license": "7.0.19",
|
|
37
37
|
"@react-native-async-storage/async-storage": "^2.0.0 || ^3.1.0",
|
|
38
38
|
"react": "*",
|
|
39
39
|
"react-native": "*"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@types/react": "^19.1.0",
|
|
44
44
|
"@types/react-native": "^0.73.0",
|
|
45
45
|
"typescript": "~5.8.3",
|
|
46
|
-
"@buoy-gg/license": "^7.0.
|
|
46
|
+
"@buoy-gg/license": "^7.0.19"
|
|
47
47
|
},
|
|
48
48
|
"react-native-builder-bob": {
|
|
49
49
|
"source": "src",
|
|
@@ -61,7 +61,12 @@
|
|
|
61
61
|
"sourceMaps": false
|
|
62
62
|
}
|
|
63
63
|
],
|
|
64
|
-
|
|
64
|
+
[
|
|
65
|
+
"typescript",
|
|
66
|
+
{
|
|
67
|
+
"project": "tsconfig.build.json"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
65
70
|
]
|
|
66
71
|
},
|
|
67
72
|
"repository": {
|