@cedarjs/api 8.0.0-canary.3383 → 8.0.0-canary.3386
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.
|
@@ -2,9 +2,14 @@ import type { Client as ClientType, ClientOptions, ServerOptions } from 'memjs';
|
|
|
2
2
|
import { BaseClient } from './BaseClient.js';
|
|
3
3
|
export declare class MemcachedClient extends BaseClient {
|
|
4
4
|
client?: ClientType | null;
|
|
5
|
-
servers: string;
|
|
5
|
+
servers: string | undefined;
|
|
6
6
|
options: (ClientOptions<string | Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike> | null> & ServerOptions) | undefined;
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* @param servers - The memcached servers to connect to. When this is
|
|
9
|
+
* undefined memjs falls back to the `MEMCACHIER_SERVERS` and
|
|
10
|
+
* `MEMCACHE_SERVERS` environment variables, and then to `localhost:11211`
|
|
11
|
+
*/
|
|
12
|
+
constructor(servers: string | undefined, options?: ClientOptions & ServerOptions);
|
|
8
13
|
connect(): Promise<void>;
|
|
9
14
|
disconnect(): Promise<void>;
|
|
10
15
|
get(key: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MemcachedClient.d.ts","sourceRoot":"","sources":["../../../src/cache/clients/MemcachedClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE/E,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,qBAAa,eAAgB,SAAQ,UAAU;IAC7C,MAAM,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;IAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"MemcachedClient.d.ts","sourceRoot":"","sources":["../../../src/cache/clients/MemcachedClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE/E,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,qBAAa,eAAgB,SAAQ,UAAU;IAC7C,MAAM,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;IAC1B,OAAO,qBAAA;IACP,OAAO,gHAAA;IAEP;;;;OAIG;gBAED,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,OAAO,CAAC,EAAE,aAAa,GAAG,aAAa;IAOnC,OAAO;IAKP,UAAU;IAKV,GAAG,CAAC,GAAG,EAAE,MAAM;IAcf,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE;IAQ9D,GAAG,CAAC,GAAG,EAAE,MAAM;CAQtB"}
|
|
@@ -3,6 +3,11 @@ class MemcachedClient extends BaseClient {
|
|
|
3
3
|
client;
|
|
4
4
|
servers;
|
|
5
5
|
options;
|
|
6
|
+
/**
|
|
7
|
+
* @param servers - The memcached servers to connect to. When this is
|
|
8
|
+
* undefined memjs falls back to the `MEMCACHIER_SERVERS` and
|
|
9
|
+
* `MEMCACHE_SERVERS` environment variables, and then to `localhost:11211`
|
|
10
|
+
*/
|
|
6
11
|
constructor(servers, options) {
|
|
7
12
|
super();
|
|
8
13
|
this.servers = servers;
|
package/dist/index.js
CHANGED
|
@@ -8,9 +8,9 @@ export * from "./cors.js";
|
|
|
8
8
|
export * from "./event.js";
|
|
9
9
|
export * from "./signedTokens/index.js";
|
|
10
10
|
const prismaVersion = "7.10.0";
|
|
11
|
-
const redwoodVersion = "8.0.0-canary.
|
|
12
|
-
const cedarjsVersion = "8.0.0-canary.
|
|
13
|
-
const cedarVersion = "8.0.0-canary.
|
|
11
|
+
const redwoodVersion = "8.0.0-canary.3386";
|
|
12
|
+
const cedarjsVersion = "8.0.0-canary.3386";
|
|
13
|
+
const cedarVersion = "8.0.0-canary.3386";
|
|
14
14
|
export {
|
|
15
15
|
cedarVersion,
|
|
16
16
|
cedarjsVersion,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/api",
|
|
3
|
-
"version": "8.0.0-canary.
|
|
3
|
+
"version": "8.0.0-canary.3386",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"title-case": "3.0.3"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"@cedarjs/framework-tools": "8.0.0-canary.
|
|
87
|
+
"@cedarjs/framework-tools": "8.0.0-canary.3386",
|
|
88
88
|
"@types/aws-lambda": "8.10.164",
|
|
89
89
|
"@types/jsonwebtoken": "9.0.10",
|
|
90
90
|
"@types/memjs": "1",
|