Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewWalsh committed Nov 5, 2023
1 parent 9827595 commit 89948d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "OpenAPI DevTools",
"version": "1.2.0",
"version": "1.2.1",
"devtools_page": "index.html",
"permissions": [],
"icons": {
Expand Down
Binary file modified resources/dist.zip
Binary file not shown.
5 changes: 3 additions & 2 deletions src/lib/RequestStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
insertLeafMap,
upsert,
persistOptions,
leafMapToRouterMap,
} from "./store-helpers";
import { omit, unset } from "lodash";
import leafMapToEndpoints from "./leafmap-to-endpoints";
Expand Down Expand Up @@ -40,9 +41,9 @@ export default class RequestStore {

public import(json: string): boolean {
try {
const { store, leafMap, disabledHosts } = JSON.parse(json);
const { leafMap, disabledHosts } = JSON.parse(json);
this.disabledHosts = new Set(disabledHosts);
this.store = store;
this.store = leafMapToRouterMap(leafMap);
this.leafMap = leafMap;
return true;
} catch {
Expand Down

0 comments on commit 89948d8

Please sign in to comment.