Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions app/ios/Self.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
1686F0DC2C500F3800841CDE /* QRScannerBridge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1686F0DB2C500F3800841CDE /* QRScannerBridge.swift */; };
1686F0DE2C500F4F00841CDE /* QRScannerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1686F0DD2C500F4F00841CDE /* QRScannerViewController.swift */; };
1686F0E02C500FBD00841CDE /* QRScannerBridge.m in Sources */ = {isa = PBXBuildFile; fileRef = 1686F0DF2C500FBD00841CDE /* QRScannerBridge.m */; };
1686F0E42C500FBD00841CDE /* DocumentScanner.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1686F0E12C500FBD00841CDE /* DocumentScanner.swift */; };
1686F0E52C500FBD00841CDE /* DocumentScannerBridge.m in Sources */ = {isa = PBXBuildFile; fileRef = 1686F0E22C500FBD00841CDE /* DocumentScannerBridge.m */; };
1686F0E62C500FBD00841CDE /* DocumentScannerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1686F0E32C500FBD00841CDE /* DocumentScannerViewController.swift */; };
16E6646E2B8D292500FDD6A0 /* QKMRZScannerViewRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16E6646D2B8D292500FDD6A0 /* QKMRZScannerViewRepresentable.swift */; };
16E884A52C5BD764003B7125 /* passport.json in Resources */ = {isa = PBXBuildFile; fileRef = 16E884A42C5BD764003B7125 /* passport.json */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
Expand Down Expand Up @@ -55,9 +52,6 @@
1686F0DB2C500F3800841CDE /* QRScannerBridge.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QRScannerBridge.swift; sourceTree = "<group>"; };
1686F0DD2C500F4F00841CDE /* QRScannerViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QRScannerViewController.swift; sourceTree = "<group>"; };
1686F0DF2C500FBD00841CDE /* QRScannerBridge.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QRScannerBridge.m; sourceTree = "<group>"; };
1686F0E12C500FBD00841CDE /* DocumentScanner.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DocumentScanner.swift; sourceTree = "<group>"; };
1686F0E22C500FBD00841CDE /* DocumentScannerBridge.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DocumentScannerBridge.m; sourceTree = "<group>"; };
1686F0E32C500FBD00841CDE /* DocumentScannerViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DocumentScannerViewController.swift; sourceTree = "<group>"; };
169349842CC694DA00166F21 /* OpenPassportDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = OpenPassportDebug.entitlements; path = OpenPassport/OpenPassportDebug.entitlements; sourceTree = "<group>"; };
16E6646D2B8D292500FDD6A0 /* QKMRZScannerViewRepresentable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QKMRZScannerViewRepresentable.swift; sourceTree = "<group>"; };
16E884A42C5BD764003B7125 /* passport.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = passport.json; sourceTree = "<group>"; };
Expand Down Expand Up @@ -123,9 +117,6 @@
1648EB772CC9564D003BEA7D /* LottieView.swift */,
164FD9662D569A640067E63B /* QRCodeScannerViewManager.swift */,
164FD9682D569C1F0067E63B /* QRCodeScannerViewManager.m */,
1686F0E12C500FBD00841CDE /* DocumentScanner.swift */,
1686F0E22C500FBD00841CDE /* DocumentScannerBridge.m */,
1686F0E32C500FBD00841CDE /* DocumentScannerViewController.swift */,
);
name = OpenPassport;
sourceTree = "<group>";
Expand Down Expand Up @@ -393,9 +384,6 @@
165E76BD2B8DC4A00000FA90 /* MRZScannerModule.swift in Sources */,
BF1044812DD53540009B3688 /* LiveMRZScannerView.swift in Sources */,
164FD9692D569C1F0067E63B /* QRCodeScannerViewManager.m in Sources */,
1686F0E42C500FBD00841CDE /* DocumentScanner.swift in Sources */,
1686F0E52C500FBD00841CDE /* DocumentScannerBridge.m in Sources */,
1686F0E62C500FBD00841CDE /* DocumentScannerViewController.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/buttons/AbstractButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface AbstractButtonProps extends ButtonProps {
bgColor: string;
borderColor?: string;
color: string;
onPress?: ((e: any) => void) | null | undefined;
onPress?: (e: any) => void;
}

const { trackEvent: analyticsTrackEvent } = analytics();
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/native/RCTFragment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function dispatchCommand(
try {
UIManager.dispatchViewManagerCommand(
viewId,
UIManager.getViewManagerConfig(fragmentComponentName).Commands[
(UIManager.getViewManagerConfig(fragmentComponentName) as any).Commands[
command
].toString(),
[viewId],
Expand Down
2 changes: 1 addition & 1 deletion app/src/screens/passport/PassportNFCScanScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@
checkNfcSupport();

if (Platform.OS === 'android' && emitter) {
const subscription = emitter.addListener(

Check warning on line 287 in app/src/screens/passport/PassportNFCScanScreen.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `⏎··········'NativeEvent',⏎··········(event:·any)·=>` with `'NativeEvent',·(event:·any)·=>⏎·········`

Check warning on line 287 in app/src/screens/passport/PassportNFCScanScreen.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `⏎··········'NativeEvent',⏎··········(event:·any)·=>` with `'NativeEvent',·(event:·any)·=>⏎·········`
'NativeEvent',
(event: string) => console.info(event),
(event: any) => console.info(event),
);

return () => {
Expand Down
2 changes: 1 addition & 1 deletion app/src/screens/prove/ProveScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const ProveScreen: React.FC = () => {
const [hasScrolledToBottom, setHasScrolledToBottom] = useState(false);
const [scrollViewContentHeight, setScrollViewContentHeight] = useState(0);
const [scrollViewHeight, setScrollViewHeight] = useState(0);
const scrollViewRef = useRef<ScrollView>(null);
const scrollViewRef = useRef<any>(null);

const isContentShorterThanScrollView = useMemo(
() => scrollViewContentHeight <= scrollViewHeight,
Expand Down
12 changes: 9 additions & 3 deletions app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
{
"extends": "@react-native/typescript-config",
"compilerOptions": {
"lib": ["dom", "esnext"],
"lib": [
"dom",
"esnext"
],
"resolveJsonModule": true,
"esModuleInterop": true,
"customConditions": ["react-native-strict-api"],
"skipLibCheck": true
"customConditions": [
"react-native-strict-api"
],
"skipLibCheck": true,
"allowJs": false
},
"exclude": [
"node_modules",
Expand Down
1 change: 1 addition & 0 deletions common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
},
"devDependencies": {
"@types/js-sha1": "^0.6.3",
"@types/node": "^20.11.19",
"@types/node-forge": "^1.3.10",
"mocha": "^10.7.3",
"prettier": "^3.3.3",
Expand Down
8 changes: 7 additions & 1 deletion sdk/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
"moduleResolution": "node16",
"baseUrl": "."
},
"include": ["index.ts", "src/**/*", "circuits/**/*", "circuits/**/*.json", "utils/utils.ts"],
"include": [
"index.ts",
"src/**/*",
"circuits/**/*",
"circuits/**/*.json",
"src/utils/utils.ts"
],
"exclude": [
"node_modules",
"**/__tests__/*",
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4002,6 +4002,7 @@ __metadata:
"@openpassport/zk-kit-lean-imt": "npm:^0.0.6"
"@openpassport/zk-kit-smt": "npm:^0.0.1"
"@types/js-sha1": "npm:^0.6.3"
"@types/node": "npm:^20.11.19"
"@types/node-forge": "npm:^1.3.10"
asn1.js: "npm:^5.4.1"
asn1js: "npm:^3.0.5"
Expand Down
Loading