@nxtedition/lib 23.15.0 → 23.15.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "23.15.0",
3
+ "version": "23.15.1",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",
@@ -20,6 +20,7 @@ const defaultFetchClient = new Agent({
20
20
  export function makeTemplateCompiler({
21
21
  logger = globalThis.__nxt_lib_app?.logger,
22
22
  dispatcher = defaultFetchClient,
23
+ platform,
23
24
  ...args
24
25
  }) {
25
26
  const defaultOptions = { dispatcher }
@@ -30,6 +31,7 @@ export function makeTemplateCompiler({
30
31
  hasha: hashSync,
31
32
  fetch: (resource, options) =>
32
33
  request(resource, options ? { dispatcher, ...options } : defaultOptions),
34
+ ...platform,
33
35
  },
34
36
  })
35
37
  }