We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4e4d8 commit a5b7e1aCopy full SHA for a5b7e1a
packages/snaps-controllers/src/snaps/SnapController.ts
@@ -257,12 +257,12 @@ export interface SnapRuntimeData {
257
/**
258
* Cached encrypted state of the Snap.
259
*/
260
- state: Record<string, Json> | null;
+ state?: Record<string, Json> | null;
261
262
263
* Cached unencrypted state of the Snap.
264
265
- unencryptedState: Record<string, Json> | null;
+ unencryptedState?: Record<string, Json> | null;
266
}
267
268
export type SnapError = {
@@ -3800,8 +3800,6 @@ export class SnapController extends BaseController<
3800
pendingOutboundRequests: 0,
3801
interpreter,
3802
stopping: false,
3803
- state: undefined,
3804
- unencryptedState: undefined,
3805
});
3806
3807
0 commit comments