@postgres.ai/shared 4.0.1-pr-1056.1 → 4.0.1-pr-1054.2

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