@blocklet/server-js 1.17.7-beta-20251225-073259-cb6ecf68 → 1.17.7-beta-20251227-001958-ea2ba3f5

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/browser.d.ts CHANGED
@@ -262,7 +262,10 @@ declare class ABTNodeClient {
262
262
  configNavigations(
263
263
  params: PartialDeep<ABTNodeClient.ConfigNavigationsParams>
264
264
  ): Promise<ABTNodeClient.ResponseBlocklet>;
265
- configOAuth(params: PartialDeep<ABTNodeClient.ConfigOAuthParams>): Promise<ABTNodeClient.ResponseBlocklet>;
265
+ configAuthentication(
266
+ params: PartialDeep<ABTNodeClient.ConfigAuthenticationParams>
267
+ ): Promise<ABTNodeClient.ResponseBlocklet>;
268
+ configDidConnect(params: PartialDeep<ABTNodeClient.ConfigDidConnectParams>): Promise<ABTNodeClient.ResponseBlocklet>;
266
269
  configNotification(
267
270
  params: PartialDeep<ABTNodeClient.ConfigNotificationParams>
268
271
  ): Promise<ABTNodeClient.ResponseBlocklet>;
@@ -1260,11 +1263,21 @@ declare namespace ABTNodeClient {
1260
1263
  componentDids: string[];
1261
1264
  }
1262
1265
 
1266
+ interface RequestConfigAuthenticationInput {
1267
+ did: string;
1268
+ authentication: string;
1269
+ }
1270
+
1263
1271
  interface RequestConfigBlockletInput {
1264
1272
  did: string[];
1265
1273
  configs: ABTNodeClient.ConfigEntryInput[];
1266
1274
  }
1267
1275
 
1276
+ interface RequestConfigDidConnectInput {
1277
+ did: string;
1278
+ didConnect: string;
1279
+ }
1280
+
1268
1281
  interface RequestConfigNavigationsInput {
1269
1282
  did: string;
1270
1283
  navigations: ABTNodeClient.ConfigNavigationInput[];
@@ -1275,11 +1288,6 @@ declare namespace ABTNodeClient {
1275
1288
  notification: string;
1276
1289
  }
1277
1290
 
1278
- interface RequestConfigOAuthInput {
1279
- did: string;
1280
- oauth: string;
1281
- }
1282
-
1283
1291
  interface RequestConfigPassportIssuanceInput {
1284
1292
  teamDid: string;
1285
1293
  enable: boolean;
@@ -2997,7 +3005,7 @@ declare namespace ABTNodeClient {
2997
3005
  publicToStore: boolean;
2998
3006
  storeList: ABTNodeClient.BlockletStore[];
2999
3007
  navigations: ABTNodeClient.ConfigNavigation[];
3000
- oauth: Record<string, any>;
3008
+ authentication: Record<string, any>;
3001
3009
  trustedFactories: ABTNodeClient.TrustedFactory[];
3002
3010
  notification: Record<string, any>;
3003
3011
  session: ABTNodeClient.SessionConfig;
@@ -3011,6 +3019,7 @@ declare namespace ABTNodeClient {
3011
3019
  enableSessionHardening: boolean;
3012
3020
  aigne: ABTNodeClient.AigneConfig;
3013
3021
  org: ABTNodeClient.OrgSettings;
3022
+ didConnect: Record<string, any>;
3014
3023
  }
3015
3024
 
3016
3025
  interface BlockletState {
@@ -3460,7 +3469,8 @@ declare namespace ABTNodeClient {
3460
3469
  configBlocklet: ABTNodeClient.ResponseBlocklet;
3461
3470
  configPublicToStore: ABTNodeClient.ResponseBlocklet;
3462
3471
  configNavigations: ABTNodeClient.ResponseBlocklet;
3463
- configOAuth: ABTNodeClient.ResponseBlocklet;
3472
+ configAuthentication: ABTNodeClient.ResponseBlocklet;
3473
+ configDidConnect: ABTNodeClient.ResponseBlocklet;
3464
3474
  configNotification: ABTNodeClient.ResponseBlocklet;
3465
3475
  configVault: ABTNodeClient.ResponseConfigVault;
3466
3476
  sendEmail: ABTNodeClient.GeneralResponse;
@@ -5512,8 +5522,12 @@ declare namespace ABTNodeClient {
5512
5522
  input: ABTNodeClient.RequestConfigNavigationsInput;
5513
5523
  }
5514
5524
 
5515
- interface ConfigOAuthParams {
5516
- input: ABTNodeClient.RequestConfigOAuthInput;
5525
+ interface ConfigAuthenticationParams {
5526
+ input: ABTNodeClient.RequestConfigAuthenticationInput;
5527
+ }
5528
+
5529
+ interface ConfigDidConnectParams {
5530
+ input: ABTNodeClient.RequestConfigDidConnectInput;
5517
5531
  }
5518
5532
 
5519
5533
  interface ConfigNotificationParams {