@silvana-one/orderbook 1.1.28 → 1.1.29

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.
@@ -1115,6 +1115,13 @@ var SettlementClient = class {
1115
1115
  */
1116
1116
  constructor(config) {
1117
1117
  this.client = (0, import_connect4.createClient)(SettlementService, config.transport);
1118
+ this.authHeaders = { authorization: `Bearer ${config.token}` };
1119
+ }
1120
+ /**
1121
+ * Returns call options with authentication headers
1122
+ */
1123
+ callOptions() {
1124
+ return { headers: this.authHeaders };
1118
1125
  }
1119
1126
  /**
1120
1127
  * Wraps async calls with error handling
@@ -1142,7 +1149,7 @@ var SettlementClient = class {
1142
1149
  async getPendingProposals(params) {
1143
1150
  return await this.wrapCall(async () => {
1144
1151
  const request = (0, import_protobuf4.create)(GetPendingProposalsRequestSchema, params);
1145
- return await this.client.getPendingProposals(request);
1152
+ return await this.client.getPendingProposals(request, this.callOptions());
1146
1153
  }, "getPendingProposals");
1147
1154
  }
1148
1155
  /**
@@ -1151,7 +1158,7 @@ var SettlementClient = class {
1151
1158
  async getSettlementStatus(params) {
1152
1159
  return await this.wrapCall(async () => {
1153
1160
  const request = (0, import_protobuf4.create)(GetSettlementStatusRequestSchema, params);
1154
- return await this.client.getSettlementStatus(request);
1161
+ return await this.client.getSettlementStatus(request, this.callOptions());
1155
1162
  }, "getSettlementStatus");
1156
1163
  }
1157
1164
  /**
@@ -1160,7 +1167,7 @@ var SettlementClient = class {
1160
1167
  async submitPreconfirmation(params) {
1161
1168
  return await this.wrapCall(async () => {
1162
1169
  const request = (0, import_protobuf4.create)(SubmitPreconfirmationRequestSchema, params);
1163
- await this.client.submitPreconfirmation(request);
1170
+ await this.client.submitPreconfirmation(request, this.callOptions());
1164
1171
  }, "submitPreconfirmation");
1165
1172
  }
1166
1173
  /**
@@ -1170,7 +1177,7 @@ var SettlementClient = class {
1170
1177
  async recordSettlementEvent(params) {
1171
1178
  return await this.wrapCall(async () => {
1172
1179
  const request = (0, import_protobuf4.create)(RecordSettlementEventRequestSchema, params);
1173
- return await this.client.recordSettlementEvent(request);
1180
+ return await this.client.recordSettlementEvent(request, this.callOptions());
1174
1181
  }, "recordSettlementEvent");
1175
1182
  }
1176
1183
  /**
@@ -1179,7 +1186,7 @@ var SettlementClient = class {
1179
1186
  async getSettlementHistory(params) {
1180
1187
  return await this.wrapCall(async () => {
1181
1188
  const request = (0, import_protobuf4.create)(GetSettlementHistoryRequestSchema, params);
1182
- return await this.client.getSettlementHistory(request);
1189
+ return await this.client.getSettlementHistory(request, this.callOptions());
1183
1190
  }, "getSettlementHistory");
1184
1191
  }
1185
1192
  /**
@@ -1188,7 +1195,7 @@ var SettlementClient = class {
1188
1195
  async updateProposalStatus(params) {
1189
1196
  return await this.wrapCall(async () => {
1190
1197
  const request = (0, import_protobuf4.create)(UpdateProposalStatusRequestSchema, params);
1191
- return await this.client.updateProposalStatus(request);
1198
+ return await this.client.updateProposalStatus(request, this.callOptions());
1192
1199
  }, "updateProposalStatus");
1193
1200
  }
1194
1201
  /**
@@ -1197,10 +1204,9 @@ var SettlementClient = class {
1197
1204
  async getSettlementProposalById(params) {
1198
1205
  return await this.wrapCall(async () => {
1199
1206
  const request = (0, import_protobuf4.create)(GetSettlementProposalByIdRequestSchema, {
1200
- cantonAuth: params.auth,
1201
1207
  proposalId: params.proposalId
1202
1208
  });
1203
- return await this.client.getSettlementProposalById(request);
1209
+ return await this.client.getSettlementProposalById(request, this.callOptions());
1204
1210
  }, "getSettlementProposalById");
1205
1211
  }
1206
1212
  /**
@@ -1209,7 +1215,7 @@ var SettlementClient = class {
1209
1215
  async saveDisclosedContract(params) {
1210
1216
  return await this.wrapCall(async () => {
1211
1217
  const request = (0, import_protobuf4.create)(SaveDisclosedContractRequestSchema, params);
1212
- return await this.client.saveDisclosedContract(request);
1218
+ return await this.client.saveDisclosedContract(request, this.callOptions());
1213
1219
  }, "saveDisclosedContract");
1214
1220
  }
1215
1221
  /**
@@ -1218,7 +1224,7 @@ var SettlementClient = class {
1218
1224
  async getDisclosedContracts(params) {
1219
1225
  return await this.wrapCall(async () => {
1220
1226
  const request = (0, import_protobuf4.create)(GetDisclosedContractsRequestSchema, params);
1221
- return await this.client.getDisclosedContracts(request);
1227
+ return await this.client.getDisclosedContracts(request, this.callOptions());
1222
1228
  }, "getDisclosedContracts");
1223
1229
  }
1224
1230
  /**
@@ -1228,7 +1234,7 @@ var SettlementClient = class {
1228
1234
  async recordSettlement(params) {
1229
1235
  return await this.wrapCall(async () => {
1230
1236
  const request = (0, import_protobuf4.create)(RecordSettlementRequestSchema, params);
1231
- return await this.client.recordSettlement(request);
1237
+ return await this.client.recordSettlement(request, this.callOptions());
1232
1238
  }, "recordSettlement");
1233
1239
  }
1234
1240
  /**
@@ -1237,7 +1243,7 @@ var SettlementClient = class {
1237
1243
  async recordTransaction(params) {
1238
1244
  return await this.wrapCall(async () => {
1239
1245
  const request = (0, import_protobuf4.create)(RecordTransactionRequestSchema, params);
1240
- return await this.client.recordTransaction(request);
1246
+ return await this.client.recordTransaction(request, this.callOptions());
1241
1247
  }, "recordTransaction");
1242
1248
  }
1243
1249
  /**
@@ -1246,7 +1252,7 @@ var SettlementClient = class {
1246
1252
  async getTransactionHistory(params) {
1247
1253
  return await this.wrapCall(async () => {
1248
1254
  const request = (0, import_protobuf4.create)(GetTransactionHistoryRequestSchema, params);
1249
- return await this.client.getTransactionHistory(request);
1255
+ return await this.client.getTransactionHistory(request, this.callOptions());
1250
1256
  }, "getTransactionHistory");
1251
1257
  }
1252
1258
  };
@@ -1,5 +1,5 @@
1
1
  import type { Transport } from "@connectrpc/connect";
2
- import { type GetPendingProposalsResponse, type GetSettlementStatusResponse, type SaveDisclosedContractResponse, type GetDisclosedContractsResponse, type RecordSettlementResponse, type RecordTransactionResponse, type GetTransactionHistoryResponse, type RecordSettlementEventResponse, type GetSettlementHistoryResponse, type UpdateProposalStatusResponse, type GetSettlementProposalByIdResponse, type DisclosedContractMessage, type CantonNodeAuth, type PreconfirmationDecision, type CantonToServerMessage, TransactionType, SenderType, TransactionResult, SettlementEventType, RecordedByRole, SettlementEventResult, UpdateProposalStatusRequest_NewStatus } from "./proto/silvana/settlement/v1/settlement_pb.js";
2
+ import { type GetPendingProposalsResponse, type GetSettlementStatusResponse, type SaveDisclosedContractResponse, type GetDisclosedContractsResponse, type RecordSettlementResponse, type RecordTransactionResponse, type GetTransactionHistoryResponse, type RecordSettlementEventResponse, type GetSettlementHistoryResponse, type UpdateProposalStatusResponse, type GetSettlementProposalByIdResponse, type DisclosedContractMessage, type PreconfirmationDecision, type CantonToServerMessage, TransactionType, SenderType, TransactionResult, SettlementEventType, RecordedByRole, SettlementEventResult, UpdateProposalStatusRequest_NewStatus } from "./proto/silvana/settlement/v1/settlement_pb.js";
3
3
  export { file_proto_silvana_settlement_v1_settlement, type CantonNodeAuth, CantonNodeAuthSchema, type SettlementInstrument, SettlementInstrumentSchema, type SettlementProposalMessage, SettlementProposalMessageSchema, type PreconfirmationRequest, PreconfirmationRequestSchema, type PreconfirmationDecision, PreconfirmationDecisionSchema, type DvpContractCreated, DvpContractCreatedSchema, type DvpContractAccepted, DvpContractAcceptedSchema, type AllocationStatus, AllocationStatusSchema, type SettlementExecutionStatus, SettlementExecutionStatusSchema, type UserServiceInfo, UserServiceInfoSchema, type SettlementHandshake, SettlementHandshakeSchema, type HandshakeAck, HandshakeAckSchema, type Heartbeat, HeartbeatSchema, type LiquidityProviderPing, LiquidityProviderPingSchema, type LiquidityProviderPong, LiquidityProviderPongSchema, type ServerToCantonMessage, ServerToCantonMessageSchema, type CantonToServerMessage, CantonToServerMessageSchema, type DvpCreationReport, DvpCreationReportSchema, type DvpAcceptanceReport, DvpAcceptanceReportSchema, type AllocationReport, AllocationReportSchema, type SettlementReport, SettlementReportSchema, type ErrorReport, ErrorReportSchema, type StatusUpdate, StatusUpdateSchema, type SettlementCommand, SettlementCommandSchema, type GetPendingProposalsRequest, GetPendingProposalsRequestSchema, type GetPendingProposalsResponse, GetPendingProposalsResponseSchema, type GetSettlementStatusRequest, GetSettlementStatusRequestSchema, type GetSettlementStatusResponse, GetSettlementStatusResponseSchema, type SubmitPreconfirmationRequest, SubmitPreconfirmationRequestSchema, type SaveDisclosedContractRequest, SaveDisclosedContractRequestSchema, type SaveDisclosedContractResponse, SaveDisclosedContractResponseSchema, type GetDisclosedContractsRequest, GetDisclosedContractsRequestSchema, type GetDisclosedContractsResponse, GetDisclosedContractsResponseSchema, type DisclosedContractMessage, DisclosedContractMessageSchema, type RecordSettlementRequest, RecordSettlementRequestSchema, type RecordSettlementResponse, RecordSettlementResponseSchema, type RecordTransactionRequest, RecordTransactionRequestSchema, type RecordTransactionResponse, RecordTransactionResponseSchema, type GetTransactionHistoryRequest, GetTransactionHistoryRequestSchema, type GetTransactionHistoryResponse, GetTransactionHistoryResponseSchema, type TransactionHistoryEntry, TransactionHistoryEntrySchema, type RecordSettlementEventRequest, RecordSettlementEventRequestSchema, type RecordSettlementEventResponse, RecordSettlementEventResponseSchema, type GetSettlementHistoryRequest, GetSettlementHistoryRequestSchema, type GetSettlementHistoryResponse, GetSettlementHistoryResponseSchema, type SettlementHistoryEntry, SettlementHistoryEntrySchema, type UpdateProposalStatusRequest, UpdateProposalStatusRequestSchema, UpdateProposalStatusRequest_NewStatus, UpdateProposalStatusRequest_NewStatusSchema, type UpdateProposalStatusResponse, UpdateProposalStatusResponseSchema, type GetSettlementProposalByIdRequest, GetSettlementProposalByIdRequestSchema, type GetSettlementProposalByIdResponse, GetSettlementProposalByIdResponseSchema, type DvpStepStatus, DvpStepStatusSchema, SettlementStage, SettlementStageSchema, PreconfirmationResponse, PreconfirmationResponseSchema, PartyRole, PartyRoleSchema, TransactionType, TransactionTypeSchema, SenderType, SenderTypeSchema, TransactionResult, TransactionResultSchema, SettlementEventType, SettlementEventTypeSchema, RecordedByRole, RecordedByRoleSchema, SettlementEventResult, SettlementEventResultSchema, DvpStepStatusEnum, DvpStepStatusEnumSchema, SettlementService, } from "./proto/silvana/settlement/v1/settlement_pb.js";
4
4
  /**
5
5
  * Custom error class for Settlement client errors
@@ -15,17 +15,24 @@ export declare class SettlementError extends Error {
15
15
  export interface SettlementClientConfig {
16
16
  /** Transport instance (create with @connectrpc/connect-node or @connectrpc/connect-web) */
17
17
  transport: Transport;
18
+ /** JWT token for authentication (passed via gRPC metadata header) */
19
+ token: string;
18
20
  }
19
21
  /**
20
22
  * Settlement client for interacting with the Silvana Settlement Service
21
23
  */
22
24
  export declare class SettlementClient {
23
25
  private client;
26
+ private authHeaders;
24
27
  /**
25
28
  * Creates a new SettlementClient instance
26
29
  * @param config Client configuration
27
30
  */
28
31
  constructor(config: SettlementClientConfig);
32
+ /**
33
+ * Returns call options with authentication headers
34
+ */
35
+ private callOptions;
29
36
  /**
30
37
  * Wraps async calls with error handling
31
38
  */
@@ -39,7 +46,6 @@ export declare class SettlementClient {
39
46
  * Get pending proposals for a party
40
47
  */
41
48
  getPendingProposals(params: {
42
- auth: CantonNodeAuth;
43
49
  partyId: string;
44
50
  limit?: number;
45
51
  }): Promise<GetPendingProposalsResponse>;
@@ -47,14 +53,12 @@ export declare class SettlementClient {
47
53
  * Query settlement status
48
54
  */
49
55
  getSettlementStatus(params: {
50
- auth: CantonNodeAuth;
51
56
  settlementId: string;
52
57
  }): Promise<GetSettlementStatusResponse>;
53
58
  /**
54
59
  * Manual preconfirmation (if not using stream)
55
60
  */
56
61
  submitPreconfirmation(params: {
57
- auth: CantonNodeAuth;
58
62
  decision: PreconfirmationDecision;
59
63
  }): Promise<void>;
60
64
  /**
@@ -62,9 +66,8 @@ export declare class SettlementClient {
62
66
  * Any party (buyer/seller/operator/system) can record events for DVP flow tracking
63
67
  */
64
68
  recordSettlementEvent(params: {
65
- auth: CantonNodeAuth;
66
69
  proposalId: string;
67
- recordedBy: string;
70
+ recordedBy?: string;
68
71
  recordedByRole: RecordedByRole;
69
72
  eventType: SettlementEventType;
70
73
  submissionId?: string;
@@ -79,7 +82,6 @@ export declare class SettlementClient {
79
82
  * Get settlement event history for a proposal
80
83
  */
81
84
  getSettlementHistory(params: {
82
- auth: CantonNodeAuth;
83
85
  proposalId: string;
84
86
  eventType?: SettlementEventType;
85
87
  result?: SettlementEventResult;
@@ -90,7 +92,6 @@ export declare class SettlementClient {
90
92
  * Update proposal status (operator only)
91
93
  */
92
94
  updateProposalStatus(params: {
93
- auth: CantonNodeAuth;
94
95
  proposalId: string;
95
96
  newStatus: UpdateProposalStatusRequest_NewStatus;
96
97
  errorMessage?: string;
@@ -99,14 +100,12 @@ export declare class SettlementClient {
99
100
  * Get a settlement proposal by ID
100
101
  */
101
102
  getSettlementProposalById(params: {
102
- auth: CantonNodeAuth;
103
103
  proposalId: string;
104
104
  }): Promise<GetSettlementProposalByIdResponse>;
105
105
  /**
106
106
  * Save a disclosed contract (buyer/seller saves during allocation)
107
107
  */
108
108
  saveDisclosedContract(params: {
109
- auth: CantonNodeAuth;
110
109
  proposalId: string;
111
110
  contract: DisclosedContractMessage;
112
111
  }): Promise<SaveDisclosedContractResponse>;
@@ -114,7 +113,6 @@ export declare class SettlementClient {
114
113
  * Get disclosed contracts (operator gets all, buyer/seller gets own)
115
114
  */
116
115
  getDisclosedContracts(params: {
117
- auth: CantonNodeAuth;
118
116
  proposalId: string;
119
117
  owner?: string;
120
118
  }): Promise<GetDisclosedContractsResponse>;
@@ -123,7 +121,6 @@ export declare class SettlementClient {
123
121
  * Called by settlement operator after successful Dvp_Settle execution
124
122
  */
125
123
  recordSettlement(params: {
126
- auth: CantonNodeAuth;
127
124
  proposalId: string;
128
125
  settledDvpCid: string;
129
126
  settlementUpdateId: string;
@@ -133,7 +130,6 @@ export declare class SettlementClient {
133
130
  * Record a transaction in history
134
131
  */
135
132
  recordTransaction(params: {
136
- auth: CantonNodeAuth;
137
133
  txType: TransactionType;
138
134
  senderParty: string;
139
135
  senderType: SenderType;
@@ -163,7 +159,6 @@ export declare class SettlementClient {
163
159
  * Get transaction history with optional filters
164
160
  */
165
161
  getTransactionHistory(params: {
166
- auth: CantonNodeAuth;
167
162
  senderParty?: string;
168
163
  txType?: TransactionType;
169
164
  settlementProposalId?: string;
@@ -26,6 +26,13 @@ export class SettlementClient {
26
26
  */
27
27
  constructor(config) {
28
28
  this.client = createClient(SettlementService, config.transport);
29
+ this.authHeaders = { authorization: `Bearer ${config.token}` };
30
+ }
31
+ /**
32
+ * Returns call options with authentication headers
33
+ */
34
+ callOptions() {
35
+ return { headers: this.authHeaders };
29
36
  }
30
37
  /**
31
38
  * Wraps async calls with error handling
@@ -54,7 +61,7 @@ export class SettlementClient {
54
61
  async getPendingProposals(params) {
55
62
  return await this.wrapCall(async () => {
56
63
  const request = create(GetPendingProposalsRequestSchema, params);
57
- return await this.client.getPendingProposals(request);
64
+ return await this.client.getPendingProposals(request, this.callOptions());
58
65
  }, 'getPendingProposals');
59
66
  }
60
67
  /**
@@ -63,7 +70,7 @@ export class SettlementClient {
63
70
  async getSettlementStatus(params) {
64
71
  return await this.wrapCall(async () => {
65
72
  const request = create(GetSettlementStatusRequestSchema, params);
66
- return await this.client.getSettlementStatus(request);
73
+ return await this.client.getSettlementStatus(request, this.callOptions());
67
74
  }, 'getSettlementStatus');
68
75
  }
69
76
  /**
@@ -72,7 +79,7 @@ export class SettlementClient {
72
79
  async submitPreconfirmation(params) {
73
80
  return await this.wrapCall(async () => {
74
81
  const request = create(SubmitPreconfirmationRequestSchema, params);
75
- await this.client.submitPreconfirmation(request);
82
+ await this.client.submitPreconfirmation(request, this.callOptions());
76
83
  }, 'submitPreconfirmation');
77
84
  }
78
85
  /**
@@ -82,7 +89,7 @@ export class SettlementClient {
82
89
  async recordSettlementEvent(params) {
83
90
  return await this.wrapCall(async () => {
84
91
  const request = create(RecordSettlementEventRequestSchema, params);
85
- return await this.client.recordSettlementEvent(request);
92
+ return await this.client.recordSettlementEvent(request, this.callOptions());
86
93
  }, 'recordSettlementEvent');
87
94
  }
88
95
  /**
@@ -91,7 +98,7 @@ export class SettlementClient {
91
98
  async getSettlementHistory(params) {
92
99
  return await this.wrapCall(async () => {
93
100
  const request = create(GetSettlementHistoryRequestSchema, params);
94
- return await this.client.getSettlementHistory(request);
101
+ return await this.client.getSettlementHistory(request, this.callOptions());
95
102
  }, 'getSettlementHistory');
96
103
  }
97
104
  /**
@@ -100,7 +107,7 @@ export class SettlementClient {
100
107
  async updateProposalStatus(params) {
101
108
  return await this.wrapCall(async () => {
102
109
  const request = create(UpdateProposalStatusRequestSchema, params);
103
- return await this.client.updateProposalStatus(request);
110
+ return await this.client.updateProposalStatus(request, this.callOptions());
104
111
  }, 'updateProposalStatus');
105
112
  }
106
113
  /**
@@ -109,10 +116,9 @@ export class SettlementClient {
109
116
  async getSettlementProposalById(params) {
110
117
  return await this.wrapCall(async () => {
111
118
  const request = create(GetSettlementProposalByIdRequestSchema, {
112
- cantonAuth: params.auth,
113
119
  proposalId: params.proposalId,
114
120
  });
115
- return await this.client.getSettlementProposalById(request);
121
+ return await this.client.getSettlementProposalById(request, this.callOptions());
116
122
  }, 'getSettlementProposalById');
117
123
  }
118
124
  /**
@@ -121,7 +127,7 @@ export class SettlementClient {
121
127
  async saveDisclosedContract(params) {
122
128
  return await this.wrapCall(async () => {
123
129
  const request = create(SaveDisclosedContractRequestSchema, params);
124
- return await this.client.saveDisclosedContract(request);
130
+ return await this.client.saveDisclosedContract(request, this.callOptions());
125
131
  }, 'saveDisclosedContract');
126
132
  }
127
133
  /**
@@ -130,7 +136,7 @@ export class SettlementClient {
130
136
  async getDisclosedContracts(params) {
131
137
  return await this.wrapCall(async () => {
132
138
  const request = create(GetDisclosedContractsRequestSchema, params);
133
- return await this.client.getDisclosedContracts(request);
139
+ return await this.client.getDisclosedContracts(request, this.callOptions());
134
140
  }, 'getDisclosedContracts');
135
141
  }
136
142
  /**
@@ -140,7 +146,7 @@ export class SettlementClient {
140
146
  async recordSettlement(params) {
141
147
  return await this.wrapCall(async () => {
142
148
  const request = create(RecordSettlementRequestSchema, params);
143
- return await this.client.recordSettlement(request);
149
+ return await this.client.recordSettlement(request, this.callOptions());
144
150
  }, 'recordSettlement');
145
151
  }
146
152
  /**
@@ -149,7 +155,7 @@ export class SettlementClient {
149
155
  async recordTransaction(params) {
150
156
  return await this.wrapCall(async () => {
151
157
  const request = create(RecordTransactionRequestSchema, params);
152
- return await this.client.recordTransaction(request);
158
+ return await this.client.recordTransaction(request, this.callOptions());
153
159
  }, 'recordTransaction');
154
160
  }
155
161
  /**
@@ -158,7 +164,7 @@ export class SettlementClient {
158
164
  async getTransactionHistory(params) {
159
165
  return await this.wrapCall(async () => {
160
166
  const request = create(GetTransactionHistoryRequestSchema, params);
161
- return await this.client.getTransactionHistory(request);
167
+ return await this.client.getTransactionHistory(request, this.callOptions());
162
168
  }, 'getTransactionHistory');
163
169
  }
164
170
  }
@@ -1 +1 @@
1
- {"version":3,"file":"settlement.js","sourceRoot":"","sources":["../../src/settlement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,kDAAkD;AAClD,OAAO,EACL,iBAAiB,EAgBjB,gCAAgC,EAChC,gCAAgC,EAChC,kCAAkC,EAClC,kCAAkC,EAClC,kCAAkC,EAClC,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,EAClC,kCAAkC,EAClC,iCAAiC,EACjC,iCAAiC,EACjC,sCAAsC,GAQvC,MAAM,gDAAgD,CAAC;AAExD,gEAAgE;AAChE,sFAAsF;AACtF,OAAO,EACL,2CAA2C,EAE3C,oBAAoB,EAEpB,0BAA0B,EAE1B,+BAA+B,EAE/B,4BAA4B,EAE5B,6BAA6B,EAE7B,wBAAwB,EAExB,yBAAyB,EAEzB,sBAAsB,EAEtB,+BAA+B,EAE/B,qBAAqB,EAErB,yBAAyB,EAEzB,kBAAkB,EAElB,eAAe,EAEf,2BAA2B,EAE3B,2BAA2B,EAE3B,2BAA2B,EAE3B,2BAA2B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