@flare-engine/ui-shop 0.4.8 → 0.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -79,3 +79,7 @@ function ShopExample() {
|
|
|
79
79
|
);
|
|
80
80
|
}
|
|
81
81
|
```
|
|
82
|
+
|
|
83
|
+
## Testing
|
|
84
|
+
|
|
85
|
+
This package loads `react-native` at module scope (directly and through `@flare-engine/ui`), so importing it under `bun test` needs the four `mock.module` stubs described in [Testing ui and ui-shop under bun test](https://github.com/grzott/flare-engine/blob/main/docs/recipes/testing-ui-under-bun.md).
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flare-engine/ui-shop",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.10",
|
|
4
4
|
"description": "Reusable ShopPanel, PaywallModal, and RestorePurchasesButton consuming IAPContext + EntitlementStore",
|
|
5
|
-
"keywords": ["flare-engine", "ui", "shop", "iap", "paywall", "react-native"],
|
|
5
|
+
"keywords": ["flare-engine", "ui", "shop", "iap", "paywall", "react-native", "typescript"],
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"author": "Grzegorz Otto",
|
|
8
8
|
"homepage": "https://github.com/grzott/flare-engine#readme",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"typecheck": "tsc --noEmit"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@flare-engine/iap": "^0.4.
|
|
41
|
-
"@flare-engine/ui": "^0.4.
|
|
40
|
+
"@flare-engine/iap": "^0.4.10",
|
|
41
|
+
"@flare-engine/ui": "^0.4.10"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=19.0.0",
|