@naturalcycles/backend-lib 9.33.0 → 9.33.2
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.
|
@@ -100,7 +100,7 @@ export interface CloudRunEnv {
|
|
|
100
100
|
/**
|
|
101
101
|
* @experimental
|
|
102
102
|
*/
|
|
103
|
-
declare class
|
|
103
|
+
declare class CloudRunUtil {
|
|
104
104
|
/**
|
|
105
105
|
* Turns an object into a string representation where each
|
|
106
106
|
* key-value pair is represented as `key1=value1,key2=value2,...`.
|
|
@@ -108,5 +108,5 @@ declare class CloudRunService {
|
|
|
108
108
|
stringifyObject(obj: AnyObject): string;
|
|
109
109
|
readonly defaultStartupProbeConfig: CloudRunStartupProbeConfig;
|
|
110
110
|
}
|
|
111
|
-
export declare const
|
|
111
|
+
export declare const cloudRunUtil: CloudRunUtil;
|
|
112
112
|
export {};
|
|
@@ -2,7 +2,7 @@ import { _filterUndefinedValues } from '@naturalcycles/js-lib/object';
|
|
|
2
2
|
/**
|
|
3
3
|
* @experimental
|
|
4
4
|
*/
|
|
5
|
-
class
|
|
5
|
+
class CloudRunUtil {
|
|
6
6
|
/**
|
|
7
7
|
* Turns an object into a string representation where each
|
|
8
8
|
* key-value pair is represented as `key1=value1,key2=value2,...`.
|
|
@@ -22,4 +22,4 @@ class CloudRunService {
|
|
|
22
22
|
periodSeconds: 2,
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
export const
|
|
25
|
+
export const cloudRunUtil = new CloudRunUtil();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/backend-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "9.33.
|
|
4
|
+
"version": "9.33.2",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@sentry/node": "^10"
|
|
7
7
|
},
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
".": "./dist/index.js",
|
|
36
36
|
"./admin": "./dist/admin/index.js",
|
|
37
37
|
"./admin/*.js": "./dist/admin/*.js",
|
|
38
|
-
"./cloudrun": "./dist/cloudrun/cloudRun.
|
|
38
|
+
"./cloudrun": "./dist/cloudrun/cloudRun.js",
|
|
39
39
|
"./db": "./dist/db/index.js",
|
|
40
40
|
"./deploy": "./dist/deploy/index.js",
|
|
41
41
|
"./deploy/*.js": "./dist/deploy/*.js",
|
package/src/cloudrun/cloudRun.ts
CHANGED
|
@@ -132,7 +132,7 @@ export interface CloudRunEnv {
|
|
|
132
132
|
/**
|
|
133
133
|
* @experimental
|
|
134
134
|
*/
|
|
135
|
-
class
|
|
135
|
+
class CloudRunUtil {
|
|
136
136
|
/**
|
|
137
137
|
* Turns an object into a string representation where each
|
|
138
138
|
* key-value pair is represented as `key1=value1,key2=value2,...`.
|
|
@@ -154,4 +154,4 @@ class CloudRunService {
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
export const
|
|
157
|
+
export const cloudRunUtil = new CloudRunUtil()
|