dredless 1.1.2 → 1.1.3

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": "dredless",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "A fully-featured and from-scratch headless drednot.io client implementation written in pure js.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/certainhuman/dredless#readme",
@@ -205,7 +205,8 @@ export const MODEL_TABLE_SPECS = new Map([
205
205
  [21, {
206
206
  name: "gate_portal",
207
207
  orderedValues: true,
208
- fields: numericFields({1: 20, 2: 24}),
208
+ // Bit 16 is a numeric gate orientation/state delta, after the blobs.
209
+ fields: numericFields({1: 20, 2: 24, 16: 52}),
209
210
  blobs: [{bit: 4, offset: 28}, {bit: 8, offset: 40}]
210
211
  }],
211
212
  [24, {
@@ -218,7 +219,11 @@ export const MODEL_TABLE_SPECS = new Map([
218
219
  [25, {
219
220
  name: "zone_label",
220
221
  orderedValues: true,
221
- fields: numericFields({1: 20, 2: 24}),
222
+ // Wire 88 packs large/target/restricted flags before all field values.
223
+ packedBeforeValues: true,
224
+ packedBits: [{bit: 16, offset: 57}, {bit: 32, offset: 58}, {bit: 64, offset: 59}],
225
+ defaults: {q28: 100},
226
+ fields: numericFields({1: 20, 2: 24, 128: 28}),
222
227
  blobs: [{bit: 4, offset: 28}, {bit: 8, offset: 40}]
223
228
  }],
224
229
  [26, {name: "numeric_single", fields: numericFields({1: 20})}],