tagworks-sdk-v1-react 1.1.4 → 1.1.6

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.
@@ -48,6 +48,7 @@ class TagWorksModule: NSObject, RCTBridgeModule {
48
48
  sessionTimeOut: sessionTimeOut,
49
49
  // userAgent: userAgent,
50
50
  userAgent: nil,
51
+ isManualDispatch: isManualDispatch,
51
52
  appVersion: appVersion,
52
53
  appName: appName)
53
54
  }
@@ -162,7 +163,7 @@ class TagWorksModule: NSObject, RCTBridgeModule {
162
163
  @objc func getCommonDimensionWithDouble(_ index: Int, callback: @escaping RCTResponseSenderBlock) {
163
164
  let dimension = TagWorks.sharedInstance.getCommonDimension(WithType: Dimension.factType, index: index)
164
165
  if let dimension {
165
- callback([dimension.value])
166
+ callback([dimension.numValue])
166
167
  } else {
167
168
  callback([])
168
169
  }
@@ -23,7 +23,7 @@ var _reactNative = require("react-native");
23
23
  // },
24
24
  // }
25
25
  // );
26
- //
26
+ //
27
27
  // export function multiply(a: number, b: number): Promise<number> {
28
28
  // return TagworksSdkV1.multiply(a, b);
29
29
  // }
@@ -19,7 +19,7 @@ import { NativeModules } from 'react-native';
19
19
  // },
20
20
  // }
21
21
  // );
22
- //
22
+ //
23
23
  // export function multiply(a: number, b: number): Promise<number> {
24
24
  // return TagworksSdkV1.multiply(a, b);
25
25
  // }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tagworks-sdk-v1-react",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "TagWorks SDK React Native Library",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -64,14 +64,11 @@
64
64
  "registry": "https://registry.npmjs.org/"
65
65
  },
66
66
  "devDependencies": {
67
- "@commitlint/config-conventional": "^17.0.2",
68
- "@evilmartians/lefthook": "^1.5.0",
69
67
  "@react-native-community/cli": "15.0.1",
70
68
  "@react-native/eslint-config": "^0.73.1",
71
69
  "@release-it/conventional-changelog": "^9.0.2",
72
70
  "@types/jest": "^29.5.5",
73
71
  "@types/react": "^18.2.44",
74
- "commitlint": "^17.0.2",
75
72
  "del-cli": "^5.1.0",
76
73
  "eslint": "^8.51.0",
77
74
  "eslint-config-prettier": "^9.0.0",
@@ -103,11 +100,6 @@
103
100
  "<rootDir>/lib/"
104
101
  ]
105
102
  },
106
- "commitlint": {
107
- "extends": [
108
- "@commitlint/config-conventional"
109
- ]
110
- },
111
103
  "release-it": {
112
104
  "git": {
113
105
  "commitMessage": "chore: release ${version}",
@@ -132,17 +124,7 @@
132
124
  "prettier"
133
125
  ],
134
126
  "rules": {
135
- "react/react-in-jsx-scope": "off",
136
- "prettier/prettier": [
137
- "error",
138
- {
139
- "quoteProps": "consistent",
140
- "singleQuote": true,
141
- "tabWidth": 2,
142
- "trailingComma": "es5",
143
- "useTabs": false
144
- }
145
- ]
127
+ "react/react-in-jsx-scope": "off"
146
128
  }
147
129
  },
148
130
  "eslintIgnore": [
package/src/index.tsx CHANGED
@@ -17,10 +17,10 @@ import { NativeModules } from 'react-native';
17
17
  // },
18
18
  // }
19
19
  // );
20
- //
20
+ //
21
21
  // export function multiply(a: number, b: number): Promise<number> {
22
22
  // return TagworksSdkV1.multiply(a, b);
23
23
  // }
24
24
 
25
25
  const { TagWorksModule, DataBundleModule, StandardEventModule } = NativeModules;
26
- export { TagWorksModule, DataBundleModule, StandardEventModule };
26
+ export { TagWorksModule, DataBundleModule, StandardEventModule };