@things-factory/board-service 6.2.173 → 6.2.177

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/board-service",
3
- "version": "6.2.173",
3
+ "version": "6.2.177",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,11 +24,11 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/auth-base": "^6.2.170",
27
+ "@things-factory/auth-base": "^6.2.177",
28
28
  "@things-factory/env": "^6.2.170",
29
- "@things-factory/fav-base": "^6.2.170",
30
- "@things-factory/font-base": "^6.2.170",
31
- "@things-factory/integration-base": "^6.2.170",
29
+ "@things-factory/fav-base": "^6.2.177",
30
+ "@things-factory/font-base": "^6.2.177",
31
+ "@things-factory/integration-base": "^6.2.177",
32
32
  "@things-factory/operato-license-checker": "^4.0.4",
33
33
  "content-disposition": "^0.5.3",
34
34
  "generic-pool": "^3.8.2"
@@ -37,5 +37,5 @@
37
37
  "@thiagoelg/node-printer": "0.6.2",
38
38
  "puppeteer": "^20.7.3"
39
39
  },
40
- "gitHead": "e310a3a44638180ecda3b2f59cb809afc58d0e82"
40
+ "gitHead": "853eef803719c588c9808df30dd134263a78d645"
41
41
  }
@@ -68,12 +68,13 @@
68
68
  const startSubscribingForAutoRefresh = window.startSubscribingForAutoRefresh
69
69
 
70
70
  const board = {
71
- id: '---',
71
+ id: (new URL(window.location.href)).pathname.split('/').at(-1),
72
72
  model
73
73
  }
74
74
 
75
75
  const container = document.querySelector('#scene')
76
76
  const viewer = document.createElement('ox-board-viewer')
77
+ viewer.history = true
77
78
  viewer.board = board
78
79
  viewer.provider = provider
79
80
  data && (viewer.data = data)