Skip to content

Commit

Permalink
fix: misleading function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansonhkg committed Apr 30, 2024
1 parent ffa6555 commit dce9581
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const testUseEoaSessionSigsToEncryptDecryptFile = async (
}

const accsResourceString =
await LitAccessControlConditionResource.generateLitActionResourceString(
await LitAccessControlConditionResource.generateResourceString(
accs,
encryptRes.dataToEncryptHash
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const testUseEoaSessionSigsToEncryptDecryptString = async (
}

const accsResourceString =
await LitAccessControlConditionResource.generateLitActionResourceString(
await LitAccessControlConditionResource.generateResourceString(
accs,
encryptRes.dataToEncryptHash
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const testUseEoaSessionSigsToEncryptDecryptZip = async (
}

const accsResourceString =
await LitAccessControlConditionResource.generateLitActionResourceString(
await LitAccessControlConditionResource.generateResourceString(
accs,
encryptRes.dataToEncryptHash
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const testUsePkpSessionSigsToEncryptDecryptFile = async (
}

const accsResourceString =
await LitAccessControlConditionResource.generateLitActionResourceString(
await LitAccessControlConditionResource.generateResourceString(
accs,
encryptRes.dataToEncryptHash
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const testUsePkpSessionSigsToEncryptDecryptString = async (
}

const accsResourceString =
await LitAccessControlConditionResource.generateLitActionResourceString(
await LitAccessControlConditionResource.generateResourceString(
accs,
encryptRes.dataToEncryptHash
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const testUsePkpSessionSigsToEncryptDecryptZip = async (
}

const accsResourceString =
await LitAccessControlConditionResource.generateLitActionResourceString(
await LitAccessControlConditionResource.generateResourceString(
accs,
encryptRes.dataToEncryptHash
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const testUseValidLitActionCodeGeneratedSessionSigsToEncryptDecryptFile =
}

const accsResourceString =
await LitAccessControlConditionResource.generateLitActionResourceString(
await LitAccessControlConditionResource.generateResourceString(
accs,
encryptRes.dataToEncryptHash
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const testUseValidLitActionCodeGeneratedSessionSigsToEncryptDecryptString
}

const accsResourceString =
await LitAccessControlConditionResource.generateLitActionResourceString(
await LitAccessControlConditionResource.generateResourceString(
accs,
encryptRes.dataToEncryptHash
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const testUseValidLitActionCodeGeneratedSessionSigsToEncryptDecryptZip =
}

const accsResourceString =
await LitAccessControlConditionResource.generateLitActionResourceString(
await LitAccessControlConditionResource.generateResourceString(
accs,
encryptRes.dataToEncryptHash
);
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-helpers/src/lib/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class LitAccessControlConditionResource
* @param {string} dataToEncryptHash - The hash of the data to encrypt.
* @returns {Promise<string>} The composed resource string in the format 'hashedAccs/dataToEncryptHash'.
*/
public static async generateLitActionResourceString(
public static async generateResourceString(
accs: AccessControlConditions,
dataToEncryptHash: string
): Promise<string> {
Expand Down

0 comments on commit dce9581

Please sign in to comment.