@cosmoner/sdk 1.15.0 → 1.16.1

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 CHANGED
@@ -1648,7 +1648,7 @@ function sleep(ms) {
1648
1648
  }
1649
1649
 
1650
1650
  // src/version.ts
1651
- var VERSION = "1.15.0";
1651
+ var VERSION = "1.16.1";
1652
1652
  var USER_AGENT = `cosmoner-node/${VERSION}`;
1653
1653
 
1654
1654
  // src/transport.ts
package/dist/index.mjs CHANGED
@@ -1573,7 +1573,7 @@ function sleep(ms) {
1573
1573
  }
1574
1574
 
1575
1575
  // src/version.ts
1576
- var VERSION = "1.15.0";
1576
+ var VERSION = "1.16.1";
1577
1577
  var USER_AGENT = `cosmoner-node/${VERSION}`;
1578
1578
 
1579
1579
  // src/transport.ts
@@ -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.15.0";
12
- export declare const USER_AGENT = "cosmoner-node/1.15.0";
11
+ export declare const VERSION = "1.16.1";
12
+ export declare const USER_AGENT = "cosmoner-node/1.16.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmoner/sdk",
3
- "version": "1.15.0",
3
+ "version": "1.16.1",
4
4
  "description": "Cosmoner SDK for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",