@innspel/core 0.9.0 → 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.0";
1277
+ var VERSJON = "0.9.2";
1278
1278
 
1279
1279
  // src/klient.ts
1280
1280
  var STANDARD_TIMEOUT_MS = 1e4;
@@ -1498,6 +1498,7 @@ function init(options) {
1498
1498
  connectivity: options.connectivity ?? null,
1499
1499
  settings,
1500
1500
  context: kontekst,
1501
+ storage: options.storage,
1501
1502
  async loadSettings() {
1502
1503
  try {
1503
1504
  const cfg = await medToken(
@@ -1570,6 +1571,7 @@ function init(options) {
1570
1571
  },
1571
1572
  knownIssues: {
1572
1573
  async for(query = {}) {
1574
+ const version = query.version ?? kontekst.appVersion;
1573
1575
  try {
1574
1576
  const kort = await medToken(
1575
1577
  (h, s) => knownIssuesList2({
@@ -1578,7 +1580,7 @@ function init(options) {
1578
1580
  signal: s,
1579
1581
  query: {
1580
1582
  ...query.screen !== void 0 ? { screen: query.screen } : {},
1581
- ...query.version !== void 0 ? { version: query.version } : {},
1583
+ ...version !== void 0 ? { version } : {},
1582
1584
  platform: query.platform ?? kontekst.platform
1583
1585
  }
1584
1586
  })