@pellux/goodvibes-contracts 0.18.3 → 0.30.0

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 (39) hide show
  1. package/README.md +13 -9
  2. package/artifacts/operator-contract.json +24370 -10474
  3. package/dist/generated/foundation-client-types.d.ts +106 -19
  4. package/dist/generated/foundation-client-types.d.ts.map +1 -1
  5. package/dist/generated/foundation-metadata.d.ts +3 -3
  6. package/dist/generated/foundation-metadata.js +3 -3
  7. package/dist/generated/operator-contract.d.ts.map +1 -1
  8. package/dist/generated/operator-contract.js +24370 -10474
  9. package/dist/generated/operator-method-ids.d.ts +1 -1
  10. package/dist/generated/operator-method-ids.d.ts.map +1 -1
  11. package/dist/generated/operator-method-ids.js +51 -0
  12. package/dist/generated/peer-contract.d.ts.map +1 -1
  13. package/dist/generated/runtime-event-domains.d.ts +1 -1
  14. package/dist/generated/runtime-event-domains.d.ts.map +1 -1
  15. package/dist/generated/runtime-event-domains.js +1 -0
  16. package/dist/index.d.ts +1 -0
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +6 -2
  19. package/dist/types.d.ts +6 -3
  20. package/dist/types.d.ts.map +1 -1
  21. package/dist/zod-schemas/accounts.d.ts +81 -0
  22. package/dist/zod-schemas/accounts.d.ts.map +1 -0
  23. package/dist/zod-schemas/accounts.js +47 -0
  24. package/dist/zod-schemas/auth.d.ts +42 -0
  25. package/dist/zod-schemas/auth.d.ts.map +1 -0
  26. package/dist/zod-schemas/auth.js +29 -0
  27. package/dist/zod-schemas/events.d.ts +37 -0
  28. package/dist/zod-schemas/events.d.ts.map +1 -0
  29. package/dist/zod-schemas/events.js +26 -0
  30. package/dist/zod-schemas/index.d.ts +11 -0
  31. package/dist/zod-schemas/index.d.ts.map +1 -0
  32. package/dist/zod-schemas/index.js +5 -0
  33. package/dist/zod-schemas/providers.d.ts +271 -0
  34. package/dist/zod-schemas/providers.d.ts.map +1 -0
  35. package/dist/zod-schemas/providers.js +80 -0
  36. package/dist/zod-schemas/session.d.ts +22 -0
  37. package/dist/zod-schemas/session.d.ts.map +1 -0
  38. package/dist/zod-schemas/session.js +19 -0
  39. package/package.json +59 -1
package/README.md CHANGED
@@ -1,14 +1,20 @@
1
1
  # @pellux/goodvibes-contracts
2
2
 
3
- Runtime-neutral GoodVibes contract artifacts, ids, and generated typed request/response/event maps.
3
+ Internal workspace package backing `@pellux/goodvibes-sdk/contracts`.
4
4
 
5
- Install:
5
+ Consumers should install `@pellux/goodvibes-sdk` and import this surface from the umbrella package.
6
6
 
7
- ```bash
8
- npm install @pellux/goodvibes-contracts
7
+ Consumer import:
8
+
9
+ ```ts
10
+ import {
11
+ getOperatorContract,
12
+ getOperatorMethod,
13
+ type OperatorMethodOutput,
14
+ } from '@pellux/goodvibes-sdk/contracts';
9
15
  ```
10
16
 
11
- Use this package for:
17
+ This surface provides:
12
18
  - operator contract lookup
13
19
  - peer contract lookup
14
20
  - operator method ids
@@ -23,7 +29,7 @@ import {
23
29
  getOperatorContract,
24
30
  getOperatorMethod,
25
31
  type OperatorMethodOutput,
26
- } from '@pellux/goodvibes-contracts';
32
+ } from '@pellux/goodvibes-sdk/contracts';
27
33
 
28
34
  const contract = getOperatorContract();
29
35
  const loginMethod = getOperatorMethod('control.auth.login');
@@ -33,7 +39,5 @@ type LoginOutput = OperatorMethodOutput<'control.auth.login'>;
33
39
  Node-only artifact path helpers:
34
40
 
35
41
  ```ts
36
- import { getOperatorContractPath } from '@pellux/goodvibes-contracts/node';
42
+ import { getOperatorContractPath } from '@pellux/goodvibes-sdk/contracts/node';
37
43
  ```
38
-
39
- Use `@pellux/goodvibes-contracts` when you are building typed tooling, custom clients, or daemon hosts against the GoodVibes platform contracts.