freerasp-react-native 3.6.0 → 3.7.0
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/CHANGELOG.md +180 -0
- package/README.md +35 -1
- package/android/build.gradle +1 -1
- package/app.plugin.js +1 -0
- package/bootstrap.js +29 -0
- package/example/package.json +1 -1
- package/ios/TalsecRuntime.xcframework/Info.plist +5 -5
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources +923 -0
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +369 -165
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +9 -7
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h +11 -9
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/header.h +74 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h +32 -12
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +27 -12
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +6 -4
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h +3 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h +72 -70
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +29 -4
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/websockets.h +84 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +542 -696
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/PrivacyInfo.xcprivacy +69 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +2 -2
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +369 -165
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +9 -7
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h +11 -9
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/header.h +74 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h +32 -12
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +27 -12
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +6 -4
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/stdcheaders.h +3 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +72 -70
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +29 -4
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/websockets.h +84 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +536 -676
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +536 -676
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/PrivacyInfo.xcprivacy +69 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +72 -39
- package/lib/commonjs/definitions.js +11 -15
- package/lib/commonjs/definitions.js.map +1 -1
- package/lib/commonjs/index.js +15 -13
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/utils.js.map +1 -1
- package/lib/module/definitions.js +11 -15
- package/lib/module/definitions.js.map +1 -1
- package/lib/module/index.js +14 -11
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils.js.map +1 -1
- package/lib/typescript/plugin/src/index.d.ts +11 -0
- package/lib/typescript/plugin/src/index.d.ts.map +1 -0
- package/lib/typescript/plugin/src/pluginConfig.d.ts +21 -0
- package/lib/typescript/plugin/src/pluginConfig.d.ts.map +1 -0
- package/lib/typescript/src/definitions.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/utils.d.ts.map +1 -0
- package/package.json +15 -24
- package/plugin/build/index.d.ts +10 -0
- package/plugin/build/index.js +63 -0
- package/plugin/build/pluginConfig.d.ts +20 -0
- package/plugin/build/pluginConfig.js +2 -0
- package/src/index.tsx +3 -0
- package/example/babel.config.js +0 -17
- package/lib/typescript/definitions.d.ts.map +0 -1
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/utils.d.ts.map +0 -1
- /package/lib/typescript/{definitions.d.ts → src/definitions.d.ts} +0 -0
- /package/lib/typescript/{index.d.ts → src/index.d.ts} +0 -0
- /package/lib/typescript/{utils.d.ts → src/utils.d.ts} +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>NSPrivacyAccessedAPITypes</key>
|
|
6
|
+
<array>
|
|
7
|
+
<dict>
|
|
8
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
9
|
+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
|
10
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
11
|
+
<array>
|
|
12
|
+
<string>C617.1</string>
|
|
13
|
+
</array>
|
|
14
|
+
</dict>
|
|
15
|
+
<dict>
|
|
16
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
17
|
+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
|
18
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
19
|
+
<array>
|
|
20
|
+
<string>1C8F.1</string>
|
|
21
|
+
</array>
|
|
22
|
+
</dict>
|
|
23
|
+
</array>
|
|
24
|
+
<key>NSPrivacyCollectedDataTypes</key>
|
|
25
|
+
<array>
|
|
26
|
+
<dict>
|
|
27
|
+
<key>NSPrivacyCollectedDataType</key>
|
|
28
|
+
<string>NSPrivacyCollectedDataTypeOtherDiagnosticData</string>
|
|
29
|
+
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
30
|
+
<false/>
|
|
31
|
+
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
32
|
+
<false/>
|
|
33
|
+
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
34
|
+
<array>
|
|
35
|
+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
36
|
+
</array>
|
|
37
|
+
</dict>
|
|
38
|
+
<dict>
|
|
39
|
+
<key>NSPrivacyCollectedDataType</key>
|
|
40
|
+
<string>NSPrivacyCollectedDataTypeDeviceID</string>
|
|
41
|
+
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
42
|
+
<false/>
|
|
43
|
+
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
44
|
+
<false/>
|
|
45
|
+
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
46
|
+
<array>
|
|
47
|
+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
48
|
+
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
|
|
49
|
+
</array>
|
|
50
|
+
</dict>
|
|
51
|
+
<dict>
|
|
52
|
+
<key>NSPrivacyCollectedDataType</key>
|
|
53
|
+
<string>NSPrivacyCollectedDataTypeOtherDataTypes</string>
|
|
54
|
+
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
55
|
+
<false/>
|
|
56
|
+
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
57
|
+
<false/>
|
|
58
|
+
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
59
|
+
<array>
|
|
60
|
+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
61
|
+
</array>
|
|
62
|
+
</dict>
|
|
63
|
+
</array>
|
|
64
|
+
<key>NSPrivacyTrackingDomains</key>
|
|
65
|
+
<array/>
|
|
66
|
+
<key>NSPrivacyTracking</key>
|
|
67
|
+
<false/>
|
|
68
|
+
</dict>
|
|
69
|
+
</plist>
|
|
Binary file
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/CurlWrapper.h</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
BXDXO5X3AwOc4HZQzO64v06HqnU=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Headers/TalsecRuntime-Swift.h</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
pinYKS8ze7kqU/zwncOPRGiFCbw=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Headers/TalsecRuntime_iOS.h</key>
|
|
20
20
|
<data>
|
|
@@ -22,51 +22,59 @@
|
|
|
22
22
|
</data>
|
|
23
23
|
<key>Headers/curl.h</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
R37O9P881+tTPq02PGsR18nnRJw=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Headers/curlver.h</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
v/fUWaBxk9NIywMSfdLJ+EBEn+4=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Headers/easy.h</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
zPR4hRipW/f93KTsGonTVturyFo=
|
|
34
|
+
</data>
|
|
35
|
+
<key>Headers/header.h</key>
|
|
36
|
+
<data>
|
|
37
|
+
BoDCEv6MIZLNtBUy1D+9dKI4Th4=
|
|
34
38
|
</data>
|
|
35
39
|
<key>Headers/mprintf.h</key>
|
|
36
40
|
<data>
|
|
37
|
-
|
|
41
|
+
hBCDWCh+mIlVBCkuAaut0sP1jGI=
|
|
38
42
|
</data>
|
|
39
43
|
<key>Headers/multi.h</key>
|
|
40
44
|
<data>
|
|
41
|
-
|
|
45
|
+
plPXhquTOCWFzUjoH/z/f33n0Y8=
|
|
42
46
|
</data>
|
|
43
47
|
<key>Headers/options.h</key>
|
|
44
48
|
<data>
|
|
45
|
-
|
|
49
|
+
m1rgeikhFYR5dPlaScGeUxNIb2M=
|
|
46
50
|
</data>
|
|
47
51
|
<key>Headers/stdcheaders.h</key>
|
|
48
52
|
<data>
|
|
49
|
-
|
|
53
|
+
GR5tP8ehTD7+ZtG/cMD3s+IRAcI=
|
|
50
54
|
</data>
|
|
51
55
|
<key>Headers/system.h</key>
|
|
52
56
|
<data>
|
|
53
|
-
|
|
57
|
+
Uoik/uwHMTwxkP3fzjtixqjDUrM=
|
|
54
58
|
</data>
|
|
55
59
|
<key>Headers/urlapi.h</key>
|
|
56
60
|
<data>
|
|
57
|
-
|
|
61
|
+
TNpmUz8Slgx46O852ENjF8zajio=
|
|
62
|
+
</data>
|
|
63
|
+
<key>Headers/websockets.h</key>
|
|
64
|
+
<data>
|
|
65
|
+
0pEcK9exbhSZCsflrFx0vniiswA=
|
|
58
66
|
</data>
|
|
59
67
|
<key>Info.plist</key>
|
|
60
68
|
<data>
|
|
61
|
-
|
|
69
|
+
pveRvkogWtzuA62+kvpMoOY0k9g=
|
|
62
70
|
</data>
|
|
63
71
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
64
72
|
<data>
|
|
65
|
-
|
|
73
|
+
iDzaIq5dWkxjmH9jr62MUyLetF0=
|
|
66
74
|
</data>
|
|
67
75
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
68
76
|
<data>
|
|
69
|
-
|
|
77
|
+
K/hvsSDkDnWMxVTl2waT0cgGVBY=
|
|
70
78
|
</data>
|
|
71
79
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
72
80
|
<data>
|
|
@@ -74,19 +82,19 @@
|
|
|
74
82
|
</data>
|
|
75
83
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
76
84
|
<data>
|
|
77
|
-
|
|
85
|
+
K/hvsSDkDnWMxVTl2waT0cgGVBY=
|
|
78
86
|
</data>
|
|
79
87
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
80
88
|
<data>
|
|
81
|
-
|
|
89
|
+
akosOEPpuuBR4xDttqLza1FtOqY=
|
|
82
90
|
</data>
|
|
83
91
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
84
92
|
<data>
|
|
85
|
-
|
|
93
|
+
iDzaIq5dWkxjmH9jr62MUyLetF0=
|
|
86
94
|
</data>
|
|
87
95
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
88
96
|
<data>
|
|
89
|
-
|
|
97
|
+
QtZ5g3UgqYTh8GkzVunfOohxJxE=
|
|
90
98
|
</data>
|
|
91
99
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
92
100
|
<data>
|
|
@@ -94,16 +102,20 @@
|
|
|
94
102
|
</data>
|
|
95
103
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
96
104
|
<data>
|
|
97
|
-
|
|
105
|
+
QtZ5g3UgqYTh8GkzVunfOohxJxE=
|
|
98
106
|
</data>
|
|
99
107
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
100
108
|
<data>
|
|
101
|
-
|
|
109
|
+
I0d7VdcTtKGTPA/nshPXnuATSUg=
|
|
102
110
|
</data>
|
|
103
111
|
<key>Modules/module.modulemap</key>
|
|
104
112
|
<data>
|
|
105
113
|
5Cqpp15x1ZBnDyj7LgQmZiSGNYI=
|
|
106
114
|
</data>
|
|
115
|
+
<key>PrivacyInfo.xcprivacy</key>
|
|
116
|
+
<data>
|
|
117
|
+
wLuornyoj3Lx3RDlF2QKMsAJxRc=
|
|
118
|
+
</data>
|
|
107
119
|
<key>cacert.pem</key>
|
|
108
120
|
<data>
|
|
109
121
|
ZuymGpM+ORehjpgNq0JDEbnQb40=
|
|
@@ -126,14 +138,14 @@
|
|
|
126
138
|
<dict>
|
|
127
139
|
<key>hash2</key>
|
|
128
140
|
<data>
|
|
129
|
-
|
|
141
|
+
Bm1S/U8kLTf2j+j1OVf9Celuk8KyVTfko+iB9QprlGk=
|
|
130
142
|
</data>
|
|
131
143
|
</dict>
|
|
132
144
|
<key>Headers/TalsecRuntime-Swift.h</key>
|
|
133
145
|
<dict>
|
|
134
146
|
<key>hash2</key>
|
|
135
147
|
<data>
|
|
136
|
-
|
|
148
|
+
yV1JjoXFZmrBKPKR1x0pufFm1LTX6tgFhHB2kh6vxFE=
|
|
137
149
|
</data>
|
|
138
150
|
</dict>
|
|
139
151
|
<key>Headers/TalsecRuntime_iOS.h</key>
|
|
@@ -147,77 +159,91 @@
|
|
|
147
159
|
<dict>
|
|
148
160
|
<key>hash2</key>
|
|
149
161
|
<data>
|
|
150
|
-
|
|
162
|
+
26muN8YbQqzF5pjkjqaRPLQWeit/4vN0k060g3C+BmQ=
|
|
151
163
|
</data>
|
|
152
164
|
</dict>
|
|
153
165
|
<key>Headers/curlver.h</key>
|
|
154
166
|
<dict>
|
|
155
167
|
<key>hash2</key>
|
|
156
168
|
<data>
|
|
157
|
-
|
|
169
|
+
bOR1McyuSVDs16ogyQU96LrpFnYVU+Rlk0iIPL/wsBQ=
|
|
158
170
|
</data>
|
|
159
171
|
</dict>
|
|
160
172
|
<key>Headers/easy.h</key>
|
|
161
173
|
<dict>
|
|
162
174
|
<key>hash2</key>
|
|
163
175
|
<data>
|
|
164
|
-
|
|
176
|
+
CJDgY9K+qLqBXXR9T2ZZlOJj4QQ/DhSoVzPJRFy4Om0=
|
|
177
|
+
</data>
|
|
178
|
+
</dict>
|
|
179
|
+
<key>Headers/header.h</key>
|
|
180
|
+
<dict>
|
|
181
|
+
<key>hash2</key>
|
|
182
|
+
<data>
|
|
183
|
+
YUvkiob05dMExapA7xyFJF4luXcykhw2MYQBRmadmS8=
|
|
165
184
|
</data>
|
|
166
185
|
</dict>
|
|
167
186
|
<key>Headers/mprintf.h</key>
|
|
168
187
|
<dict>
|
|
169
188
|
<key>hash2</key>
|
|
170
189
|
<data>
|
|
171
|
-
|
|
190
|
+
a9CEOfQMKepUxrj16XMbDjGj7YzG0XrBhGKjKauIbMI=
|
|
172
191
|
</data>
|
|
173
192
|
</dict>
|
|
174
193
|
<key>Headers/multi.h</key>
|
|
175
194
|
<dict>
|
|
176
195
|
<key>hash2</key>
|
|
177
196
|
<data>
|
|
178
|
-
|
|
197
|
+
/21BmlOxV+bQGRSnKgpm3DaDlz/Td8KEH/uSTj9JQYI=
|
|
179
198
|
</data>
|
|
180
199
|
</dict>
|
|
181
200
|
<key>Headers/options.h</key>
|
|
182
201
|
<dict>
|
|
183
202
|
<key>hash2</key>
|
|
184
203
|
<data>
|
|
185
|
-
|
|
204
|
+
kgHYx2b4+A6Lr/Rm53TPSwcS7WqHBv4qBVDq9yQiBfQ=
|
|
186
205
|
</data>
|
|
187
206
|
</dict>
|
|
188
207
|
<key>Headers/stdcheaders.h</key>
|
|
189
208
|
<dict>
|
|
190
209
|
<key>hash2</key>
|
|
191
210
|
<data>
|
|
192
|
-
|
|
211
|
+
11iLhoFKNf/Ddm/2JC5vZwXgRAH8nCCKGVyv81A6+Bw=
|
|
193
212
|
</data>
|
|
194
213
|
</dict>
|
|
195
214
|
<key>Headers/system.h</key>
|
|
196
215
|
<dict>
|
|
197
216
|
<key>hash2</key>
|
|
198
217
|
<data>
|
|
199
|
-
|
|
218
|
+
h0DuZAxL1vlpeSBRpcKqBI2m6Lh0JsWWKNxZpQN5TXg=
|
|
200
219
|
</data>
|
|
201
220
|
</dict>
|
|
202
221
|
<key>Headers/urlapi.h</key>
|
|
203
222
|
<dict>
|
|
204
223
|
<key>hash2</key>
|
|
205
224
|
<data>
|
|
206
|
-
|
|
225
|
+
wfWT4WKHs2Y47t9VwXhn2sN/C2Zw7Q0eqDscx3sIOss=
|
|
226
|
+
</data>
|
|
227
|
+
</dict>
|
|
228
|
+
<key>Headers/websockets.h</key>
|
|
229
|
+
<dict>
|
|
230
|
+
<key>hash2</key>
|
|
231
|
+
<data>
|
|
232
|
+
tYux1+2j/SNy/rTYVsJWiX2DAG3+eTPWm+VLxKK6Wj8=
|
|
207
233
|
</data>
|
|
208
234
|
</dict>
|
|
209
235
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
210
236
|
<dict>
|
|
211
237
|
<key>hash2</key>
|
|
212
238
|
<data>
|
|
213
|
-
|
|
239
|
+
7VsdM73+1Pv+j8dBD5Nx2XSNNRNUCI0xeDTJ58JNg4Q=
|
|
214
240
|
</data>
|
|
215
241
|
</dict>
|
|
216
242
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
217
243
|
<dict>
|
|
218
244
|
<key>hash2</key>
|
|
219
245
|
<data>
|
|
220
|
-
|
|
246
|
+
THWZ+FRSi6ZNF5Sw2LJY7sIVYVDMvsOh0tMN9cgPZDo=
|
|
221
247
|
</data>
|
|
222
248
|
</dict>
|
|
223
249
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
@@ -231,28 +257,28 @@
|
|
|
231
257
|
<dict>
|
|
232
258
|
<key>hash2</key>
|
|
233
259
|
<data>
|
|
234
|
-
|
|
260
|
+
THWZ+FRSi6ZNF5Sw2LJY7sIVYVDMvsOh0tMN9cgPZDo=
|
|
235
261
|
</data>
|
|
236
262
|
</dict>
|
|
237
263
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
238
264
|
<dict>
|
|
239
265
|
<key>hash2</key>
|
|
240
266
|
<data>
|
|
241
|
-
|
|
267
|
+
PaJXakUYRwlNd+vSGFkNi2+jV3pGcf6Y67IbzGrtoUE=
|
|
242
268
|
</data>
|
|
243
269
|
</dict>
|
|
244
270
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
245
271
|
<dict>
|
|
246
272
|
<key>hash2</key>
|
|
247
273
|
<data>
|
|
248
|
-
|
|
274
|
+
7VsdM73+1Pv+j8dBD5Nx2XSNNRNUCI0xeDTJ58JNg4Q=
|
|
249
275
|
</data>
|
|
250
276
|
</dict>
|
|
251
277
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
252
278
|
<dict>
|
|
253
279
|
<key>hash2</key>
|
|
254
280
|
<data>
|
|
255
|
-
|
|
281
|
+
8vPP4t1GZT9aYcJ/2wLJag1iKVZ3HGgfTu0elekyN0s=
|
|
256
282
|
</data>
|
|
257
283
|
</dict>
|
|
258
284
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
@@ -266,14 +292,14 @@
|
|
|
266
292
|
<dict>
|
|
267
293
|
<key>hash2</key>
|
|
268
294
|
<data>
|
|
269
|
-
|
|
295
|
+
8vPP4t1GZT9aYcJ/2wLJag1iKVZ3HGgfTu0elekyN0s=
|
|
270
296
|
</data>
|
|
271
297
|
</dict>
|
|
272
298
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
273
299
|
<dict>
|
|
274
300
|
<key>hash2</key>
|
|
275
301
|
<data>
|
|
276
|
-
|
|
302
|
+
uM+dR0ofAIMrTryR5yzO2oljIVMG6ZyMArlTSDtjIyg=
|
|
277
303
|
</data>
|
|
278
304
|
</dict>
|
|
279
305
|
<key>Modules/module.modulemap</key>
|
|
@@ -283,6 +309,13 @@
|
|
|
283
309
|
gTx9ZhrwHS0hTBeJb6E3ARK3htBrD87Dc2RxPvTKaGE=
|
|
284
310
|
</data>
|
|
285
311
|
</dict>
|
|
312
|
+
<key>PrivacyInfo.xcprivacy</key>
|
|
313
|
+
<dict>
|
|
314
|
+
<key>hash2</key>
|
|
315
|
+
<data>
|
|
316
|
+
Svr+pZXI7cccZzTW1vTq+pkCOZe6kEQLslDFaL22qzI=
|
|
317
|
+
</data>
|
|
318
|
+
</dict>
|
|
286
319
|
<key>cacert.pem</key>
|
|
287
320
|
<dict>
|
|
288
321
|
<key>hash2</key>
|
|
@@ -5,12 +5,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Threat = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
10
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
11
8
|
class Threat {
|
|
9
|
+
static AppIntegrity = new Threat(0);
|
|
10
|
+
static PrivilegedAccess = new Threat(0);
|
|
11
|
+
static Debug = new Threat(0);
|
|
12
|
+
static Hooks = new Threat(0);
|
|
13
|
+
static Passcode = new Threat(0);
|
|
14
|
+
static Simulator = new Threat(0);
|
|
15
|
+
static SecureHardwareNotAvailable = new Threat(0);
|
|
16
|
+
static DeviceBinding = new Threat(0);
|
|
17
|
+
static DeviceID = new Threat(0);
|
|
18
|
+
static UnofficialStore = new Threat(0);
|
|
19
|
+
static ObfuscationIssues = new Threat(0);
|
|
12
20
|
constructor(value) {
|
|
13
|
-
_defineProperty(this, "value", void 0);
|
|
14
21
|
this.value = value;
|
|
15
22
|
}
|
|
16
23
|
static getValues() {
|
|
@@ -18,15 +25,4 @@ class Threat {
|
|
|
18
25
|
}
|
|
19
26
|
}
|
|
20
27
|
exports.Threat = Threat;
|
|
21
|
-
_defineProperty(Threat, "AppIntegrity", new Threat(0));
|
|
22
|
-
_defineProperty(Threat, "PrivilegedAccess", new Threat(0));
|
|
23
|
-
_defineProperty(Threat, "Debug", new Threat(0));
|
|
24
|
-
_defineProperty(Threat, "Hooks", new Threat(0));
|
|
25
|
-
_defineProperty(Threat, "Passcode", new Threat(0));
|
|
26
|
-
_defineProperty(Threat, "Simulator", new Threat(0));
|
|
27
|
-
_defineProperty(Threat, "SecureHardwareNotAvailable", new Threat(0));
|
|
28
|
-
_defineProperty(Threat, "DeviceBinding", new Threat(0));
|
|
29
|
-
_defineProperty(Threat, "DeviceID", new Threat(0));
|
|
30
|
-
_defineProperty(Threat, "UnofficialStore", new Threat(0));
|
|
31
|
-
_defineProperty(Threat, "ObfuscationIssues", new Threat(0));
|
|
32
28
|
//# sourceMappingURL=definitions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_reactNative","require","Threat","AppIntegrity","PrivilegedAccess","Debug","Hooks","Passcode","Simulator","SecureHardwareNotAvailable","DeviceBinding","DeviceID","UnofficialStore","ObfuscationIssues","constructor","value","getValues","Platform","OS","exports"],"sourceRoot":"../../src","sources":["definitions.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AA8BO,MAAMC,MAAM,CAAC;EAGlB,OAAOC,YAAY,GAAG,IAAID,MAAM,CAAC,CAAC,CAAC;EACnC,OAAOE,gBAAgB,GAAG,IAAIF,MAAM,CAAC,CAAC,CAAC;EACvC,OAAOG,KAAK,GAAG,IAAIH,MAAM,CAAC,CAAC,CAAC;EAC5B,OAAOI,KAAK,GAAG,IAAIJ,MAAM,CAAC,CAAC,CAAC;EAC5B,OAAOK,QAAQ,GAAG,IAAIL,MAAM,CAAC,CAAC,CAAC;EAC/B,OAAOM,SAAS,GAAG,IAAIN,MAAM,CAAC,CAAC,CAAC;EAChC,OAAOO,0BAA0B,GAAG,IAAIP,MAAM,CAAC,CAAC,CAAC;EACjD,OAAOQ,aAAa,GAAG,IAAIR,MAAM,CAAC,CAAC,CAAC;EACpC,OAAOS,QAAQ,GAAG,IAAIT,MAAM,CAAC,CAAC,CAAC;EAC/B,OAAOU,eAAe,GAAG,IAAIV,MAAM,CAAC,CAAC,CAAC;EACtC,OAAOW,iBAAiB,GAAG,IAAIX,MAAM,CAAC,CAAC,CAAC;EAExCY,WAAWA,CAACC,KAAa,EAAE;IACzB,IAAI,CAACA,KAAK,GAAGA,KAAK;EACpB;EAEA,OAAOC,SAASA,CAAA,EAAa;IAC3B,OAAOC,qBAAQ,CAACC,EAAE,KAAK,SAAS,GAC5B,CACE,IAAI,CAACf,YAAY,EACjB,IAAI,CAACC,gBAAgB,EACrB,IAAI,CAACC,KAAK,EACV,IAAI,CAACC,KAAK,EACV,IAAI,CAACC,QAAQ,EACb,IAAI,CAACC,SAAS,EACd,IAAI,CAACC,0BAA0B,EAC/B,IAAI,CAACC,aAAa,EAClB,IAAI,CAACE,eAAe,EACpB,IAAI,CAACC,iBAAiB,CACvB,GACD,CACE,IAAI,CAACV,YAAY,EACjB,IAAI,CAACC,gBAAgB,EACrB,IAAI,CAACC,KAAK,EACV,IAAI,CAACC,KAAK,EACV,IAAI,CAACC,QAAQ,EACb,IAAI,CAACC,SAAS,EACd,IAAI,CAACC,0BAA0B,EAC/B,IAAI,CAACC,aAAa,EAClB,IAAI,CAACC,QAAQ,EACb,IAAI,CAACC,eAAe,CACrB;EACP;AACF;AAACO,OAAA,CAAAjB,MAAA,GAAAA,MAAA","ignoreList":[]}
|
package/lib/commonjs/index.js
CHANGED
|
@@ -41,40 +41,43 @@ const setThreatListeners = async config => {
|
|
|
41
41
|
const [channel, key] = await getThreatChannelData();
|
|
42
42
|
await prepareMapping();
|
|
43
43
|
eventsListener = eventEmitter.addListener(channel, event => {
|
|
44
|
-
var _config$privilegedAcc, _config$debug, _config$simulator, _config$appIntegrity, _config$unofficialSto, _config$hooks, _config$deviceBinding, _config$passcode, _config$secureHardwar, _config$obfuscationIs;
|
|
44
|
+
var _config$privilegedAcc, _config$debug, _config$simulator, _config$appIntegrity, _config$unofficialSto, _config$hooks, _config$deviceBinding, _config$passcode, _config$secureHardwar, _config$obfuscationIs, _config$deviceID;
|
|
45
45
|
if (event[key] === undefined) {
|
|
46
46
|
onInvalidCallback();
|
|
47
47
|
}
|
|
48
48
|
switch (event[key]) {
|
|
49
49
|
case _definitions.Threat.PrivilegedAccess.value:
|
|
50
|
-
(_config$privilegedAcc = config.privilegedAccess) === null || _config$privilegedAcc === void 0
|
|
50
|
+
(_config$privilegedAcc = config.privilegedAccess) === null || _config$privilegedAcc === void 0 || _config$privilegedAcc.call(config);
|
|
51
51
|
break;
|
|
52
52
|
case _definitions.Threat.Debug.value:
|
|
53
|
-
(_config$debug = config.debug) === null || _config$debug === void 0
|
|
53
|
+
(_config$debug = config.debug) === null || _config$debug === void 0 || _config$debug.call(config);
|
|
54
54
|
break;
|
|
55
55
|
case _definitions.Threat.Simulator.value:
|
|
56
|
-
(_config$simulator = config.simulator) === null || _config$simulator === void 0
|
|
56
|
+
(_config$simulator = config.simulator) === null || _config$simulator === void 0 || _config$simulator.call(config);
|
|
57
57
|
break;
|
|
58
58
|
case _definitions.Threat.AppIntegrity.value:
|
|
59
|
-
(_config$appIntegrity = config.appIntegrity) === null || _config$appIntegrity === void 0
|
|
59
|
+
(_config$appIntegrity = config.appIntegrity) === null || _config$appIntegrity === void 0 || _config$appIntegrity.call(config);
|
|
60
60
|
break;
|
|
61
61
|
case _definitions.Threat.UnofficialStore.value:
|
|
62
|
-
(_config$unofficialSto = config.unofficialStore) === null || _config$unofficialSto === void 0
|
|
62
|
+
(_config$unofficialSto = config.unofficialStore) === null || _config$unofficialSto === void 0 || _config$unofficialSto.call(config);
|
|
63
63
|
break;
|
|
64
64
|
case _definitions.Threat.Hooks.value:
|
|
65
|
-
(_config$hooks = config.hooks) === null || _config$hooks === void 0
|
|
65
|
+
(_config$hooks = config.hooks) === null || _config$hooks === void 0 || _config$hooks.call(config);
|
|
66
66
|
break;
|
|
67
67
|
case _definitions.Threat.DeviceBinding.value:
|
|
68
|
-
(_config$deviceBinding = config.deviceBinding) === null || _config$deviceBinding === void 0
|
|
68
|
+
(_config$deviceBinding = config.deviceBinding) === null || _config$deviceBinding === void 0 || _config$deviceBinding.call(config);
|
|
69
69
|
break;
|
|
70
70
|
case _definitions.Threat.Passcode.value:
|
|
71
|
-
(_config$passcode = config.passcode) === null || _config$passcode === void 0
|
|
71
|
+
(_config$passcode = config.passcode) === null || _config$passcode === void 0 || _config$passcode.call(config);
|
|
72
72
|
break;
|
|
73
73
|
case _definitions.Threat.SecureHardwareNotAvailable.value:
|
|
74
|
-
(_config$secureHardwar = config.secureHardwareNotAvailable) === null || _config$secureHardwar === void 0
|
|
74
|
+
(_config$secureHardwar = config.secureHardwareNotAvailable) === null || _config$secureHardwar === void 0 || _config$secureHardwar.call(config);
|
|
75
75
|
break;
|
|
76
76
|
case _definitions.Threat.ObfuscationIssues.value:
|
|
77
|
-
(_config$obfuscationIs = config.obfuscationIssues) === null || _config$obfuscationIs === void 0
|
|
77
|
+
(_config$obfuscationIs = config.obfuscationIssues) === null || _config$obfuscationIs === void 0 || _config$obfuscationIs.call(config);
|
|
78
|
+
break;
|
|
79
|
+
case _definitions.Threat.DeviceID.value:
|
|
80
|
+
(_config$deviceID = config.deviceID) === null || _config$deviceID === void 0 || _config$deviceID.call(config);
|
|
78
81
|
break;
|
|
79
82
|
default:
|
|
80
83
|
onInvalidCallback();
|
|
@@ -108,6 +111,5 @@ const useFreeRasp = (config, actions) => {
|
|
|
108
111
|
}, []);
|
|
109
112
|
};
|
|
110
113
|
exports.useFreeRasp = useFreeRasp;
|
|
111
|
-
var _default = FreeraspReactNative;
|
|
112
|
-
exports.default = _default;
|
|
114
|
+
var _default = exports.default = FreeraspReactNative;
|
|
113
115
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["FreeraspReactNative","NativeModules","eventEmitter","NativeEventEmitter","eventsListener","onInvalidCallback","getThreatIdentifiers","identifiers","length","getThreatCount","itemsHaveType","getThreatChannelData","data","prepareMapping","newValues","threats","Threat","getValues","map","threat","index","value","setThreatListeners","config","channel","key","addListener","event","undefined","PrivilegedAccess","privilegedAccess","Debug","debug","Simulator","simulator","AppIntegrity","appIntegrity","UnofficialStore","unofficialStore","Hooks","hooks","DeviceBinding","deviceBinding","Passcode","passcode","SecureHardwareNotAvailable","secureHardwareNotAvailable","ObfuscationIssues","obfuscationIssues","removeThreatListeners","remove","talsecStart","options","useFreeRasp","actions","useEffect","response","console","log"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;AAAA;AACA;AAKA;AAKA;AAEA,MAAM;
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_definitions","_utils","FreeraspReactNative","NativeModules","eventEmitter","NativeEventEmitter","eventsListener","onInvalidCallback","getThreatIdentifiers","identifiers","length","getThreatCount","itemsHaveType","getThreatChannelData","data","prepareMapping","newValues","threats","Threat","getValues","map","threat","index","value","setThreatListeners","config","channel","key","addListener","event","_config$privilegedAcc","_config$debug","_config$simulator","_config$appIntegrity","_config$unofficialSto","_config$hooks","_config$deviceBinding","_config$passcode","_config$secureHardwar","_config$obfuscationIs","_config$deviceID","undefined","PrivilegedAccess","privilegedAccess","call","Debug","debug","Simulator","simulator","AppIntegrity","appIntegrity","UnofficialStore","unofficialStore","Hooks","hooks","DeviceBinding","deviceBinding","Passcode","passcode","SecureHardwareNotAvailable","secureHardwareNotAvailable","ObfuscationIssues","obfuscationIssues","DeviceID","deviceID","exports","removeThreatListeners","remove","talsecStart","options","useFreeRasp","actions","useEffect","response","console","log","_default","default"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAKA,IAAAE,YAAA,GAAAF,OAAA;AAKA,IAAAG,MAAA,GAAAH,OAAA;AAEA,MAAM;EAAEI;AAAoB,CAAC,GAAGC,0BAAa;AAE7C,MAAMC,YAAY,GAAG,IAAIC,+BAAkB,CAACH,mBAAmB,CAAC;AAChE,IAAII,cAAmC;AAEvC,MAAMC,iBAAiB,GAAGA,CAAA,KAAY;EACpCL,mBAAmB,CAACK,iBAAiB,CAAC,CAAC;AACzC,CAAC;AAED,MAAMC,oBAAoB,GAAG,MAAAA,CAAA,KAA+B;EAC1D,IAAIC,WAAW,GAAG,MAAMP,mBAAmB,CAACM,oBAAoB,CAAC,CAAC;EAClE,IACEC,WAAW,CAACC,MAAM,KAAK,IAAAC,qBAAc,EAAC,CAAC,IACvC,CAAC,IAAAC,oBAAa,EAACH,WAAW,EAAE,QAAQ,CAAC,EACrC;IACAF,iBAAiB,CAAC,CAAC;EACrB;EACA,OAAOE,WAAW;AACpB,CAAC;AAED,MAAMI,oBAAoB,GAAG,MAAAA,CAAA,KAAuC;EAClE,IAAI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CAAC,EAAE,CAAC;IACJ;EACF,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAACD,OAAA,CAAAK,WAAA,GAAAA,WAAA;AAAA,IAAAM,QAAA,GAAAX,OAAA,CAAAY,OAAA,GAEa3E,mBAAmB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getThreatCount","Threat","getValues","length","itemsHaveType","data","desidedType","every","item"],"sourceRoot":"../../src","sources":["utils.ts"],"mappings":";;;;;;AAAA;AAEO,
|
|
1
|
+
{"version":3,"names":["_definitions","require","getThreatCount","Threat","getValues","length","exports","itemsHaveType","data","desidedType","every","item"],"sourceRoot":"../../src","sources":["utils.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,cAAc,GAAGA,CAAA,KAAc;EAC1C,OAAOC,mBAAM,CAACC,SAAS,CAAC,CAAC,CAACC,MAAM;AAClC,CAAC;AAACC,OAAA,CAAAJ,cAAA,GAAAA,cAAA;AAEK,MAAMK,aAAa,GAAGA,CAACC,IAAW,EAAEC,WAAmB,KAAK;EACjE,OAAOD,IAAI,CAACE,KAAK,CAAEC,IAAI,IAAK,OAAOA,IAAI,KAAKF,WAAW,CAAC;AAC1D,CAAC;AAACH,OAAA,CAAAC,aAAA,GAAAA,aAAA","ignoreList":[]}
|
|
@@ -1,25 +1,21 @@
|
|
|
1
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
4
1
|
import { Platform } from 'react-native';
|
|
5
2
|
export class Threat {
|
|
3
|
+
static AppIntegrity = new Threat(0);
|
|
4
|
+
static PrivilegedAccess = new Threat(0);
|
|
5
|
+
static Debug = new Threat(0);
|
|
6
|
+
static Hooks = new Threat(0);
|
|
7
|
+
static Passcode = new Threat(0);
|
|
8
|
+
static Simulator = new Threat(0);
|
|
9
|
+
static SecureHardwareNotAvailable = new Threat(0);
|
|
10
|
+
static DeviceBinding = new Threat(0);
|
|
11
|
+
static DeviceID = new Threat(0);
|
|
12
|
+
static UnofficialStore = new Threat(0);
|
|
13
|
+
static ObfuscationIssues = new Threat(0);
|
|
6
14
|
constructor(value) {
|
|
7
|
-
_defineProperty(this, "value", void 0);
|
|
8
15
|
this.value = value;
|
|
9
16
|
}
|
|
10
17
|
static getValues() {
|
|
11
18
|
return Platform.OS === 'android' ? [this.AppIntegrity, this.PrivilegedAccess, this.Debug, this.Hooks, this.Passcode, this.Simulator, this.SecureHardwareNotAvailable, this.DeviceBinding, this.UnofficialStore, this.ObfuscationIssues] : [this.AppIntegrity, this.PrivilegedAccess, this.Debug, this.Hooks, this.Passcode, this.Simulator, this.SecureHardwareNotAvailable, this.DeviceBinding, this.DeviceID, this.UnofficialStore];
|
|
12
19
|
}
|
|
13
20
|
}
|
|
14
|
-
_defineProperty(Threat, "AppIntegrity", new Threat(0));
|
|
15
|
-
_defineProperty(Threat, "PrivilegedAccess", new Threat(0));
|
|
16
|
-
_defineProperty(Threat, "Debug", new Threat(0));
|
|
17
|
-
_defineProperty(Threat, "Hooks", new Threat(0));
|
|
18
|
-
_defineProperty(Threat, "Passcode", new Threat(0));
|
|
19
|
-
_defineProperty(Threat, "Simulator", new Threat(0));
|
|
20
|
-
_defineProperty(Threat, "SecureHardwareNotAvailable", new Threat(0));
|
|
21
|
-
_defineProperty(Threat, "DeviceBinding", new Threat(0));
|
|
22
|
-
_defineProperty(Threat, "DeviceID", new Threat(0));
|
|
23
|
-
_defineProperty(Threat, "UnofficialStore", new Threat(0));
|
|
24
|
-
_defineProperty(Threat, "ObfuscationIssues", new Threat(0));
|
|
25
21
|
//# sourceMappingURL=definitions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Platform","Threat","
|
|
1
|
+
{"version":3,"names":["Platform","Threat","AppIntegrity","PrivilegedAccess","Debug","Hooks","Passcode","Simulator","SecureHardwareNotAvailable","DeviceBinding","DeviceID","UnofficialStore","ObfuscationIssues","constructor","value","getValues","OS"],"sourceRoot":"../../src","sources":["definitions.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AA8BvC,OAAO,MAAMC,MAAM,CAAC;EAGlB,OAAOC,YAAY,GAAG,IAAID,MAAM,CAAC,CAAC,CAAC;EACnC,OAAOE,gBAAgB,GAAG,IAAIF,MAAM,CAAC,CAAC,CAAC;EACvC,OAAOG,KAAK,GAAG,IAAIH,MAAM,CAAC,CAAC,CAAC;EAC5B,OAAOI,KAAK,GAAG,IAAIJ,MAAM,CAAC,CAAC,CAAC;EAC5B,OAAOK,QAAQ,GAAG,IAAIL,MAAM,CAAC,CAAC,CAAC;EAC/B,OAAOM,SAAS,GAAG,IAAIN,MAAM,CAAC,CAAC,CAAC;EAChC,OAAOO,0BAA0B,GAAG,IAAIP,MAAM,CAAC,CAAC,CAAC;EACjD,OAAOQ,aAAa,GAAG,IAAIR,MAAM,CAAC,CAAC,CAAC;EACpC,OAAOS,QAAQ,GAAG,IAAIT,MAAM,CAAC,CAAC,CAAC;EAC/B,OAAOU,eAAe,GAAG,IAAIV,MAAM,CAAC,CAAC,CAAC;EACtC,OAAOW,iBAAiB,GAAG,IAAIX,MAAM,CAAC,CAAC,CAAC;EAExCY,WAAWA,CAACC,KAAa,EAAE;IACzB,IAAI,CAACA,KAAK,GAAGA,KAAK;EACpB;EAEA,OAAOC,SAASA,CAAA,EAAa;IAC3B,OAAOf,QAAQ,CAACgB,EAAE,KAAK,SAAS,GAC5B,CACE,IAAI,CA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