@serve.zone/dcrouter 19.1.1 → 20.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.
package/.smartconfig.json CHANGED
@@ -85,6 +85,10 @@
85
85
  ]
86
86
  },
87
87
  "release": {
88
+ "preflight": {
89
+ "test": true,
90
+ "build": true
91
+ },
88
92
  "targets": {
89
93
  "git": {
90
94
  "enabled": true,
@@ -103,7 +107,8 @@
103
107
  },
104
108
  "docker": {
105
109
  "enabled": true,
106
- "engine": "tsdocker"
110
+ "engine": "tsdocker",
111
+ "test": true
107
112
  }
108
113
  }
109
114
  }
@@ -118,7 +123,8 @@
118
123
  "platforms": [
119
124
  "linux/amd64",
120
125
  "linux/arm64"
121
- ]
126
+ ],
127
+ "requireTestFile": true
122
128
  },
123
129
  "@ship.zone/szci": {}
124
130
  }
package/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/dcrouter",
3
- "version": "19.1.1",
3
+ "version": "20.0.0",
4
4
  "exports": "./binary/dcrouter.ts",
5
5
  "compile": {
6
6
  "include": [
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '19.1.1',
6
+ version: '20.0.0',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxzQkFBc0I7SUFDNUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLDBFQUEwRTtDQUN4RixDQUFBIn0=
@@ -165,7 +165,7 @@ export interface IDcRouterOptions {
165
165
  opsServerPort?: number;
166
166
  /** Optional OpsServer account authentication settings. */
167
167
  adminAuth?: {
168
- /** Optional idp.global password-authentication URL override. Defaults to the SDK's hosted https://idp.global endpoint. Can also be set through DCROUTER_IDP_GLOBAL_URL. */
168
+ /** Optional idp.global password-authentication URL override. Defaults to the SDK's hosted https://app.idp.global endpoint. Can also be set through DCROUTER_IDP_GLOBAL_URL. */
169
169
  idpGlobalUrl?: string;
170
170
  /** Test/integration hook for injecting an idp.global-compatible password client. */
171
171
  idpClient?: Pick<plugins.idpSdkServer.IdpGlobalServerClient, 'loginWithEmailAndPassword' | 'stop'>;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '19.1.1',
6
+ version: '20.0.0',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHNfd2ViLzAwX2NvbW1pdGluZm9fZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixJQUFJLEVBQUUsc0JBQXNCO0lBQzVCLE9BQU8sRUFBRSxRQUFRO0lBQ2pCLFdBQVcsRUFBRSwwRUFBMEU7Q0FDeEYsQ0FBQSJ9
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@serve.zone/dcrouter",
3
3
  "private": false,
4
- "version": "19.1.1",
4
+ "version": "20.0.0",
5
5
  "description": "A multifaceted routing service handling mail and SMS delivery functions.",
6
6
  "type": "module",
7
7
  "bin": {
@@ -18,7 +18,7 @@
18
18
  "@git.zone/tsbuild": "^4.4.2",
19
19
  "@git.zone/tsbundle": "^2.13.0",
20
20
  "@git.zone/tsdeno": "^1.8.0",
21
- "@git.zone/tsdocker": "^3.5.6",
21
+ "@git.zone/tsdocker": "^3.5.8",
22
22
  "@git.zone/tsrun": "^2.0.6",
23
23
  "@git.zone/tstest": "^6.0.0",
24
24
  "@git.zone/tswatch": "^3.3.5",
@@ -35,7 +35,7 @@
35
35
  "@apiclient.xyz/cloudflare": "^8.0.0",
36
36
  "@design.estate/dees-catalog": "^9.6.0",
37
37
  "@design.estate/dees-element": "^3.1.1",
38
- "@idp.global/sdk": "^16.0.0",
38
+ "@idp.global/sdk": "^17.0.0",
39
39
  "@push.rocks/lik": "^6.4.1",
40
40
  "@push.rocks/projectinfo": "^5.1.0",
41
41
  "@push.rocks/qenv": "^6.1.4",
package/readme.md CHANGED
@@ -110,7 +110,7 @@ Bootstrap behavior:
110
110
  - The temporary env/config admin identity is only used to authorize bootstrap access while no persisted admin exists.
111
111
  - Set `DCROUTER_ADMIN_PASSWORD` to choose that temporary password yourself; nothing is then written to disk. Without it dcrouter generates one per start and writes it to `<baseDir>/.bootstrap-admin-password` (default `~/.serve.zone/dcrouter/`) with mode `0600`. Only the path is logged — the password itself is never written to the log, because every start would otherwise add a credential to a file that is kept, shipped and read casually.
112
112
  - `createInitialAdminUser` creates the first persisted admin with normalized email and local password authentication.
113
- - Optional `idp.global` authentication can be enabled for that local account. The hosted `https://idp.global` endpoint is used by default, `adminAuth.idpGlobalUrl` or `DCROUTER_IDP_GLOBAL_URL` only override it, and the local dcrouter role remains authoritative.
113
+ - Optional `idp.global` authentication can be enabled for that local account. SDK 17 uses the hosted `https://app.idp.global` endpoint by default; `adminAuth.idpGlobalUrl` or `DCROUTER_IDP_GLOBAL_URL` can override it, and the local dcrouter role remains authoritative. The IdP listener must use TypedSocket 8 and TypedRequest 8 (TypedServer 11); coordinate this client upgrade with the provider rollout because earlier listener transport majors cannot complete its WebSocket handshake.
114
114
  - After a persisted admin exists, temporary bootstrap admin login is rejected and normal persisted-account authentication is used.
115
115
 
116
116
  ## Configuration Model
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '19.1.1',
6
+ version: '20.0.0',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  }
@@ -221,7 +221,7 @@ export interface IDcRouterOptions {
221
221
 
222
222
  /** Optional OpsServer account authentication settings. */
223
223
  adminAuth?: {
224
- /** Optional idp.global password-authentication URL override. Defaults to the SDK's hosted https://idp.global endpoint. Can also be set through DCROUTER_IDP_GLOBAL_URL. */
224
+ /** Optional idp.global password-authentication URL override. Defaults to the SDK's hosted https://app.idp.global endpoint. Can also be set through DCROUTER_IDP_GLOBAL_URL. */
225
225
  idpGlobalUrl?: string;
226
226
  /** Test/integration hook for injecting an idp.global-compatible password client. */
227
227
  idpClient?: Pick<plugins.idpSdkServer.IdpGlobalServerClient, 'loginWithEmailAndPassword' | 'stop'>;
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '19.1.1',
6
+ version: '20.0.0',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  }