zh-web-sdk 3.1.1 → 3.1.2
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 +8 -0
- package/dist/iframe-container/AppContainer.d.ts +1 -1
- package/dist/index.js +24 -24
- package/dist/index.js.map +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
## [3.1.2] - 2026-06-19
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- Restored `filters` forwarding for Crypto Buy on the new-SDK render path. `sdk.setFilters({ appIdentifier: 'crypto-buy', filters })` and `sdk.openModal({ appIdentifier: 'crypto-buy', filters })` were silently ignored when the JWT routed Crypto Buy through `@zerohash-sdk/crypto-buy-react`; they now reach the widget as documented. The legacy iframe path was unaffected.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- Bumped `@zerohash-sdk/crypto-buy-react` from `^1.7.0` to `^1.8.0`, which adds the typed `filters` prop required by the fix above.
|
|
16
|
+
|
|
9
17
|
## [3.1.0] - 2026-06-17
|
|
10
18
|
|
|
11
19
|
### Added
|
|
@@ -17,7 +17,7 @@ interface AppContainerProps {
|
|
|
17
17
|
*/
|
|
18
18
|
env?: Environment | InternalEnvironment;
|
|
19
19
|
}
|
|
20
|
-
declare const _default: import("react-redux").ConnectedComponent<({ isAppActive, isAppLoaded, jwt, zeroHashAppURL, appIdentifier, navigate, useAuth, authSettings, useNewSdk, theme, env: explicitEnv, }: AppContainerProps) => import("react/jsx-runtime").JSX.Element, {
|
|
20
|
+
declare const _default: import("react-redux").ConnectedComponent<({ isAppActive, isAppLoaded, jwt, zeroHashAppURL, appIdentifier, filters, navigate, useAuth, authSettings, useNewSdk, theme, env: explicitEnv, }: AppContainerProps) => import("react/jsx-runtime").JSX.Element, {
|
|
21
21
|
appIdentifier: AppIdentifier;
|
|
22
22
|
zeroHashAppURL: string;
|
|
23
23
|
env?: (Environment | InternalEnvironment) | undefined;
|