Skip to content

Commit

Permalink
feat(STATFLO-1093): updating widget type to match what is in the widg…
Browse files Browse the repository at this point in the history
…et admin
  • Loading branch information
Emgem committed Sep 26, 2023
1 parent 7ce2088 commit bdfdce7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@statflo/widget-sdk",
"version": "0.4.7",
"version": "0.4.8",
"description": "SDK for building widgets with Statflo and beyond",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
export * from "./store";
export { default } from "./store";

export * from "./components/RemoteComponent";
9 changes: 9 additions & 0 deletions src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ export interface Widget {
name: string;
label?: string;
url: string;
carrierIds: number[];
scopes: {
location: string;
positions: string[];
}[];
dealers: {
allDealers: boolean;
dealerIds?: number[];
};
type: "iframe" | "native";
native?: {
remote: string;
Expand Down

0 comments on commit bdfdce7

Please sign in to comment.