@postgres.ai/shared 4.0.1-pr-1054.11 → 4.0.1-pr-1060

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postgres.ai/shared",
3
- "version": "4.0.1-pr-1054.11",
3
+ "version": "4.0.1-pr-1060",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "peerDependencies": {
@@ -15,6 +15,7 @@ const dockerImagesConfig = {
15
15
  '15': ['0.5.3', '0.5.2', '0.5.1'],
16
16
  '16': ['0.5.3', '0.5.2', '0.5.1'],
17
17
  '17': ['0.5.3', '0.5.2', '0.5.1'],
18
+ '18': ['0.6.1'],
18
19
  };
19
20
  export const uniqueChipValue = (values) => {
20
21
  const splitChipArray = values.split(/[,(\s)(\n)(\r)(\t)(\r\n)]/);
@@ -119,7 +120,7 @@ export const postUniqueCustomOptions = (options) => {
119
120
  };
120
121
  export const customOrGenericImage = (dockerImage) => dockerImage === 'Generic Postgres' || dockerImage === 'custom';
121
122
  export const createFallbackDockerImage = (dockerPath, dockerTag) => {
122
- const majorVersion = getImageMajorVersion(dockerPath) || '17'; // Default to 17 if version can't be extracted
123
+ const majorVersion = getImageMajorVersion(dockerPath) || '18'; // Default to 18 if version can't be extracted
123
124
  return {
124
125
  package_group: 'postgresai',
125
126
  pg_major_version: majorVersion,