🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

react-naver-maps

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-naver-maps - npm Package Compare versions

Comparing version

to
0.1.4

# react-naver-maps
## 0.1.4
### Patch Changes
- b8ae0a7: 신규 client key 이름 ncpKeyId를 사용가능하도록 업데이트
## 0.1.3

@@ -4,0 +10,0 @@

@@ -199,5 +199,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -204,0 +204,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

@@ -67,5 +67,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -72,0 +72,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

@@ -161,5 +161,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -166,0 +166,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

@@ -174,5 +174,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -179,0 +179,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

@@ -174,5 +174,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -179,0 +179,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

@@ -174,5 +174,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -179,0 +179,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

@@ -174,5 +174,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -179,0 +179,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

@@ -176,5 +176,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -181,0 +181,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

@@ -174,5 +174,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -179,0 +179,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

@@ -174,5 +174,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -179,0 +179,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

@@ -174,5 +174,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -179,0 +179,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

@@ -0,4 +1,13 @@

declare type CommonOptions = {
submodules?: string[];
/**
* ncpKeyId로 대체됨
* */
ncpKeyId: string;
};
/** @deprecated */
declare type NcpOptions = {
submodules?: string[];
/**
* @deprecated ncpKeyId로 대체
* ncpClientId, govClientId, finClientId 중 선택

@@ -8,5 +17,7 @@ */

};
/** @deprecated */
declare type GovOptions = {
submodules?: string[];
/**
* @deprecated ncpKeyId로 대체
* ncpClientId, govClientId, finClientId 중 선택

@@ -16,5 +27,7 @@ */

};
/** @deprecated */
declare type finOptions = {
submodules?: string[];
/**
* @deprecated ncpKeyId로 대체
* ncpClientId, govClientId, finClientId 중 선택

@@ -24,4 +37,4 @@ */

};
declare type ClientOptions = NcpOptions | GovOptions | finOptions;
declare type ClientOptions = CommonOptions | NcpOptions | GovOptions | finOptions;
export { ClientOptions, GovOptions, NcpOptions, finOptions };
export { ClientOptions, CommonOptions, GovOptions, NcpOptions, finOptions };

@@ -74,5 +74,5 @@ "use strict";

const submodules = options.submodules;
const clientIdQuery = "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
const clientIdQuery = "ncpKeyId" in options ? `ncpKeyId=${options.ncpKeyId}` : "ncpClientId" in options ? `ncpClientId=${options.ncpClientId}` : "govClientId" in options ? `govClientId=${options.govClientId}` : "finClientId" in options ? `finClientId=${options.finClientId}` : void 0;
if (!clientIdQuery) {
throw new Error("react-naver-maps: ncpClientId, govClientId or finClientId is required");
throw new Error("react-naver-maps: ncpKeyId, ncpClientId, govClientId or finClientId is required");
}

@@ -79,0 +79,0 @@ let url = `https://oapi.map.naver.com/openapi/v3/maps.js?${clientIdQuery}`;

{
"name": "react-naver-maps",
"version": "0.1.3",
"version": "0.1.4",
"description": "React Navermaps API integration for modern development.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -0,5 +1,14 @@

export type CommonOptions = {
submodules?: string[];
/**
* ncpKeyId로 대체됨
* */
ncpKeyId: string;
};
/** @deprecated */
export type NcpOptions = {
submodules?: string[];
/**
* @deprecated ncpKeyId로 대체
* ncpClientId, govClientId, finClientId 중 선택

@@ -10,5 +19,7 @@ */

/** @deprecated */
export type GovOptions = {
submodules?: string[];
/**
* @deprecated ncpKeyId로 대체
* ncpClientId, govClientId, finClientId 중 선택

@@ -19,5 +30,7 @@ */

/** @deprecated */
export type finOptions = {
submodules?: string[];
/**
* @deprecated ncpKeyId로 대체
* ncpClientId, govClientId, finClientId 중 선택

@@ -28,2 +41,2 @@ */

export type ClientOptions = NcpOptions | GovOptions | finOptions;
export type ClientOptions = CommonOptions | NcpOptions | GovOptions | finOptions;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet