Skip to content

Commit

Permalink
Merge pull request #5 from Statflo/STATFLO-724
Browse files Browse the repository at this point in the history
STATFLO-724 - Update fields and update zustand dependency
  • Loading branch information
rafaelsantos-statflo authored Mar 15, 2023
2 parents 583b17f + c3d7bc3 commit 2d21a16
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"web-vitals": "^2.1.4",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1",
"zustand": "^4.1.4"
"zustand": "^4.3.3"
},
"scripts": {
"start": "webpack serve",
Expand Down
12 changes: 6 additions & 6 deletions examples/react/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1639,12 +1639,12 @@
"@sinonjs/commons" "^1.7.0"

"@statflo/widget-sdk@./../../":
version "0.4.0"
version "0.4.2"
dependencies:
iframe-resizer "^4.3.2"
typescript "^4.9.3"
uuid "^9.0.0"
zustand "^4.1.4"
zustand "^4.3.3"
optionalDependencies:
react ">=16.8"
use-sync-external-store "1.2.0"
Expand Down Expand Up @@ -9374,9 +9374,9 @@ yocto-queue@^0.1.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

zustand@^4.1.4:
version "4.1.4"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.1.4.tgz#b0286da4cc9edd35e91c96414fa54bfa4652a54d"
integrity sha512-k2jVOlWo8p4R83mQ+/uyB8ILPO2PCJOf+QVjcL+1PbMCk1w5OoPYpAIxy9zd93FSfmJqoH6lGdwzzjwqJIRU5A==
zustand@^4.3.3:
version "4.3.6"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.3.6.tgz#ce7804eb75361af0461a2d0536b65461ec5de86f"
integrity sha512-6J5zDxjxLE+yukC2XZWf/IyWVKnXT9b9HUv09VJ/bwGCpKNcaTqp7Ws28Xr8jnbvnZcdRaidztAPsXFBIqufiw==
dependencies:
use-sync-external-store "1.2.0"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@statflo/widget-sdk",
"version": "0.4.1",
"version": "0.4.2",
"description": "SDK for building widgets with Statflo and beyond",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down Expand Up @@ -34,7 +34,7 @@
"iframe-resizer": "^4.3.2",
"typescript": "^4.9.3",
"uuid": "^9.0.0",
"zustand": "^4.1.4"
"zustand": "^4.3.3"
},
"devDependencies": {
"@types/jest": "^29.2.5",
Expand Down
3 changes: 1 addition & 2 deletions src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ export interface Widget {
name: string;
url: string;
type: "iframe" | "native";
remote?: {
native?: {
module: string;
component: string;
};
component?: string;
}

export interface WidgetState {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3275,9 +3275,9 @@ yocto-queue@^0.1.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

zustand@^4.1.4:
version "4.1.4"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.1.4.tgz#b0286da4cc9edd35e91c96414fa54bfa4652a54d"
integrity sha512-k2jVOlWo8p4R83mQ+/uyB8ILPO2PCJOf+QVjcL+1PbMCk1w5OoPYpAIxy9zd93FSfmJqoH6lGdwzzjwqJIRU5A==
zustand@^4.3.3:
version "4.3.6"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.3.6.tgz#ce7804eb75361af0461a2d0536b65461ec5de86f"
integrity sha512-6J5zDxjxLE+yukC2XZWf/IyWVKnXT9b9HUv09VJ/bwGCpKNcaTqp7Ws28Xr8jnbvnZcdRaidztAPsXFBIqufiw==
dependencies:
use-sync-external-store "1.2.0"

0 comments on commit 2d21a16

Please sign in to comment.