@cooperation/vc-storage 1.0.30 → 1.0.31

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.
@@ -244,12 +244,11 @@ export class CredentialEngine {
244
244
  * @param {string} email - The email address to create the VC for
245
245
  * @returns {Promise<{signedVC: any, fileId: string}>} The signed VC and its Google Drive file ID
246
246
  */
247
- async generateAndSignEmailVC(email) {
247
+ async generateAndSignEmailVC(email, encodedSeed) {
248
248
  try {
249
249
  let keyPair;
250
250
  let didDocument;
251
251
  // Require SEED from environment
252
- const encodedSeed = process.env.SEED;
253
252
  if (!encodedSeed) {
254
253
  throw new Error('SEED environment variable not set. Cannot generate or use any DID.');
255
254
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cooperation/vc-storage",
3
3
  "type": "module",
4
- "version": "1.0.30",
4
+ "version": "1.0.31",
5
5
  "description": "Sign and store your verifiable credentials.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/types/index.d.ts",