playcademy 0.13.19 → 0.13.21

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.
@@ -13,5 +13,8 @@ lerna-debug.log*
13
13
  # os
14
14
  .DS_Store
15
15
 
16
+ # environment
17
+ .env
18
+
16
19
  # playcademy
17
20
  playcademy-env.d.ts
@@ -6,11 +6,10 @@ declare global {
6
6
  interface PlaycademyEnv {
7
7
  PLAYCADEMY_API_KEY: string
8
8
  GAME_ID: string
9
- PLAYCADEMY_BASE_URL: string{{BINDINGS}}
9
+ PLAYCADEMY_BASE_URL: string{{BINDINGS}}{{SECRETS}}
10
10
  }
11
11
 
12
12
  type Context = HonoContext<{ Bindings: PlaycademyEnv }>
13
13
  }
14
14
 
15
15
  export {}
16
-
package/dist/utils.d.ts CHANGED
@@ -80,19 +80,6 @@ interface PlaycademyConfig {
80
80
  integrations?: IntegrationsConfig;
81
81
  }
82
82
 
83
- /**
84
- * Find the Playcademy config file path
85
- */
86
- declare function findConfigPath(configPath?: string): Promise<string>;
87
- /**
88
- * Load Playcademy configuration from file
89
- */
90
- declare function loadConfig(configPath?: string): Promise<PlaycademyConfig>;
91
- /**
92
- * Validate configuration structure
93
- */
94
- declare function validateConfig(config: unknown): asserts config is PlaycademyConfig;
95
-
96
83
  interface DevServerOptions {
97
84
  port: number;
98
85
  /** Playcademy config. If not provided, will attempt to load from playcademy.config.js */
@@ -109,6 +96,19 @@ interface DevServerOptions {
109
96
  platformUrl?: string;
110
97
  }
111
98
 
99
+ /**
100
+ * Find the Playcademy config file path
101
+ */
102
+ declare function findConfigPath(configPath?: string): Promise<string>;
103
+ /**
104
+ * Load Playcademy configuration from file
105
+ */
106
+ declare function loadConfig(configPath?: string): Promise<PlaycademyConfig>;
107
+ /**
108
+ * Validate configuration structure
109
+ */
110
+ declare function validateConfig(config: unknown): asserts config is PlaycademyConfig;
111
+
112
112
  /**
113
113
  * Development server utilities
114
114
  */