Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
9 changes: 9 additions & 0 deletions app/App.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import 'react-native-get-random-values';

import { Buffer } from 'buffer';
Expand Down
35 changes: 35 additions & 0 deletions app/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Business Source License 1.1

Parameters

Licensor: Social Connect Labs, Inc.

Licensed Work: The code in this folder and all folders nested within it, including all files and components unless explicitly stated otherwise.

Additional Use Grant: Any use for development, testing, and deployment on networks approved by Social Connect Labs, Inc., including internal business operations and academic research.

Change Date: 2029-06-11

Change License: Apache License, Version 2.0

================================================================

Business Source License 1.1

Copyright (C) 2025 Social Connect Labs, Inc.

The contents of this repository are licensed under the Business Source License 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

https://github.com/self-xyz/project-name/blob/main/LICENSES/BSL1.1.txt

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Change Date

The Change Date is the later of four years from the date this repository was published or 2029-06-11.

Change License

On the Change Date, the contents of this repository will be made available under the terms of the Apache License, Version 2.0, as published by the Apache Software Foundation.

See the License for the specific language governing permissions and limitations under the Business Source License.
9 changes: 9 additions & 0 deletions app/android/react-native-passport-reader/index.android.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import { NativeModules } from 'react-native'

const { RNPassportReader } = NativeModules
Expand Down
9 changes: 9 additions & 0 deletions app/declarations.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

declare module '@env';
declare module '*.png' {
const value: string;
Expand Down
9 changes: 9 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

/**
* @format
*/
Expand Down
9 changes: 9 additions & 0 deletions app/jest.setup.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

/* global jest */
/** @jest-environment jsdom */
require('react-native-gesture-handler/jestSetup');
Expand Down
9 changes: 9 additions & 0 deletions app/scripts/tag.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/env node
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.


Check warning on line 11 in app/scripts/tag.js

View workflow job for this annotation

GitHub Actions / lint

Delete `⏎`

Check warning on line 11 in app/scripts/tag.js

View workflow job for this annotation

GitHub Actions / lint

Delete `⏎`
const { execSync } = require('child_process');
const fs = require('fs');
const path = require('path');
Expand Down
9 changes: 9 additions & 0 deletions app/src/Segment.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import '@ethersproject/shims';

import { SEGMENT_KEY } from '@env';
Expand Down
9 changes: 9 additions & 0 deletions app/src/Sentry.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import { SENTRY_DSN } from '@env';
import * as Sentry from '@sentry/react-native';

Expand Down
9 changes: 9 additions & 0 deletions app/src/components/BackupDocumentationLink.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import React from 'react';
import { Platform } from 'react-native';
import { Anchor, styled } from 'tamagui';
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/ButtonsContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import React from 'react';
import { StyleSheet, View } from 'react-native';

Expand Down
9 changes: 9 additions & 0 deletions app/src/components/Disclosures.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import type { SelfAppDisclosureConfig } from '@selfxyz/common';
import { Country3LetterCode, countryCodes } from '@selfxyz/common';
import React from 'react';
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/ErrorBoundary.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import React from 'react';
import { Text, View } from 'react-native';

Expand Down
9 changes: 9 additions & 0 deletions app/src/components/Mnemonic.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import Clipboard from '@react-native-clipboard/clipboard';
import React, { useCallback, useState } from 'react';
import { Button, Text, XStack, YStack } from 'tamagui';
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/NavBar/BaseNavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import { ChevronLeft, X } from '@tamagui/lucide-icons';
import React, { useMemo } from 'react';
import { StatusBar, StatusBarStyle } from 'react-native';
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/NavBar/DefaultNavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import { NativeStackHeaderProps } from '@react-navigation/native-stack';
import React from 'react';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/NavBar/HomeNavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import { NativeStackHeaderProps } from '@react-navigation/native-stack';
import React from 'react';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/NavBar/ProgressNavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import {
NativeStackHeaderProps,
NativeStackNavigationOptions,
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/NavBar/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

export { DefaultNavBar } from './DefaultNavBar';
export { HomeNavBar } from './HomeNavBar';
export { ProgressNavBar } from './ProgressNavBar';
9 changes: 9 additions & 0 deletions app/src/components/TextsContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import React from 'react';
import { StyleSheet, View, ViewStyle } from 'react-native';

Expand Down
9 changes: 9 additions & 0 deletions app/src/components/Tips.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import React from 'react';
import { Text, View } from 'tamagui';

Expand Down
9 changes: 9 additions & 0 deletions app/src/components/buttons/AbstractButton.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import React from 'react';
import { StyleSheet, ViewStyle } from 'react-native';
import { Button, Text, ViewProps } from 'tamagui';
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/buttons/HeldPrimaryButtonProveScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import { useMachine } from '@xstate/react';
import React, { useEffect } from 'react';
import { ActivityIndicator, View } from 'react-native';
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/buttons/PrimaryButton.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import React from 'react';

import { amber50, black, slate300, white } from '../../utils/colors';
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/buttons/PrimaryButtonLongHold.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import React, { useEffect, useState } from 'react';
import {
Animated,
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/buttons/SecondaryButton.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import React from 'react';

import { slate200, slate300, slate500, white } from '../../utils/colors';
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/buttons/pressedStyle.tsx
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

SPDX identifier is incorrect – use BUSL-1.1 instead of BSL-1.1.

BSL-1.1 clashes with the existing SPDX ID for the Boost Software License.
The official identifier for “Business Source License 1.1” is BUSL-1.1; many compliance/scanning tools rely on this exact token.

-//  SPDX-License-Identifier: BSL-1.1
+//  SPDX-License-Identifier: BUSL-1.1

Apply this change (and the same fix in every other file touched by the PR) to avoid false-negative license detection.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.
// SPDX-License-Identifier: BUSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.
🤖 Prompt for AI Agents
In app/src/components/buttons/pressedStyle.tsx at lines 1 to 9, the SPDX license
identifier is incorrectly written as BSL-1.1. Replace all instances of BSL-1.1
with the correct SPDX identifier BUSL-1.1 to ensure proper license recognition
by compliance tools. Apply the same correction to all other files modified in
this PR that contain this license header.

export const pressedStyle = { transform: [{ scale: 0.99 }], opacity: 0.85 };
9 changes: 9 additions & 0 deletions app/src/components/native/PassportCamera.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import React, { useCallback } from 'react';
import {
NativeSyntheticEvent,
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/native/QRCodeScanner.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-License-Identifier: BSL-1.1
// Copyright (c) 2025 Social Connect Labs, Inc.
//
// This file is licensed under the Business Source License 1.1 (BSL-1.1).
//
// Use of this software is governed by the Business Source License included in the LICENSE file.
//
// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0.

import React, { useCallback } from 'react';
import {
NativeSyntheticEvent,
Expand Down
Loading
Loading