@dxos/credentials 0.9.0 → 0.9.1-staging.ee54ba693a

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.
@@ -331,9 +331,9 @@ var CredentialGenerator = class {
331
331
  assertion: {
332
332
  "@type": "dxos.halo.credentials.SpaceMember",
333
333
  spaceKey,
334
- role: SpaceMember.Role.ADMIN,
335
- profile: creatorProfile,
336
- genesisFeedKey: controlKey
334
+ "role": SpaceMember.Role.ADMIN,
335
+ "profile": creatorProfile,
336
+ "genesisFeedKey": controlKey
337
337
  }
338
338
  }),
339
339
  await this.createFeedAdmission(spaceKey, controlKey, AdmittedFeed.Designation.CONTROL)
@@ -353,7 +353,7 @@ var CredentialGenerator = class {
353
353
  assertion: {
354
354
  "@type": "dxos.halo.credentials.SpaceMember",
355
355
  spaceKey,
356
- role: SpaceMember.Role.EDITOR,
356
+ "role": SpaceMember.Role.EDITOR,
357
357
  genesisFeedKey
358
358
  }
359
359
  }),
@@ -372,7 +372,7 @@ var CredentialGenerator = class {
372
372
  subject: deviceKey,
373
373
  assertion: {
374
374
  "@type": "dxos.halo.credentials.AuthorizedDevice",
375
- identityKey: this._identityKey,
375
+ "identityKey": this._identityKey,
376
376
  deviceKey
377
377
  }
378
378
  });
@@ -402,8 +402,8 @@ var CredentialGenerator = class {
402
402
  assertion: {
403
403
  "@type": "dxos.halo.credentials.AdmittedFeed",
404
404
  spaceKey,
405
- identityKey: this._identityKey,
406
- deviceKey: this._deviceKey,
405
+ "identityKey": this._identityKey,
406
+ "deviceKey": this._deviceKey,
407
407
  designation
408
408
  }
409
409
  });
@@ -426,8 +426,8 @@ var CredentialGenerator = class {
426
426
  subject: spaceKey,
427
427
  assertion: {
428
428
  "@type": "dxos.halo.credentials.Epoch",
429
- number: 0,
430
- timeframe: new Timeframe2()
429
+ "number": 0,
430
+ "timeframe": new Timeframe2()
431
431
  }
432
432
  });
433
433
  }
@@ -460,7 +460,7 @@ var createAdmissionCredentials = async (signer, identityKey, spaceKey, genesisFe
460
460
  profile,
461
461
  genesisFeedKey,
462
462
  invitationCredentialId,
463
- tags: tags ?? []
463
+ "tags": tags ?? []
464
464
  }
465
465
  })
466
466
  ]);
@@ -475,13 +475,13 @@ var createDelegatedSpaceInvitationCredential = async (signer, subject, invitatio
475
475
  subject,
476
476
  assertion: {
477
477
  "@type": "dxos.halo.invitations.DelegateSpaceInvitation",
478
- invitationId: invitation.invitationId,
479
- authMethod: invitation.authMethod,
480
- swarmKey: invitation.swarmKey,
481
- role: invitation.role,
482
- guestKey: invitation.guestKey,
483
- expiresOn: invitation.expiresOn,
484
- multiUse: invitation.multiUse
478
+ "invitationId": invitation.invitationId,
479
+ "authMethod": invitation.authMethod,
480
+ "swarmKey": invitation.swarmKey,
481
+ "role": invitation.role,
482
+ "guestKey": invitation.guestKey,
483
+ "expiresOn": invitation.expiresOn,
484
+ "multiUse": invitation.multiUse
485
485
  }
486
486
  });
487
487
  return {
@@ -495,7 +495,7 @@ var createCancelDelegatedSpaceInvitationCredential = async (signer, subject, inv
495
495
  subject,
496
496
  assertion: {
497
497
  "@type": "dxos.halo.invitations.CancelDelegatedInvitation",
498
- credentialId: invitationCredentialId
498
+ "credentialId": invitationCredentialId
499
499
  }
500
500
  });
501
501
  return {