@metamask-previews/advanced-chart-core 0.0.0-preview-e45297452 → 1.0.0-preview-82a2b9842

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +5 -16
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,22 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ### Added
11
-
12
- - Initial release: platform-agnostic TradingView Advanced Charts WebView engine copied verbatim from `metamask-mobile`'s `AdvancedChart/webview/src`
13
-
14
- ### Changed
10
+ ## [1.0.0]
15
11
 
16
- - Introduce an injectable platform host transport layer so the engine's host communication and config ingestion are no longer hardwired to the React Native WebView
17
- - Adds a `ChartHostTransport` interface with `createReactNativeHost()` (default, preserves existing behavior) and `createIframeHost()` (for browser/extension iframe hosts), plus `setHostTransport`/`getHostTransport` and a `bootstrap` export for programmatic hosts.
18
- - `createIframeHost()` accepts an `allowedOrigins` array and resolves `targetOrigin` from `document.referrer` automatically, replacing the legacy RN-bridge shim the hosted page previously needed.
19
- - `core/bridge.ts` now handles only JSON framing/parsing/validation and delegates transport to the active host; `window.CONFIG` reads route through `getConfig()`.
20
- - A new `@metamask/advanced-chart-core/host` subpath export provides a side-effect-free entry point (no auto-boot) for non-mobile hosts that choose their own transport and boot timing.
21
- - Conform the vendored WebView engine to the `core` monorepo lint conventions without altering its runtime behavior ([#9762](https://github.com/MetaMask/core/pull/9762))
22
- - Applies core naming, JSDoc, and code-quality rules in source, with narrowly-scoped rule allowances only for browser globals and external contract identifiers.
23
-
24
- ### Fixed
12
+ ### Added
25
13
 
26
- - Correct barrel imports that resolved to package directories so the compiled output loads the intended `index` modules ([#9762](https://github.com/MetaMask/core/pull/9762))
14
+ - Initial release: platform-agnostic TradingView Advanced Charts WebView engine copied verbatim from `metamask-mobile`'s `AdvancedChart/webview/src` ([#9762](https://github.com/MetaMask/core/pull/9762), [#10521](https://github.com/MetaMask/core/pull/10521))
27
15
 
28
- [Unreleased]: https://github.com/MetaMask/core/
16
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/advanced-chart-core@1.0.0...HEAD
17
+ [1.0.0]: https://github.com/MetaMask/core/releases/tag/@metamask/advanced-chart-core@1.0.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/advanced-chart-core",
3
- "version": "0.0.0-preview-e45297452",
3
+ "version": "1.0.0-preview-82a2b9842",
4
4
  "description": "Platform-agnostic TradingView Advanced Charts WebView engine shared across MetaMask clients",
5
5
  "keywords": [
6
6
  "Ethereum",