@highstate/contract 0.4.2 → 0.4.4

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/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { TString, TNumber, TBoolean, TArray, TUnion, TLiteral, TRecordOrObject, TAny, Static, TSchema, TAnySchema, TObject, TOptional } from '@sinclair/typebox';
2
+ export { Static, Type } from '@sinclair/typebox';
2
3
 
3
4
  type InstanceInput<TType extends string = string> = {
4
5
  type: TType;
@@ -217,7 +218,7 @@ declare function defineComponent<TArgs extends Record<string, ComponentArgumentO
217
218
  declare function isComponent(value: unknown): value is Component;
218
219
 
219
220
  type UnitOptions<TArgs extends Record<string, ComponentArgumentOptions>, TInputs extends Record<string, ComponentInputOptions>, TOutputs extends Record<string, ComponentInputOptions>, TSecrets extends Record<string, ComponentArgumentOptions>> = Omit<ComponentOptions<TArgs, TInputs, TOutputs>, "create"> & {
220
- source: UnitSource;
221
+ source?: UnitSource;
221
222
  secrets?: TSecrets;
222
223
  };
223
224
  type UnitSource = {
package/dist/index.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import { OptionalKind } from '@sinclair/typebox';
2
+ export { Type } from '@sinclair/typebox';
2
3
  import { mapValues } from 'remeda';
3
4
 
4
5
  function getInstanceId(instanceType, instanceName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@highstate/contract",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "type": "module",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -29,5 +29,5 @@
29
29
  "pkgroll": "^2.5.1",
30
30
  "vitest": "^2.1.8"
31
31
  },
32
- "gitHead": "e88c7c588267cf028c054f694d402902dc057919"
32
+ "gitHead": "58a1b969cca5dad233f885f2e67185a0384ea1aa"
33
33
  }