@openlfcp/client 0.2.2 → 0.3.1

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.
Files changed (43) hide show
  1. package/dist/data-unit.d.ts +11 -0
  2. package/dist/data-unit.js +9 -0
  3. package/dist/identity/accept.d.ts +115 -0
  4. package/dist/identity/accept.js +335 -0
  5. package/dist/identity/context.d.ts +214 -0
  6. package/dist/identity/context.js +495 -0
  7. package/dist/identity/devices.d.ts +127 -0
  8. package/dist/identity/devices.js +221 -0
  9. package/dist/identity/document.d.ts +112 -0
  10. package/dist/identity/document.js +54 -0
  11. package/dist/identity/index.d.ts +17 -0
  12. package/dist/identity/index.js +17 -0
  13. package/dist/identity/journal.d.ts +139 -0
  14. package/dist/identity/journal.js +202 -0
  15. package/dist/identity/network.d.ts +88 -0
  16. package/dist/identity/network.js +243 -0
  17. package/dist/identity/pairing-request.d.ts +147 -0
  18. package/dist/identity/pairing-request.js +422 -0
  19. package/dist/identity/pairing.d.ts +225 -0
  20. package/dist/identity/pairing.js +624 -0
  21. package/dist/identity/phases.d.ts +75 -0
  22. package/dist/identity/phases.js +104 -0
  23. package/dist/identity/proof.d.ts +45 -0
  24. package/dist/identity/proof.js +71 -0
  25. package/dist/identity/reconcile.d.ts +73 -0
  26. package/dist/identity/reconcile.js +273 -0
  27. package/dist/identity/resource.d.ts +74 -0
  28. package/dist/identity/resource.js +201 -0
  29. package/dist/identity/revocation.d.ts +106 -0
  30. package/dist/identity/revocation.js +403 -0
  31. package/dist/identity/roster.d.ts +89 -0
  32. package/dist/identity/roster.js +130 -0
  33. package/dist/identity/rotation.d.ts +131 -0
  34. package/dist/identity/rotation.js +363 -0
  35. package/dist/index.d.ts +2 -1
  36. package/dist/index.js +2 -1
  37. package/dist/revoke.d.ts +8 -0
  38. package/dist/revoke.js +12 -8
  39. package/dist/storage.d.ts +18 -0
  40. package/dist/storage.js +26 -0
  41. package/dist/sync-client.d.ts +2 -0
  42. package/dist/sync-client.js +1 -0
  43. package/package.json +5 -5
@@ -26,6 +26,8 @@ export type RevokeAccessResult = {
26
26
  readonly recipients: readonly PrincipalId[];
27
27
  /** Grants this revoker may not revoke: the member keeps access through them. */
28
28
  readonly remainingPaths: readonly RemainingPath[];
29
+ /** The member lost read access but this client is not the rotator (IDENTITY-PROFILE-01 §8.1). */
30
+ readonly awaitingRotation: boolean;
29
31
  } | {
30
32
  readonly kind: "refused";
31
33
  /**
@@ -1444,6 +1444,7 @@ export class SyncClient {
1444
1444
  epoch: plan.rotation?.epoch ?? null,
1445
1445
  recipients: plan.recipients,
1446
1446
  remainingPaths: plan.remainingPaths,
1447
+ awaitingRotation: plan.awaitingRotation,
1447
1448
  });
1448
1449
  }
1449
1450
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openlfcp/client",
3
- "version": "0.2.2",
3
+ "version": "0.3.1",
4
4
  "description": "LFCP client: session, Control Plane and Data Plane synchronization.",
5
5
  "keywords": [
6
6
  "openlfcp",
@@ -42,9 +42,9 @@
42
42
  "tag": "latest"
43
43
  },
44
44
  "dependencies": {
45
- "@openlfcp/crypto": "^0.2.2",
46
- "@openlfcp/storage": "^0.2.2",
47
- "@openlfcp/wire": "^0.2.2",
48
- "@openlfcp/core": "^0.2.2"
45
+ "@openlfcp/core": "^0.3.1",
46
+ "@openlfcp/crypto": "^0.3.1",
47
+ "@openlfcp/storage": "^0.3.1",
48
+ "@openlfcp/wire": "^0.3.1"
49
49
  }
50
50
  }