app.hypergames.hypersdk 1.4.3 → 1.4.5
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.4.5](https://github.com/mvmhyper/hyper-sdk/compare/v1.4.4...v1.4.5) (2025-12-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* replace NPM_TOKEN with OIDC authentication ([fee8025](https://github.com/mvmhyper/hyper-sdk/commit/fee8025358d95112ffe3919426af07b1bd74c79e))
|
|
7
|
+
|
|
8
|
+
## [1.4.4](https://github.com/mvmhyper/hyper-sdk/compare/v1.4.3...v1.4.4) (2025-12-11)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* adjust HyperSDK control bar padding per layout ([5fdc5d8](https://github.com/mvmhyper/hyper-sdk/commit/5fdc5d80d81875bddcc314fdfef3d5fc92e71301))
|
|
14
|
+
|
|
1
15
|
## [1.4.3](https://github.com/mvmhyper/hyper-sdk/compare/v1.4.2...v1.4.3) (2025-12-08)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -56,9 +56,18 @@ namespace Hyper.Internal
|
|
|
56
56
|
Rect MapSafeAreaToRect(SafeAreaInsets safeAreaInsets)
|
|
57
57
|
{
|
|
58
58
|
//? Adding top padding to safe area
|
|
59
|
-
|
|
59
|
+
|
|
60
|
+
if (_gameManager.ControlBarLayout == ControlBarLayout.Default)
|
|
61
|
+
{
|
|
62
|
+
topPadding = safeAreaInsets.top / 1.1f;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
else
|
|
66
|
+
{
|
|
67
|
+
topPadding = safeAreaInsets.top / 0.5f;
|
|
68
|
+
}
|
|
69
|
+
|
|
60
70
|
safeAreaInsets.top += topPadding;
|
|
61
|
-
|
|
62
71
|
safeAreaInsets.bottom = 0f;
|
|
63
72
|
|
|
64
73
|
float screenWidth = Screen.width;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "app.hypergames.hypersdk",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.5",
|
|
4
4
|
"displayName": "HyperSDK",
|
|
5
5
|
"description": "Official Unity SDK for Hyper: multiplayer battles, leaderboards, deterministic RNG, session management, tutorials, and WebGL optimizations for production-ready games.",
|
|
6
6
|
"unity": "6000.0",
|