Comparing version 0.2.1 to 0.2.2
import { default as OneMap } from './OneMap'; | ||
export default OneMap; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Auth, Search, Common, Convert, Theme, Planning, Population, Route, StaticMap } from './services'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const services_1 = require("./services"); | ||
class OneMap { | ||
constructor(credential) { | ||
this.credential = credential; | ||
this.auth = new services_1.Auth(this); | ||
this.search = new services_1.Search(this); | ||
this.common = new services_1.Common(this); | ||
this.convert = new services_1.Convert(this); | ||
this.theme = new services_1.Theme(this); | ||
this.planning = new services_1.Planning(this); | ||
this.population = new services_1.Population(this); | ||
this.route = new services_1.Route(this); | ||
this.staticMap = new services_1.StaticMap(this); | ||
let OneMap = /** @class */ (() => { | ||
class OneMap { | ||
constructor(credential) { | ||
this.credential = credential; | ||
this.auth = new services_1.Auth(this); | ||
this.search = new services_1.Search(this); | ||
this.common = new services_1.Common(this); | ||
this.convert = new services_1.Convert(this); | ||
this.theme = new services_1.Theme(this); | ||
this.planning = new services_1.Planning(this); | ||
this.population = new services_1.Population(this); | ||
this.route = new services_1.Route(this); | ||
this.staticMap = new services_1.StaticMap(this); | ||
} | ||
} | ||
} | ||
OneMap.BASE_URL = 'https://developers.onemap.sg'; | ||
return OneMap; | ||
})(); | ||
exports.default = OneMap; | ||
OneMap.BASE_URL = 'https://developers.onemap.sg'; |
@@ -0,0 +0,0 @@ import OneMap from '..'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import OneMap from '..'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import OneMap from '..'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export { default as Service } from './Service'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var Service_1 = require("./Service"); | ||
exports.Service = Service_1.default; | ||
Object.defineProperty(exports, "Service", { enumerable: true, get: function () { return Service_1.default; } }); | ||
var Auth_1 = require("./Auth"); | ||
exports.Auth = Auth_1.default; | ||
Object.defineProperty(exports, "Auth", { enumerable: true, get: function () { return Auth_1.default; } }); | ||
var Search_1 = require("./Search"); | ||
exports.Search = Search_1.default; | ||
Object.defineProperty(exports, "Search", { enumerable: true, get: function () { return Search_1.default; } }); | ||
var Common_1 = require("./Common"); | ||
exports.Common = Common_1.default; | ||
Object.defineProperty(exports, "Common", { enumerable: true, get: function () { return Common_1.default; } }); | ||
var Convert_1 = require("./Convert"); | ||
exports.Convert = Convert_1.default; | ||
Object.defineProperty(exports, "Convert", { enumerable: true, get: function () { return Convert_1.default; } }); | ||
var Theme_1 = require("./Theme"); | ||
exports.Theme = Theme_1.default; | ||
Object.defineProperty(exports, "Theme", { enumerable: true, get: function () { return Theme_1.default; } }); | ||
var Planning_1 = require("./Planning"); | ||
exports.Planning = Planning_1.default; | ||
Object.defineProperty(exports, "Planning", { enumerable: true, get: function () { return Planning_1.default; } }); | ||
var Population_1 = require("./Population"); | ||
exports.Population = Population_1.default; | ||
Object.defineProperty(exports, "Population", { enumerable: true, get: function () { return Population_1.default; } }); | ||
var Route_1 = require("./Route"); | ||
exports.Route = Route_1.default; | ||
Object.defineProperty(exports, "Route", { enumerable: true, get: function () { return Route_1.default; } }); | ||
var StaticMap_1 = require("./StaticMap"); | ||
exports.StaticMap = StaticMap_1.default; | ||
Object.defineProperty(exports, "StaticMap", { enumerable: true, get: function () { return StaticMap_1.default; } }); |
@@ -0,0 +0,0 @@ import OneMap from '..'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import OneMap from '..'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import OneMap from '..'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import OneMap from '..'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import OneMap from '..'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import OneMap from '..'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import OneMap from '..'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare type Coordinates = [number, number]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "onemapsg", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"author": "Chang Zhe Jiet", | ||
@@ -43,9 +43,9 @@ "description": "Helper library for using OneMap APIs.", | ||
"@typescript-eslint/parser": "^2.31.0", | ||
"del-cli": "^3.0.0", | ||
"del-cli": "^3.0.1", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-import": "^2.20.2", | ||
"jest": "^25.5.4", | ||
"ts-jest": "^25.4.0", | ||
"ts-node": "^8.6.2", | ||
"typescript": "^3.8.2" | ||
"ts-jest": "^25.5.1", | ||
"ts-node": "^8.10.1", | ||
"typescript": "^3.9.2" | ||
}, | ||
@@ -52,0 +52,0 @@ "jest": { |
@@ -5,3 +5,2 @@ # **onemapsg** | ||
[![npm downloads](https://img.shields.io/npm/dt/onemapsg)](https://www.npmjs.com/package/onemapsg) | ||
[![npm dependencies](https://img.shields.io/librariesio/release/npm/onemapsg)](https://www.npmjs.com/package/onemapsg) | ||
[![GitHub issues](https://img.shields.io/github/issues/ahzhezhe/onemapsg)](https://github.com/ahzhezhe/onemapsg) | ||
@@ -8,0 +7,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1102
42248
32