freerasp-react-native 5.2.2 → 5.3.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 +42 -0
- package/android/build.gradle +8 -1
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources +26 -26
- 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/Info.plist +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +223 -139
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/_CodeSignature/CodeResources +7 -7
- 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/Info.plist +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +361 -277
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +361 -277
- 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 +9 -9
- package/ios/TalsecRuntimePackage/Package.swift +2 -2
- package/lib/typescript/plugin/src/index.d.ts +1 -1
- package/lib/typescript/plugin/src/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/plugin/build/index.d.ts +1 -1
- package/plugin/build/index.js +1 -1
- package/plugin/tests/pluginProps.test.js +15 -0
|
Binary file
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Headers/CurlWrapper.h</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
PEbqvz+q2cnxGui69hRsi7mCe3E=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Headers/TalsecRuntime-Swift.h</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
L3pf3Il4/TL1PSE20B0KdxtzuRE=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Headers/TalsecRuntime_iOS.h</key>
|
|
24
24
|
<data>
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
</data>
|
|
75
75
|
<key>Info.plist</key>
|
|
76
76
|
<data>
|
|
77
|
-
|
|
77
|
+
be9eRpx7s021fP3GNya6N373A1w=
|
|
78
78
|
</data>
|
|
79
79
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
80
80
|
<data>
|
|
81
|
-
|
|
81
|
+
mRn0o5NGmteb8wIPBYjfkqH90yk=
|
|
82
82
|
</data>
|
|
83
83
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
84
84
|
<data>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
</data>
|
|
95
95
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
96
96
|
<data>
|
|
97
|
-
|
|
97
|
+
mRn0o5NGmteb8wIPBYjfkqH90yk=
|
|
98
98
|
</data>
|
|
99
99
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
100
100
|
<data>
|
|
@@ -145,14 +145,14 @@
|
|
|
145
145
|
<dict>
|
|
146
146
|
<key>hash2</key>
|
|
147
147
|
<data>
|
|
148
|
-
|
|
148
|
+
GUg+7Z2tTS/pKE4PmYzZCUYlBtoKHtEyiEUfaezdt+c=
|
|
149
149
|
</data>
|
|
150
150
|
</dict>
|
|
151
151
|
<key>Headers/TalsecRuntime-Swift.h</key>
|
|
152
152
|
<dict>
|
|
153
153
|
<key>hash2</key>
|
|
154
154
|
<data>
|
|
155
|
-
|
|
155
|
+
nEnjiija7rzp2ZtC0WAMM3mPeNsZBRFAz2hdQDucrKs=
|
|
156
156
|
</data>
|
|
157
157
|
</dict>
|
|
158
158
|
<key>Headers/TalsecRuntime_iOS.h</key>
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
<dict>
|
|
251
251
|
<key>hash2</key>
|
|
252
252
|
<data>
|
|
253
|
-
|
|
253
|
+
sJAKY5qFymHp41BTIguAHS5aEP0Pgk+Piow03f8GdZA=
|
|
254
254
|
</data>
|
|
255
255
|
</dict>
|
|
256
256
|
<key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
<dict>
|
|
279
279
|
<key>hash2</key>
|
|
280
280
|
<data>
|
|
281
|
-
|
|
281
|
+
sJAKY5qFymHp41BTIguAHS5aEP0Pgk+Piow03f8GdZA=
|
|
282
282
|
</data>
|
|
283
283
|
</dict>
|
|
284
284
|
<key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
@@ -12,8 +12,8 @@ let package = Package(
|
|
|
12
12
|
targets: [
|
|
13
13
|
.binaryTarget(
|
|
14
14
|
name: "TalsecRuntime",
|
|
15
|
-
url: "https://storage.googleapis.com/talsec-artifact-repository/freerasp/ios/react-native/
|
|
16
|
-
checksum: "
|
|
15
|
+
url: "https://storage.googleapis.com/talsec-artifact-repository/freerasp/ios/react-native/8.0.1/TalsecRuntime.xcframework.zip",
|
|
16
|
+
checksum: "97cb3423b296339aad3fd5ef9e24efd8a7ed0e437dd735f99a309ea1695071eb"
|
|
17
17
|
),
|
|
18
18
|
]
|
|
19
19
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
import { type PluginConfigType } from './pluginConfig';
|
|
3
|
-
declare const _default: ConfigPlugin<PluginConfigType>;
|
|
3
|
+
declare const _default: ConfigPlugin<PluginConfigType | undefined>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../plugin/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAM9B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../plugin/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAM9B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;;AAoKvD,wBAA2E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "freerasp-react-native",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "React Native plugin for improving app security and threat monitoring on Android and iOS mobile devices.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"prettier": "prettier \"**/*.{ts,js}\"",
|
|
15
15
|
"prepack": "bob build && yarn build:plugin",
|
|
16
16
|
"build": "bob build",
|
|
17
|
-
"test:plugin": "yarn build:plugin && node plugin/tests/iosSpm.test.js",
|
|
17
|
+
"test:plugin": "yarn build:plugin && node plugin/tests/iosSpm.test.js && node plugin/tests/pluginProps.test.js",
|
|
18
18
|
"example": "yarn --cwd example",
|
|
19
19
|
"bootstrap": "yarn example && yarn install && yarn example pods",
|
|
20
20
|
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build",
|
package/plugin/build/index.d.ts
CHANGED
package/plugin/build/index.js
CHANGED
|
@@ -108,7 +108,7 @@ const withRnTalsecIos = (config, props) => {
|
|
|
108
108
|
config = withFreeraspIosPodfile(config, { spmEnabled });
|
|
109
109
|
return config;
|
|
110
110
|
};
|
|
111
|
-
const withRnTalsecApp = (config, props) => {
|
|
111
|
+
const withRnTalsecApp = (config, props = {}) => {
|
|
112
112
|
config = withBuildscriptDependency(config);
|
|
113
113
|
config = withAndroidMinSdkVersion(config, props);
|
|
114
114
|
config = withAndroidR8Version(config, props);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* eslint-env node */
|
|
2
|
+
|
|
3
|
+
const assert = require('assert').strict;
|
|
4
|
+
const withRnTalsecApp = require('../build').default;
|
|
5
|
+
|
|
6
|
+
const expoConfig = () => ({ name: 'example', slug: 'example' });
|
|
7
|
+
|
|
8
|
+
assert.doesNotThrow(() => withRnTalsecApp(expoConfig()));
|
|
9
|
+
assert.doesNotThrow(() => withRnTalsecApp(expoConfig(), undefined));
|
|
10
|
+
assert.doesNotThrow(() => withRnTalsecApp(expoConfig(), {}));
|
|
11
|
+
assert.doesNotThrow(() =>
|
|
12
|
+
withRnTalsecApp(expoConfig(), { android: { minSdkVersion: 26 } })
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
console.log('pluginProps tests passed');
|