@innspel/core 0.2.0 → 0.2.1

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
@@ -1043,8 +1043,8 @@ function validerKontekst(kontekst, sti, krevPlatform) {
1043
1043
  function sl\u00E5SammenKontekst(base, p\u00E5Lagt, sdkVersion) {
1044
1044
  const ut = {};
1045
1045
  for (const felt of KONTEKST_FELTER) {
1046
- const verdi = p\u00E5Lagt?.[felt] ?? base[felt];
1047
- if (verdi !== void 0) ut[felt] = verdi;
1046
+ const verdi = p\u00E5Lagt && felt in p\u00E5Lagt ? p\u00E5Lagt[felt] : base[felt];
1047
+ if (verdi !== void 0 && verdi !== null) ut[felt] = verdi;
1048
1048
  }
1049
1049
  ut["sdkVersion"] = sdkVersion;
1050
1050
  return ut;
@@ -1210,7 +1210,7 @@ async function lastOppTilLagring(fetchImpl, presign, body, signal) {
1210
1210
  }
1211
1211
 
1212
1212
  // src/versjon.ts
1213
- var VERSJON = "0.2.0";
1213
+ var VERSJON = "0.2.1";
1214
1214
 
1215
1215
  // src/klient.ts
1216
1216
  var STANDARD_TIMEOUT_MS = 1e4;