@booker25/sdk
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,2 +0,2 @@ | ||
import { Enviroment } from '..'; | ||
import { Enviroment } from '../index'; | ||
import { SFResource } from '../s-objects/resource'; | ||
@@ -3,0 +3,0 @@ import AvailabilityTimeSlotResponse from './availability-reponse'; |
@@ -12,3 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const __1 = require(".."); | ||
const index_1 = require("../index"); | ||
const salesforce_utils_1 = require("../utils/salesforce-utils"); | ||
@@ -21,12 +21,12 @@ const availability_reponse_1 = require("./availability-reponse"); | ||
switch (enviroment) { | ||
case __1.Enviroment.DEVELOP: | ||
case index_1.Enviroment.DEVELOP: | ||
this.baseUrl = 'https://dev.api.booker25.com/api/v3/proxy/'; | ||
break; | ||
case __1.Enviroment.ACCEPTANCE: | ||
case index_1.Enviroment.ACCEPTANCE: | ||
this.baseUrl = 'https://acc.api.booker25.com/api/v3/proxy/'; | ||
break; | ||
case __1.Enviroment.STAGING: | ||
case index_1.Enviroment.STAGING: | ||
this.baseUrl = 'https://staging.api.booker25.com/api/v3/proxy/'; | ||
break; | ||
case __1.Enviroment.PRODUCTION: | ||
case index_1.Enviroment.PRODUCTION: | ||
this.baseUrl = 'https://api.booker25.com/api/v3/proxy/'; | ||
@@ -33,0 +33,0 @@ break; |
@@ -145,3 +145,3 @@ "use strict"; | ||
} | ||
Booker25.version = '0.0.2'; | ||
Booker25.version = '0.0.3'; | ||
exports.default = Booker25; |
@@ -1,2 +0,2 @@ | ||
import { Enviroment } from '..'; | ||
import { Enviroment } from '../index'; | ||
import { SFResource } from '../s-objects/resource'; | ||
@@ -3,0 +3,0 @@ import AvailabilityTimeSlotResponse from './availability-reponse'; |
@@ -1,2 +0,2 @@ | ||
import { Enviroment } from '..'; | ||
import { Enviroment } from '../index'; | ||
import { isSalesforceId } from '../utils/salesforce-utils'; | ||
@@ -3,0 +3,0 @@ import AvailabilityTimeSlotResponse from './availability-reponse'; |
@@ -128,4 +128,4 @@ import Booker25API from './api/booker25-api-requests'; | ||
} | ||
Booker25.version = '0.0.2'; | ||
Booker25.version = '0.0.3'; | ||
export { Enviroment }; | ||
export default Booker25; |
{ | ||
"name": "@booker25/sdk", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Package allowing for the easy use of Booker25 APIs.", | ||
@@ -5,0 +5,0 @@ "keywords": ["Booker25"], |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
149675
12