silgi 0.34.4 → 0.34.5

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
 
4
- const version = "0.34.4";
4
+ const version = "0.34.5";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
@@ -581,6 +581,7 @@ async function orchestrate(route, event) {
581
581
  cached = cacheData.cached;
582
582
  } else {
583
583
  silgiCtx.shared.$fetch = silgiFetch;
584
+ silgiCtx.shared.silgi = silgiCtx;
584
585
  result = await setup?.handler(
585
586
  {
586
587
  args: input,
@@ -898,6 +898,7 @@ interface SilgiRuntimeShareds extends SilgiRuntimeSharedsExtend {
898
898
  storage: <T extends StorageValue = StorageValue>(base: StorageConfig<T>['base']) => Storage<T>;
899
899
  runtimeConfig: SilgiRuntimeConfig;
900
900
  $fetch: typeof silgiFetch;
901
+ silgi: Silgi;
901
902
  }
902
903
  interface SilgiRuntimeSharedsExtend {
903
904
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.34.4",
4
+ "version": "0.34.5",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {