Skip to content

Commit 2d21a16

Browse files
Merge pull request #5 from Statflo/STATFLO-724
STATFLO-724 - Update fields and update zustand dependency
2 parents 583b17f + c3d7bc3 commit 2d21a16

File tree

5 files changed

+14
-15
lines changed

5 files changed

+14
-15
lines changed

examples/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"web-vitals": "^2.1.4",
2323
"webpack-cli": "^4.10.0",
2424
"webpack-dev-server": "^4.11.1",
25-
"zustand": "^4.1.4"
25+
"zustand": "^4.3.3"
2626
},
2727
"scripts": {
2828
"start": "webpack serve",

examples/react/yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,12 +1639,12 @@
16391639
"@sinonjs/commons" "^1.7.0"
16401640

16411641
"@statflo/widget-sdk@./../../":
1642-
version "0.4.0"
1642+
version "0.4.2"
16431643
dependencies:
16441644
iframe-resizer "^4.3.2"
16451645
typescript "^4.9.3"
16461646
uuid "^9.0.0"
1647-
zustand "^4.1.4"
1647+
zustand "^4.3.3"
16481648
optionalDependencies:
16491649
react ">=16.8"
16501650
use-sync-external-store "1.2.0"
@@ -9374,9 +9374,9 @@ yocto-queue@^0.1.0:
93749374
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
93759375
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
93769376

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@statflo/widget-sdk",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "SDK for building widgets with Statflo and beyond",
55
"main": "./dist/index.js",
66
"module": "./dist/index.js",
@@ -34,7 +34,7 @@
3434
"iframe-resizer": "^4.3.2",
3535
"typescript": "^4.9.3",
3636
"uuid": "^9.0.0",
37-
"zustand": "^4.1.4"
37+
"zustand": "^4.3.3"
3838
},
3939
"devDependencies": {
4040
"@types/jest": "^29.2.5",

src/store.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ export interface Widget {
77
name: string;
88
url: string;
99
type: "iframe" | "native";
10-
remote?: {
10+
native?: {
1111
module: string;
1212
component: string;
1313
};
14-
component?: string;
1514
}
1615

1716
export interface WidgetState {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3275,9 +3275,9 @@ yocto-queue@^0.1.0:
32753275
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
32763276
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
32773277

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

0 commit comments

Comments
 (0)