@plasmicapp/loader-react 1.0.157 → 1.0.160

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/loader.d.ts CHANGED
@@ -89,6 +89,7 @@ export declare class InternalPlasmicComponentLoader {
89
89
  updateKnownValue: (key: string, value: string) => void;
90
90
  }): Promise<Record<string, string>>;
91
91
  getTeamIds(): string[];
92
+ getProjectIds(): string[];
92
93
  trackRender(opts?: TrackRenderOptions): void;
93
94
  private fetchAllData;
94
95
  private mergeBundle;
package/dist/utils.d.ts CHANGED
@@ -10,3 +10,4 @@ export declare function useStableLookupSpecs(...specs: ComponentLookupSpec[]): C
10
10
  export declare function useIsMounted(): () => boolean;
11
11
  export declare function getCompMetas(metas: ComponentMeta[], lookup: ComponentLookupSpec): ComponentMeta[];
12
12
  export declare function getLookupSpecName(lookup: ComponentLookupSpec): string;
13
+ export declare function uniq<T>(elements: T[]): T[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/loader-react",
3
- "version": "1.0.157",
3
+ "version": "1.0.160",
4
4
  "module": "dist/loader-react.esm.js",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -22,9 +22,9 @@
22
22
  "analyze": "size-limit --why"
23
23
  },
24
24
  "dependencies": {
25
- "@plasmicapp/host": "1.0.71",
26
- "@plasmicapp/loader-core": "1.0.77",
27
- "@plasmicapp/loader-splits": "1.0.12",
25
+ "@plasmicapp/host": "1.0.72",
26
+ "@plasmicapp/loader-core": "1.0.79",
27
+ "@plasmicapp/loader-splits": "1.0.14",
28
28
  "@plasmicapp/query": "0.1.53",
29
29
  "pascalcase": "^1.0.0",
30
30
  "react-is": "^17.0.2",
@@ -74,5 +74,5 @@
74
74
  "typescript": "^4.3.2"
75
75
  },
76
76
  "license": "MIT",
77
- "gitHead": "7e9a3e4653cd33c85a6c072f8f90315197f11108"
77
+ "gitHead": "59e29871e57dcc6ae6d4f08ddded0a43f0290e79"
78
78
  }