@atlaspack/types-internal 2.14.7 → 2.14.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaspack/types-internal
2
2
 
3
+ ## 2.14.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#595](https://github.com/atlassian-labs/atlaspack/pull/595) [`51aba5f`](https://github.com/atlassian-labs/atlaspack/commit/51aba5fc0e49235ee06bbc3c376f48c3e7da5c4b) Thanks [@yamadapc](https://github.com/yamadapc)! - Add bundleId to write bundle request results
8
+
3
9
  ## 2.14.7
4
10
 
5
11
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -937,16 +937,17 @@ export interface Config {
937
937
  */
938
938
  getConfigFrom<T>(searchPath: FilePath, filePaths: Array<FilePath>, options?: {
939
939
  /**
940
- * @deprecated Use `configKey` instead.
940
+ * @deprecated Use `readTracking` instead.
941
941
  */
942
942
  packageKey?: string;
943
943
  parse?: boolean;
944
944
  exclude?: boolean;
945
945
  } | {
946
946
  /**
947
- * If specified, only invalidate when this config key changes.
947
+ * If specified, this function will return a proxy object that will track reads to
948
+ * config fields and only register invalidations for when those keys change.
948
949
  */
949
- configKey?: string;
950
+ readTracking?: boolean;
950
951
  }): Promise<ConfigResultWithFilePath<T> | null | undefined>;
951
952
 
952
953
  /** Finds the nearest package.json from the config's searchPath. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/types-internal",
3
- "version": "2.14.7",
3
+ "version": "2.14.8",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "main": "src/index.js",
6
6
  "types": "lib/index.d.ts",
package/src/index.js CHANGED
@@ -978,7 +978,7 @@ export interface Config {
978
978
  options?:
979
979
  | {|
980
980
  /**
981
- * @deprecated Use `configKey` instead.
981
+ * @deprecated Use `readTracking` instead.
982
982
  */
983
983
  packageKey?: string,
984
984
  parse?: boolean,
@@ -986,9 +986,10 @@ export interface Config {
986
986
  |}
987
987
  | {|
988
988
  /**
989
- * If specified, only invalidate when this config key changes.
989
+ * If specified, this function will return a proxy object that will track reads to
990
+ * config fields and only register invalidations for when those keys change.
990
991
  */
991
- configKey?: string,
992
+ readTracking?: boolean,
992
993
  |},
993
994
  ): Promise<?ConfigResultWithFilePath<T>>;
994
995
  /** Finds the nearest package.json from the config's searchPath. */