@milkio/astra 1.0.0-alpha.98 → 1.0.0-alpha.99

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.
Files changed (2) hide show
  1. package/index.ts +2 -2
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -9,7 +9,7 @@ import { format } from "date-fns";
9
9
  import type { CookbookOptions } from "./utils/cookbook-dto-types";
10
10
 
11
11
  export type AstraOptionsInit = {
12
- stargate: { $types: any; execute: any; ping: any; cookbook: any };
12
+ stargate: { $types: any; execute: any; ping: any; __cookbook: any };
13
13
  bootstrap: () => Promise<Record<string, any>>;
14
14
  };
15
15
 
@@ -148,7 +148,7 @@ export async function createAstra<AstraOptions extends AstraOptionsInit, Generat
148
148
  options.params.$milkioGenerateParams = "enable";
149
149
  }
150
150
 
151
- const results = await this.options.stargate.cookbook.subscribe(`http://localhost:${cookbookOptions.general.cookbookPort}`);
151
+ const results = await this.options.stargate.__cookbook.subscribe(`http://localhost:${cookbookOptions.general.cookbookPort}`);
152
152
  void (async () => {
153
153
  for await (const result of results) {
154
154
  if (result.type !== "milkio@logger") continue;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@milkio/astra",
3
3
  "type": "module",
4
- "version": "1.0.0-alpha.98",
4
+ "version": "1.0.0-alpha.99",
5
5
  "module": "index.ts",
6
6
  "dependencies": {
7
7
  "@southern-aurora/tson": "*",