@abtnode/types 1.16.34-beta-20241212-152152-0b8d4bb3 → 1.16.34-beta-20241214-102147-410be539

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/lib/rpc_pb.d.ts CHANGED
@@ -209,11 +209,13 @@ export type TRequestRestoreBlocklet = {
209
209
  export type TRequestDeleteBlocklet = {
210
210
  did: string;
211
211
  keepData: boolean;
212
+ sessionId: string;
212
213
  };
213
214
  export type TRequestDeleteComponent = {
214
215
  did: string;
215
216
  rootDid: string;
216
217
  keepData: boolean;
218
+ sessionId: string;
217
219
  };
218
220
  export type TRequestRegistry = {};
219
221
  export type TRequestBlockletMeta = {
@@ -467,7 +469,9 @@ export type TRequestSendMsg = {
467
469
  export type TResponseSendMsg = {
468
470
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
469
471
  };
470
- export type TRequestUpgradeNodeVersion = {};
472
+ export type TRequestUpgradeNodeVersion = {
473
+ sessionId: string;
474
+ };
471
475
  export type TResponseUpgradeNodeVersion = {
472
476
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
473
477
  sessionId: string;
@@ -494,16 +498,6 @@ export type TResponseGetSession = {
494
498
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
495
499
  session?: Record<string, any>;
496
500
  };
497
- export type TRequestStartSession = {
498
- data: string;
499
- };
500
- export type TRequestUpdateSession = {
501
- id: string;
502
- data: string;
503
- };
504
- export type TRequestEndSession = {
505
- id: string;
506
- };
507
501
  export type TRequestCreateInvitation = {
508
502
  teamDid: string;
509
503
  role: string;
@@ -635,6 +629,7 @@ export type TRequestTeamUser = {
635
629
  teamDid: string;
636
630
  user?: type_pb.TUserInfo;
637
631
  options?: TRequestTeamUserOptions;
632
+ sessionId: string;
638
633
  };
639
634
  export type TRequestUpdateUserTags = {
640
635
  teamDid: string;
@@ -916,6 +911,7 @@ export type TRequestCreateRelease = {
916
911
  blockletSupport: string;
917
912
  blockletCommunity: string;
918
913
  blockletHomepage: string;
914
+ blockletVideos: string[];
919
915
  };
920
916
  export type TResponseRelease = {
921
917
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
@@ -1075,3 +1071,7 @@ export type TRequestDeleteBlockletAccessPolicy = {
1075
1071
  did: string;
1076
1072
  id: string;
1077
1073
  };
1074
+ export type TRequestRotateSessionKey = {
1075
+ teamDid: string;
1076
+ sessionId: string;
1077
+ };
package/lib/type_pb.d.ts CHANGED
@@ -40,6 +40,8 @@ export type TNodeState = {
40
40
  enableDocker: boolean;
41
41
  isDockerInstalled: boolean;
42
42
  enableDockerNetwork: boolean;
43
+ enableSessionHardening: boolean;
44
+ sessionSalt: string;
43
45
  };
44
46
  export type TOwnerNft = {
45
47
  did: string;
@@ -71,6 +73,7 @@ export type TNodeInfo = {
71
73
  enableDocker: boolean;
72
74
  isDockerInstalled: boolean;
73
75
  enableDockerNetwork: boolean;
76
+ enableSessionHardening: boolean;
74
77
  };
75
78
  export type TConnectedStore = {
76
79
  storeId: string;
@@ -936,6 +939,7 @@ export type TSessionConfig = {
936
939
  ttl: number;
937
940
  email?: TLoginEmailSettings;
938
941
  phone?: TLoginPhoneSettings;
942
+ salt: string;
939
943
  };
940
944
  export type TFederatedConfigDetail = {
941
945
  appId: string;
@@ -1031,6 +1035,7 @@ export type TRelease = {
1031
1035
  blockletSupport: string;
1032
1036
  blockletCommunity: string;
1033
1037
  blockletHomepage: string;
1038
+ blockletVideos: string[];
1034
1039
  };
1035
1040
  export type TBlockletResource = {
1036
1041
  exportApi: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/types",
3
- "version": "1.16.34-beta-20241212-152152-0b8d4bb3",
3
+ "version": "1.16.34-beta-20241214-102147-410be539",
4
4
  "description": "Typescript definitions generated from protobuf",
5
5
  "keywords": [
6
6
  "abtnode",
@@ -36,5 +36,5 @@
36
36
  "bugs": {
37
37
  "url": "https://github.com/ArcBlock/abt-node/issues"
38
38
  },
39
- "gitHead": "999b6d7c9e4458844d001671bb9d538255307fc5"
39
+ "gitHead": "7f14bf890cebd9294f3953a7adc64608c078771b"
40
40
  }