@zauru-sdk/services 2.32.2 → 6.0.0
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,3 +1,3 @@
|
|
|
1
|
-
declare const getSession: (cookieHeader?: string | null, options?: import("
|
|
1
|
+
declare const getSession: (cookieHeader?: string | null, options?: import("@remix-run/node").CookieParseOptions) => Promise<import("@remix-run/node").Session<import("@remix-run/node").SessionData, import("@remix-run/node").SessionData>>, commitSession: (session: import("@remix-run/node").Session<import("@remix-run/node").SessionData, import("@remix-run/node").SessionData>, options?: import("@remix-run/node").CookieSerializeOptions) => Promise<string>, destroySession: (session: import("@remix-run/node").Session<import("@remix-run/node").SessionData, import("@remix-run/node").SessionData>, options?: import("@remix-run/node").CookieSerializeOptions) => Promise<string>;
|
|
2
2
|
declare const getRefreshSession: (request: Request) => Promise<string | null>;
|
|
3
3
|
export { getSession, commitSession, destroySession, getRefreshSession };
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Servicios de consulta a Zauru",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"publishConfig": {
|
|
10
|
-
"access": "public"
|
|
10
|
+
"access": "public",
|
|
11
|
+
"registry": "https://registry.npmjs.org/"
|
|
11
12
|
},
|
|
12
13
|
"scripts": {
|
|
13
14
|
"build": "npm run build:esm",
|
|
@@ -25,12 +26,13 @@
|
|
|
25
26
|
"dependencies": {
|
|
26
27
|
"@remix-run/node": "^2.8.1",
|
|
27
28
|
"@upstash/redis": "^1.34.5",
|
|
28
|
-
"@zauru-sdk/common": "^
|
|
29
|
-
"@zauru-sdk/config": "^
|
|
30
|
-
"@zauru-sdk/graphql": "^
|
|
31
|
-
"@zauru-sdk/types": "^
|
|
29
|
+
"@zauru-sdk/common": "^6.0.0",
|
|
30
|
+
"@zauru-sdk/config": "^6.0.0",
|
|
31
|
+
"@zauru-sdk/graphql": "^6.0.0",
|
|
32
|
+
"@zauru-sdk/types": "^6.0.0",
|
|
32
33
|
"axios": "^1.6.7",
|
|
33
|
-
"chalk": "5.3.0"
|
|
34
|
+
"chalk": "5.3.0",
|
|
35
|
+
"moment": "^2.30.1"
|
|
34
36
|
},
|
|
35
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "32fe3db68a20bc4bfec9b59db37bd1bf221acc34"
|
|
36
38
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import axios from "axios";
|
|
2
|
-
import http from "node:http";
|
|
3
|
-
import https from "node:https";
|
|
4
|
-
const httpAgent = new http.Agent({ keepAlive: true });
|
|
5
|
-
const httpsAgent = new https.Agent({ keepAlive: true });
|
|
6
|
-
export const httpUpstash = axios.create({
|
|
7
|
-
httpAgent,
|
|
8
|
-
httpsAgent,
|
|
9
|
-
timeout: 5000,
|
|
10
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const httpUpstash: import("axios").AxiosInstance;
|