@pellux/goodvibes-contracts 0.18.3 → 0.30.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.
- package/README.md +13 -9
- package/artifacts/operator-contract.json +24370 -10474
- package/dist/generated/foundation-client-types.d.ts +106 -19
- package/dist/generated/foundation-client-types.d.ts.map +1 -1
- package/dist/generated/foundation-metadata.d.ts +3 -3
- package/dist/generated/foundation-metadata.js +3 -3
- package/dist/generated/operator-contract.d.ts.map +1 -1
- package/dist/generated/operator-contract.js +24370 -10474
- package/dist/generated/operator-method-ids.d.ts +1 -1
- package/dist/generated/operator-method-ids.d.ts.map +1 -1
- package/dist/generated/operator-method-ids.js +51 -0
- package/dist/generated/peer-contract.d.ts.map +1 -1
- package/dist/generated/runtime-event-domains.d.ts +1 -1
- package/dist/generated/runtime-event-domains.d.ts.map +1 -1
- package/dist/generated/runtime-event-domains.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -2
- package/dist/types.d.ts +6 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/zod-schemas/accounts.d.ts +81 -0
- package/dist/zod-schemas/accounts.d.ts.map +1 -0
- package/dist/zod-schemas/accounts.js +47 -0
- package/dist/zod-schemas/auth.d.ts +42 -0
- package/dist/zod-schemas/auth.d.ts.map +1 -0
- package/dist/zod-schemas/auth.js +29 -0
- package/dist/zod-schemas/events.d.ts +37 -0
- package/dist/zod-schemas/events.d.ts.map +1 -0
- package/dist/zod-schemas/events.js +26 -0
- package/dist/zod-schemas/index.d.ts +11 -0
- package/dist/zod-schemas/index.d.ts.map +1 -0
- package/dist/zod-schemas/index.js +5 -0
- package/dist/zod-schemas/providers.d.ts +271 -0
- package/dist/zod-schemas/providers.d.ts.map +1 -0
- package/dist/zod-schemas/providers.js +80 -0
- package/dist/zod-schemas/session.d.ts +22 -0
- package/dist/zod-schemas/session.d.ts.map +1 -0
- package/dist/zod-schemas/session.js +19 -0
- package/package.json +59 -1
package/README.md
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
# @pellux/goodvibes-contracts
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Internal workspace package backing `@pellux/goodvibes-sdk/contracts`.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Consumers should install `@pellux/goodvibes-sdk` and import this surface from the umbrella package.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
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.
|