@opendoor/partner-sdk-client-react 1.0.7-beta.61.1 → 1.0.7-beta.65.1

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.
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * Image manifest — maps imageId strings from the engine's flow definitions
3
- * to imgix-hosted CDN URLs for seller-score condition photos.
3
+ * to CDN URLs for seller-score condition photos.
4
4
  *
5
5
  * These are the same images used on opendoor.com's DTC flow (reception-fe).
6
6
  * Source: code/js/packages/reception-fe/src/helpers/flows/pages/roomCondition.ts
7
7
  *
8
- * Served via imgix with automatic format optimization, compression, and retina support.
8
+ * Served via Opendoor's Cloudflare image worker (images.opendoor.com),
9
+ * proxying to S3 (imgdrop-production).
9
10
  */
10
11
  export declare const IMAGE_MANIFEST: Record<string, string>;
11
12
  //# sourceMappingURL=imageManifest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"imageManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DtcOnboardingFlow/assets/imageManifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AASH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA4BjD,CAAC"}
1
+ {"version":3,"file":"imageManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DtcOnboardingFlow/assets/imageManifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AASH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA4BjD,CAAC"}
package/dist/index.js CHANGED
@@ -5339,21 +5339,21 @@ const ss = ({
5339
5339
  ]
5340
5340
  }
5341
5341
  );
5342
- }, go = "https://imgdrop.imgix.net", mo = "auto=format,compress&ch=Width,DPR&dpr=2&fit=max";
5343
- function ee(e) {
5344
- return `${go}/${e}?${mo}`;
5342
+ }, go = "https://images.opendoor.com/source/s3/imgdrop-production", mo = "service=reception-fe&dpr=2&fit=scale-down";
5343
+ function ee(e, r = "3:2-sm") {
5344
+ return `${go}/${e}?${mo}&preset=${r}`;
5345
5345
  }
5346
5346
  const Oo = {
5347
5347
  // Kitchen
5348
5348
  "kitchen-fixer_upper": ee("2023-04-1681772974083-61414.png"),
5349
5349
  "kitchen-dated": ee("2023-04-1681772974089-39460.png"),
5350
5350
  "kitchen-standard": ee("2023-04-1681772974093-51260.png"),
5351
- "kitchen-high_end": ee("2023-04-1682444345875-57331.jpeg"),
5352
- "kitchen-luxury": ee("2023-04-1682444629335-69661.jpeg"),
5351
+ "kitchen-high_end": ee("2023-04-1682444345875-57331.jpeg", "3:2-xl"),
5352
+ "kitchen-luxury": ee("2023-04-1682444629335-69661.jpeg", "3:2-xl"),
5353
5353
  // Bathroom
5354
5354
  "bathroom-fixer_upper": ee("2023-04-1682103091299-33543.jpeg"),
5355
5355
  "bathroom-dated": ee("2023-04-1681773104207-98555.png"),
5356
- "bathroom-standard": ee("2023-04-1682103088251-79730.jpeg"),
5356
+ "bathroom-standard": ee("2023-04-1682103088251-79730.jpeg", "3:2-xl"),
5357
5357
  "bathroom-high_end": ee("2023-04-1681773104214-77488.png"),
5358
5358
  "bathroom-luxury": ee("2023-04-1681773104217-27390.png"),
5359
5359
  // Living Room
@@ -5366,7 +5366,7 @@ const Oo = {
5366
5366
  "exterior-fixer_upper": ee("2023-04-1681773220493-46489.png"),
5367
5367
  "exterior-dated": ee("2023-04-1681773220495-22229.png"),
5368
5368
  "exterior-standard": ee("2023-04-1681773220498-64940.png"),
5369
- "exterior-high_end": ee("2023-04-1682103085417-24272.jpeg"),
5369
+ "exterior-high_end": ee("2023-04-1682103085417-24272.jpeg", "3:2-md"),
5370
5370
  "exterior-luxury": ee("2023-04-1681773220487-59852.png")
5371
5371
  }, So = ({ question: e }) => {
5372
5372
  var s;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendoor/partner-sdk-client-react",
3
- "version": "1.0.7-beta.61.1",
3
+ "version": "1.0.7-beta.65.1",
4
4
  "description": "React components for Opendoor partner integrations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,7 +17,6 @@
17
17
  ],
18
18
  "scripts": {
19
19
  "build": "tsc && vite build",
20
- "demo": "DEMO=true vite",
21
20
  "test": "jest",
22
21
  "test:watch": "jest --watch",
23
22
  "test:coverage": "jest --coverage",