tagworks-sdk-v1-react 1.1.8 → 1.1.9

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <img src="https://capsule-render.vercel.app/api?type=Waving&color=A2A4A2&height=150&section=header&text=TagWorks-SDK-React-Native&fontSize=45" />
2
2
 
3
- ![Generic badge](https://img.shields.io/badge/version-v1.1.3-green.svg)
3
+ ![Generic badge](https://img.shields.io/badge/version-v1.1.9-green.svg)
4
4
  ![Generic badge](https://img.shields.io/badge/license-ApacheLicense2.0-blue.svg)
5
5
  ![Generic badge](https://img.shields.io/badge/Platform-React_Native-red.svg)
6
6
  ![Generic badge](https://img.shields.io/badge/support-node.js-yellow.svg)
@@ -51,7 +51,7 @@ TagWorks SDK React Native Library
51
51
  - 해당 프로젝트의 루트 디렉토리에 설치
52
52
 
53
53
  ```sh
54
- npm install tagworks-sdk-v1-react
54
+ npm i tagworks-sdk-v1-react
55
55
  ```
56
56
 
57
57
  - iOS Dependency 설치
@@ -212,10 +212,10 @@ TagWorksModule.setCommonDimensionWithDouble(2, 30000.0);
212
212
 
213
213
  // 타입별로 index 키를 가지고 해당 값을 리턴
214
214
  // - return : String or Double
215
- TagWorksModule.getDimensionWithString(1, (value: any) => {
215
+ TagWorksModule.getCommonDimensionWithString(1, (value: any) => {
216
216
  console.log(value);
217
217
  });
218
- TagWorksModule.getDimensionWithDouble(2, (value: any) => {
218
+ TagWorksModule.getCommonDimensionWithDouble(2, (value: any) => {
219
219
  console.log(value);
220
220
  });
221
221
 
@@ -239,14 +239,14 @@ TagWorksModule.getCommonDimensionsOfArrayIndex((jsonString: any) => {
239
239
  //
240
240
 
241
241
  // 타입별 index 키를 가지고 삭제
242
- TagWorksModule.removeDimensionInGeneralType(1);
243
- TagWorksModule.removeDimensionInFactType(2);
242
+ TagWorksModule.removeCommonDimensionInGeneralType(1);
243
+ TagWorksModule.removeCommonDimensionInFactType(2);
244
244
 
245
245
  // 공용 Dimension 정보를 가지고 있는 Array의 Index를 이용해 삭제
246
246
  TagWorksModule.removeCommonDimensionWithArrayIndex(0);
247
247
 
248
248
  // 모든 공용 Dimension을 삭제
249
- TagWorksModule.removeAllDimension();
249
+ TagWorksModule.removeAllCommonDimension();
250
250
  ```
251
251
 
252
252
  <br/>
@@ -312,7 +312,7 @@ DataBundleModule.putString(DataBundleModule.EVENT_TAG_PARAM_TITLE, "계좌조회
312
312
  // 화면 경로
313
313
  DataBundleModule.putString(DataBundleModule.EVENT_TAG_PARAM_PAGE_PATH, "home/bank/계좌관리");
314
314
  // 검색어
315
- DataBundleModule.putString(DataBundleModule.EVENT_TAG_PARAM_KEYWORD, "search keywork!");
315
+ DataBundleModule.putString(DataBundleModule.EVENT_TAG_PARAM_KEYWORD, "search keyword!");
316
316
  // 사용자 정의 url
317
317
  DataBundleModule.putString(DataBundleModule.EVENT_TAG_PARAM_CUSTOM_PATH, "/bank/Account");
318
318
  ```
@@ -205,12 +205,12 @@ class TagWorksModule(reactContext: ReactApplicationContext):ReactContextBaseJava
205
205
  }
206
206
 
207
207
  @ReactMethod
208
- fun removeDimensionInGeneralType(index: Int) {
208
+ fun removeCommonDimensionInGeneralType(index: Int) {
209
209
  TagWorks.getInstance().removeCommonDimension(DimensionType.GENERAL_TYPE,index)
210
210
  }
211
211
 
212
212
  @ReactMethod
213
- fun removeDimensionInFactType(index: Int) {
213
+ fun removeCommonDimensionInFactType(index: Int) {
214
214
  TagWorks.getInstance().removeCommonDimension(DimensionType.FACT_TYPE,index)
215
215
  }
216
216
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tagworks-sdk-v1-react",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "TagWorks SDK React Native Library",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",