@cosmoner/sdk 1.15.0 → 1.16.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.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/services/databases.d.ts +11 -0
- package/dist/version.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -35,8 +35,14 @@ export interface DedicatedDatabase {
|
|
|
35
35
|
numNodes: number;
|
|
36
36
|
storageGb: number | null;
|
|
37
37
|
status: string;
|
|
38
|
+
/** The address apps on Cosmoner connect to; in-cluster only. */
|
|
38
39
|
host: string | null;
|
|
39
40
|
port: number | null;
|
|
41
|
+
/**
|
|
42
|
+
* The hostname to connect to from outside Cosmoner, on port 5432 with TLS
|
|
43
|
+
* required. Null where there is none.
|
|
44
|
+
*/
|
|
45
|
+
publicHost: string | null;
|
|
40
46
|
defaultDb: string | null;
|
|
41
47
|
defaultUser: string | null;
|
|
42
48
|
createdAt: string;
|
|
@@ -49,6 +55,11 @@ export interface DedicatedDatabaseDetail extends DedicatedDatabase {
|
|
|
49
55
|
* guard the key accordingly.
|
|
50
56
|
*/
|
|
51
57
|
connectionUri: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* The connection URI for `publicHost`, with `sslmode=require` — also
|
|
60
|
+
* **including the password**. Null where there is no public host.
|
|
61
|
+
*/
|
|
62
|
+
publicConnectionUri: string | null;
|
|
52
63
|
}
|
|
53
64
|
/** A database on the shared cluster. No password is ever returned for one. */
|
|
54
65
|
export interface SharedDatabase {
|
package/dist/version.d.ts
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
* the release workflow runs that straight after `npm version`, and
|
|
9
9
|
* `version.test.ts` fails the build if the two ever disagree.
|
|
10
10
|
*/
|
|
11
|
-
export declare const VERSION = "1.
|
|
12
|
-
export declare const USER_AGENT = "cosmoner-node/1.
|
|
11
|
+
export declare const VERSION = "1.16.0";
|
|
12
|
+
export declare const USER_AGENT = "cosmoner-node/1.16.0";
|