@opendoor/partner-sdk-client-js-core 0.0.1-alpha.43.1 → 1.0.1-beta.45.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.
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export type OpendoorEnvironment = 'staging' | 'production';
|
|
|
26
26
|
*
|
|
27
27
|
* @param baseURL - Base URL of the partner's BFF server (e.g., '/api/opendoor')
|
|
28
28
|
* @param timeout - Request timeout in milliseconds. Defaults to 30000.
|
|
29
|
-
* @param environment - Target environment. Defaults to 'production'.
|
|
29
|
+
* @param environment - Target environment. Defaults to 'staging'. Set to 'production' when ready.
|
|
30
30
|
* @param endpoints - Override default endpoint paths.
|
|
31
31
|
*/
|
|
32
32
|
export interface OpendoorClientConfig {
|
package/dist/client.js
CHANGED
|
@@ -44,7 +44,7 @@ export class OpendoorClient {
|
|
|
44
44
|
// Strip trailing slash from baseURL
|
|
45
45
|
this.baseURL = config.baseURL.replace(/\/+$/, '');
|
|
46
46
|
this.timeout = config.timeout ?? DEFAULT_TIMEOUT;
|
|
47
|
-
this.environment = config.environment ?? '
|
|
47
|
+
this.environment = config.environment ?? 'staging';
|
|
48
48
|
this.endpoints = {
|
|
49
49
|
...DEFAULT_ENDPOINTS,
|
|
50
50
|
...config.endpoints,
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
*/
|
|
9
|
-
export declare const VERSION = "0.
|
|
9
|
+
export declare const VERSION = "1.0.0";
|
|
10
10
|
export { OpendoorClient } from './client.js';
|
|
11
11
|
export type { OpendoorClientConfig, OpendoorEnvironment } from './client.js';
|
|
12
12
|
export type { Address, AddressSuggestionsResponse, CreateOfferRequest, CreateOfferResponse, UpdateOfferRequest, UpdateOfferResponse, GetOfferResponse, GetOfferWithPricingResponse, OfferData, OfferDataWithPricing, DenialInfo, OfferStatus, ExperimentalQuestionAnswer, AddressUnitCheckResponse, GetAssessmentSlotsRequest, GetAssessmentSlotsResponse, GetHomeDetailRequest, GetHomeDetailResponse, } from './types.js';
|
package/dist/index.js
CHANGED
package/package.json
CHANGED