candleview 1.1.4 → 1.1.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/dist/index.mjs CHANGED
@@ -35352,6 +35352,11 @@ class Rn {
35352
35352
  chart: t.props.chart,
35353
35353
  containerRef: t.containerRef,
35354
35354
  onCloseDrawing: t.props.onCloseDrawing
35355
+ }), this.circleMarkManager = new ma({
35356
+ chartSeries: t.props.chartSeries,
35357
+ chart: t.props.chart,
35358
+ containerRef: t.containerRef,
35359
+ onCloseDrawing: t.props.onCloseDrawing
35355
35360
  });
35356
35361
  }, this.initializeMarkManagerProps = (t) => {
35357
35362
  this.schiffPitchforkMarkManager?.updateProps({
@@ -35501,11 +35506,9 @@ class Rn {
35501
35506
  }), this.ellipseMarkManager?.updateProps({
35502
35507
  chartSeries: t.props.chartSeries,
35503
35508
  chart: t.props.chart
35504
- }), this.circleMarkManager = new ma({
35509
+ }), this.circleMarkManager?.updateProps({
35505
35510
  chartSeries: t.props.chartSeries,
35506
- chart: t.props.chart,
35507
- containerRef: t.containerRef,
35508
- onCloseDrawing: t.props.onCloseDrawing
35511
+ chart: t.props.chart
35509
35512
  }), this.rectangleMarkManager?.updateProps({
35510
35513
  chartSeries: t.props.chartSeries,
35511
35514
  chart: t.props.chart
package/package.json CHANGED
@@ -1,82 +1,82 @@
1
- {
2
- "name": "candleview",
3
- "version": "1.1.4",
4
- "description": "A data visualization charts and draw graph engine for the financial industry.",
5
- "keywords": [
6
- "Finance",
7
- "Financial Analysis",
8
- "Financial Charts",
9
- "Finance Trading",
10
- "Trading",
11
- "Chart",
12
- "Charts",
13
- "K-Line",
14
- "KLine"
15
- ],
16
- "author": "happyboy",
17
- "license": "AGPL-3.0-only",
18
- "repository": "https://github.com/0xhappyboy/candleview",
19
- "bugs": {
20
- "url": "https://github.com/0xhappyboy/candleview/issues"
21
- },
22
- "homepage": "https://candleview-website.vercel.app/",
23
- "main": "dist/index.js",
24
- "module": "dist/index.mjs",
25
- "types": "dist/index.d.ts",
26
- "source": "src/index.tsx",
27
- "exports": {
28
- ".": {
29
- "import": "./dist/index.mjs",
30
- "require": "./dist/index.js",
31
- "types": "./dist/index.d.ts"
32
- }
33
- },
34
- "engines": {
35
- "node": ">=16"
36
- },
37
- "scripts": {
38
- "clean": "rm -rf dist node_modules/.cache .tsbuildinfo",
39
- "build": "vite build",
40
- "build:fast": "vite build --mode development",
41
- "build:types": "tsc --emitDeclarationOnly --outDir dist",
42
- "start": "vite build --watch",
43
- "dev": "vite",
44
- "prepare": "npm run build",
45
- "test": "run-s test:unit test:lint",
46
- "test:build": "vite build",
47
- "test:lint": "eslint .",
48
- "test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
49
- "test:watch": "react-scripts test --env=jsdom",
50
- "predeploy": "cd example && yarn install && yarn run build",
51
- "deploy": "gh-pages -d example/build"
52
- },
53
- "peerDependencies": {
54
- "react": "^18.0.0 || ^19.0.0",
55
- "react-dom": "^18.0.0 || ^19.0.0"
56
- },
57
- "dependencies": {
58
- "lightweight-charts": "^5.0.9",
59
- "resize-observer-polyfill": "^1.5.1"
60
- },
61
- "devDependencies": {
62
- "@types/react": "^19.2.0",
63
- "@types/react-dom": "^19.2.0",
64
- "@typescript-eslint/eslint-plugin": "^8.26.1",
65
- "@typescript-eslint/parser": "^8.26.1",
66
- "@vitejs/plugin-react": "^5.1.1",
67
- "cross-env": "^7.0.3",
68
- "eslint": "^9.17.0",
69
- "eslint-plugin-react": "^7.37.4",
70
- "gh-pages": "^6.3.0",
71
- "npm-run-all": "^4.1.5",
72
- "react": "^19.2.0",
73
- "react-dom": "^19.2.0",
74
- "react-scripts": "^5.0.1",
75
- "typescript": "^5.7.3",
76
- "vite": "^7.2.6",
77
- "vite-plugin-dts": "^4.5.4"
78
- },
79
- "files": [
80
- "dist"
81
- ]
82
- }
1
+ {
2
+ "name": "candleview",
3
+ "version": "1.1.5",
4
+ "description": "A data visualization charts and draw graph engine for the financial industry.",
5
+ "keywords": [
6
+ "Finance",
7
+ "Financial Analysis",
8
+ "Financial Charts",
9
+ "Finance Trading",
10
+ "Trading",
11
+ "Chart",
12
+ "Charts",
13
+ "K-Line",
14
+ "KLine"
15
+ ],
16
+ "author": "happyboy",
17
+ "license": "AGPL-3.0-only",
18
+ "repository": "https://github.com/0xhappyboy/candleview",
19
+ "bugs": {
20
+ "url": "https://github.com/0xhappyboy/candleview/issues"
21
+ },
22
+ "homepage": "https://candleview-website.vercel.app/",
23
+ "main": "dist/index.js",
24
+ "module": "dist/index.mjs",
25
+ "types": "dist/index.d.ts",
26
+ "source": "src/index.tsx",
27
+ "exports": {
28
+ ".": {
29
+ "import": "./dist/index.mjs",
30
+ "require": "./dist/index.js",
31
+ "types": "./dist/index.d.ts"
32
+ }
33
+ },
34
+ "engines": {
35
+ "node": ">=16"
36
+ },
37
+ "scripts": {
38
+ "clean": "rm -rf dist node_modules/.cache .tsbuildinfo",
39
+ "build": "vite build",
40
+ "build:fast": "vite build --mode development",
41
+ "build:types": "tsc --emitDeclarationOnly --outDir dist",
42
+ "start": "vite build --watch",
43
+ "dev": "vite",
44
+ "prepare": "npm run build",
45
+ "test": "run-s test:unit test:lint",
46
+ "test:build": "vite build",
47
+ "test:lint": "eslint .",
48
+ "test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
49
+ "test:watch": "react-scripts test --env=jsdom",
50
+ "predeploy": "cd example && yarn install && yarn run build",
51
+ "deploy": "gh-pages -d example/build"
52
+ },
53
+ "peerDependencies": {
54
+ "react": "^18.0.0 || ^19.0.0",
55
+ "react-dom": "^18.0.0 || ^19.0.0"
56
+ },
57
+ "dependencies": {
58
+ "lightweight-charts": "^5.0.9",
59
+ "resize-observer-polyfill": "^1.5.1"
60
+ },
61
+ "devDependencies": {
62
+ "@types/react": "^19.2.0",
63
+ "@types/react-dom": "^19.2.0",
64
+ "@typescript-eslint/eslint-plugin": "^8.26.1",
65
+ "@typescript-eslint/parser": "^8.26.1",
66
+ "@vitejs/plugin-react": "^5.1.1",
67
+ "cross-env": "^7.0.3",
68
+ "eslint": "^9.17.0",
69
+ "eslint-plugin-react": "^7.37.4",
70
+ "gh-pages": "^6.3.0",
71
+ "npm-run-all": "^4.1.5",
72
+ "react": "^19.2.0",
73
+ "react-dom": "^19.2.0",
74
+ "react-scripts": "^5.0.1",
75
+ "typescript": "^5.7.3",
76
+ "vite": "^7.2.6",
77
+ "vite-plugin-dts": "^4.5.4"
78
+ },
79
+ "files": [
80
+ "dist"
81
+ ]
82
+ }