@threekit-tools/treble 0.0.60-next.1 → 0.0.61

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.
@@ -36,11 +36,11 @@ export interface IFormComponentProps<T extends IOptionShared | undefined> extend
36
36
  export interface IFormComponent<P> extends FunctionComponent<P> {
37
37
  compatibleAttributes: Set<string>;
38
38
  }
39
- interface IhydrateAttributeConfig {
39
+ interface IHydrateAttributeConfig {
40
40
  metadataKeys: MetadataKeys;
41
41
  sort?: string;
42
42
  }
43
- export declare const hydrateAttributeForComponent: (attribute: IHydratedAttribute, config: IhydrateAttributeConfig) => {
43
+ export declare const hydrateAttributeForComponent: (attribute: IHydratedAttribute, config: IHydrateAttributeConfig) => {
44
44
  selected: string | number | import("../../threekit").IConfigurationAsset | import("../../threekit").IConfigurationColor;
45
45
  options: {
46
46
  name: string;
@@ -63,7 +63,7 @@ var useNestedConfigurator = function (address) {
63
63
  setAttributes(updatedAttrs);
64
64
  })();
65
65
  }, [hasInitialized, address, playerLoading]);
66
- if (!hasInitialized || !attributes)
66
+ if (!hasInitialized || !configurator.current || !attributes)
67
67
  return [undefined, undefined];
68
68
  var handleSelect = function (config) { return __awaiter(void 0, void 0, void 0, function () {
69
69
  var updatedAttrs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threekit-tools/treble",
3
- "version": "0.0.60-next.1",
3
+ "version": "0.0.61",
4
4
  "author": "Amaan Saeed",
5
5
  "license": "MIT",
6
6
  "files": [