silgi 0.37.19 → 0.37.20

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.
@@ -1457,6 +1457,10 @@ async function createSilgiCLI(config = {}, opts = {}) {
1457
1457
  },
1458
1458
  adapters: {}
1459
1459
  };
1460
+ globalThis.__silgi__ = globalThis.__silgi__ || {};
1461
+ globalThis.__silgi__.useRuntimeConfig = function() {
1462
+ return silgi?.options?.runtimeConfig || {};
1463
+ };
1460
1464
  if (silgi.options.adapters && Object.keys(silgi.options.adapters)?.length > 0) {
1461
1465
  for (const [key, value] of Object.entries(silgi.options.adapters)) {
1462
1466
  silgi.adapters[key] = value;
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
 
4
- const version = "0.37.19";
4
+ const version = "0.37.20";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.37.19",
4
+ "version": "0.37.20",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {