@innspel/core 0.9.1 → 0.9.2

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.cjs CHANGED
@@ -1274,7 +1274,7 @@ async function lastOppTilLagring(fetchImpl, presign, body, signal) {
1274
1274
  }
1275
1275
 
1276
1276
  // src/versjon.ts
1277
- var VERSJON = "0.9.1";
1277
+ var VERSJON = "0.9.2";
1278
1278
 
1279
1279
  // src/klient.ts
1280
1280
  var STANDARD_TIMEOUT_MS = 1e4;
@@ -1571,6 +1571,7 @@ function init(options) {
1571
1571
  },
1572
1572
  knownIssues: {
1573
1573
  async for(query = {}) {
1574
+ const version = query.version ?? kontekst.appVersion;
1574
1575
  try {
1575
1576
  const kort = await medToken(
1576
1577
  (h, s) => knownIssuesList2({
@@ -1579,7 +1580,7 @@ function init(options) {
1579
1580
  signal: s,
1580
1581
  query: {
1581
1582
  ...query.screen !== void 0 ? { screen: query.screen } : {},
1582
- ...query.version !== void 0 ? { version: query.version } : {},
1583
+ ...version !== void 0 ? { version } : {},
1583
1584
  platform: query.platform ?? kontekst.platform
1584
1585
  }
1585
1586
  })