@stacksjs/config 0.38.3 → 0.38.4

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/dist/index.d.ts CHANGED
@@ -119,6 +119,17 @@ declare const cache: {
119
119
  host: any;
120
120
  port: any;
121
121
  };
122
+ memcached: {
123
+ driver: string;
124
+ persistent_id: any;
125
+ sasl: any[];
126
+ options: {};
127
+ servers: {
128
+ host: any;
129
+ port: any;
130
+ weight: number;
131
+ }[];
132
+ };
122
133
  };
123
134
 
124
135
  export { app, cache, deploy, determineDebugMode, docs, git, hashing, library, services, ui };
package/dist/index.mjs CHANGED
@@ -292,6 +292,20 @@ const cache = {
292
292
  connection: "cache",
293
293
  host: env("REDIS_HOST", "127.0.0.1"),
294
294
  port: env("REDIS_PORT", "6379")
295
+ },
296
+ memcached: {
297
+ driver: "memcached",
298
+ persistent_id: env("MEMCACHED_PERSISTENT_ID"),
299
+ sasl: [
300
+ env("MEMCACHED_USERNAME", ""),
301
+ env("MEMCACHED_PASSWORD", "")
302
+ ],
303
+ options: {},
304
+ servers: [{
305
+ host: env("MEMCACHED_HOST", "127.0.0.1"),
306
+ port: env("MEMCACHED_PORT", 11211),
307
+ weight: 100
308
+ }]
295
309
  }
296
310
  };
297
311
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/config",
3
3
  "type": "module",
4
- "version": "0.38.3",
4
+ "version": "0.38.4",
5
5
  "packageManager": "pnpm@7.15.0",
6
6
  "description": "The Stacks configuration.",
7
7
  "author": "Chris Breuer",
@@ -35,7 +35,7 @@
35
35
  "pnpm": ">=7.15.0"
36
36
  },
37
37
  "peerDependencies": {
38
- "@stacksjs/utils": "0.38.3"
38
+ "@stacksjs/utils": "0.38.4"
39
39
  },
40
40
  "devDependencies": {
41
41
  "mkdist": "^0.4.0",