Skip to content

Commit

Permalink
Revert "feat: Pay before Persist experiment (#1373)"
Browse files Browse the repository at this point in the history
This reverts commit bdc6eb4.
  • Loading branch information
MantisClone committed Apr 10, 2024
1 parent 88bbb79 commit 91a15e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/request-client.js/src/api/request-network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export default class RequestNetwork {
public paymentNetworkFactory: PaymentNetworkFactory;
public supportedIdentities: IdentityTypes.TYPE[] = supportedIdentities;

public requestLogic: RequestLogicTypes.IRequestLogic;
public transaction: TransactionTypes.ITransactionManager;
private requestLogic: RequestLogicTypes.IRequestLogic;
private transaction: TransactionTypes.ITransactionManager;
private advancedLogic: AdvancedLogicTypes.IAdvancedLogic;

private contentData: ContentDataExtension;
Expand Down Expand Up @@ -374,7 +374,7 @@ export default class RequestNetwork {
* @param parameters Parameters to create a request
* @returns the parameters, ready for request creation, the topics, and the paymentNetwork
*/
public async prepareRequestParameters(parameters: Types.ICreateRequestParameters): Promise<{
private async prepareRequestParameters(parameters: Types.ICreateRequestParameters): Promise<{
requestParameters: RequestLogicTypes.ICreateParameters;
topics: any[];
paymentNetwork: PaymentTypes.IPaymentNetwork | null;
Expand Down
4 changes: 2 additions & 2 deletions packages/request-logic/src/request-logic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export default class RequestLogic implements RequestLogicTypes.IRequestLogic {
*
* @returns the request id, the action and the hashed topics
*/
public async createCreationActionRequestIdAndTopics(
private async createCreationActionRequestIdAndTopics(
requestParameters: RequestLogicTypes.ICreateParameters,
signerIdentity: IdentityTypes.IIdentity,
topics: any[],
Expand Down Expand Up @@ -665,7 +665,7 @@ export default class RequestLogic implements RequestLogicTypes.IRequestLogic {
*
* @returns void, throws if the action is invalid
*/
public async validateAction(
private async validateAction(
requestId: RequestLogicTypes.RequestId,
action: RequestLogicTypes.IAction,
): Promise<void> {
Expand Down

0 comments on commit 91a15e2

Please sign in to comment.