Skip to content

Commit

Permalink
fix: update iot-app-kit to provide workaround for draco compression
Browse files Browse the repository at this point in the history
  • Loading branch information
corteggiano committed Nov 19, 2024
1 parent 6802855 commit bb0f9c6
Show file tree
Hide file tree
Showing 8 changed files with 162 additions and 642 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.18.2

- Upgrade IotAppKit dependency from [10.11.0 to 10.13.1](https://github.com/awslabs/iot-app-kit/compare/ts-config-v10.11.0...ts-config-v10.13.1)
- Adding basis universal transcoder to support DRACO compressed tiles

## 1.18.1

- Bump fast-xml-parser dependency from [4.2.5 to 4.5.0](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.2.5...v4.5.0)
Expand Down
1 change: 1 addition & 0 deletions cspell.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"awserr",
"awsui",
"cacheable",
"basisu",
"Datalink",
"Datamodule",
"datasource",
Expand Down
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ const esModules = [
'react-dnd-html5-backend',
'echarts',
'zrender',
'nanoid',
'@iot-app-kit/react-components',
];

module.exports = {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grafana-iot-twinmaker-app",
"version": "1.18.1",
"version": "1.18.2",
"description": "Grafana IoT TwinMaker App Plugin",
"scripts": {
"build": "NODE_OPTIONS='--max-old-space-size=4096' webpack -c webpack.config.ts --env production",
Expand Down Expand Up @@ -85,10 +85,10 @@
"@grafana/runtime": "^10.4.5",
"@grafana/schema": "^10.4.5",
"@grafana/ui": "^10.4.5",
"@iot-app-kit/core": "10.11.0",
"@iot-app-kit/react-components": "10.11.0",
"@iot-app-kit/scene-composer": "10.11.0",
"@iot-app-kit/source-iottwinmaker": "10.11.0",
"@iot-app-kit/core": "10.13.1",
"@iot-app-kit/react-components": "10.13.1",
"@iot-app-kit/scene-composer": "10.13.1",
"@iot-app-kit/source-iottwinmaker": "10.13.1",
"aws-iot-twinmaker-grafana-utils": "file:libs/aws-iot-twinmaker-grafana-utils-2.1.0.tgz",
"aws-sdk": "^2.978.0",
"cytoscape": "^3.26.0",
Expand Down
4 changes: 4 additions & 0 deletions src/panels/scene-viewer/SceneViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,10 @@ export const SceneViewer = (props: SceneViewerPropsFromParent) => {
enable: true,
path: `${window.location.origin}/${staticPluginPath}/static/draco/`,
},
basisuDecoder: {
enable: true,
path: `${window.location.origin}/${staticPluginPath}/static/basisu/`,
},
featureConfig: {
AutoQuery: true,
DynamicScene: true,
Expand Down
19 changes: 19 additions & 0 deletions src/static/basisu/basis_transcoder.js

Large diffs are not rendered by default.

Binary file added src/static/basisu/basis_transcoder.wasm
Binary file not shown.
763 changes: 126 additions & 637 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit bb0f9c6

Please sign in to comment.