Skip to content

Commit

Permalink
Merge branch 'main' into flutter-aggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushBherwani1998 authored Oct 17, 2024
2 parents 985af79 + 18cde58 commit b9bfb34
Show file tree
Hide file tree
Showing 238 changed files with 96,867 additions and 269,419 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ test-args.txt
~*.docx
\#*\#
.\#*
dist
build
tests/baselines/local/*
tests/baselines/local.old/*
tests/services/baselines/local/*
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ results in a standard cryptographic key provider specific to the user and applic
| `@web3auth/single-factor-auth` | `React - Vite` | [SFA Quick Start - React Vite](/single-factor-auth-web/quick-starts/sfa-react-vite-quick-start/) |
| `@web3auth/single-factor-auth` | `JavaScript` | [SFA Quick Start - Vanilla JS](/single-factor-auth-web/quick-starts/sfa-vanillajs-quick-start/) |
| `@web3auth/single-factor-auth` | `Vue.js` | [SFA Quick Start - Vue](/single-factor-auth-web/quick-starts/sfa-vue-quick-start/) |
| Playgrounds | | |
| `@web3auth/single-factor-auth` | `React` | [SFA Playground - React](/single-factor-auth-web/sfa-web-react-playground/) |
| Other examples | | |
| `@web3auth/single-factor-auth` | `React` | [SFA Aggregate Verifier - React](/single-factor-auth-web/sfa-web-aggregate-verifier-example/) |
| `@web3auth/single-factor-auth` | `React` | [SFA Auth0 example - React](/single-factor-auth-web/sfa-web-auth0-example/) |
Expand Down Expand Up @@ -90,4 +88,4 @@ Ask us on our [Community Forum](https://community.web3auth.io/) or reach out to

## License

[![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](/LICENSE)
[MIT License](/LICENSE)
8 changes: 3 additions & 5 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
"useWorkspaces": false,
"version": "0.0.0",
"packages": [
"mpc-core-kit/**/*",
"node-sdk/**/*",
"single-factor-auth-web/**/*",
"tkey-web/**/*",
"single-factor-auth-react-native/**/*"
"mpc-core-kit-web/**/*",
"single-factor-auth-node/**/*",
"single-factor-auth-web/**/*"
]
}
4 changes: 2 additions & 2 deletions mpc-core-kit-react-native/mpc-core-kit-rn-auth0/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function Home() {
}
};

const exportMnemonicFactor = async (): Promise<void> => {
const createMnemonicFactor = async (): Promise<void> => {
if (!coreKitInstance) {
throw new Error('coreKitInstance is not set');
}
Expand Down Expand Up @@ -476,7 +476,7 @@ function Home() {
<Button title="Enable MFA" onPress={enableMFA} />
<Button
title="Generate Backup (Mnemonic) - CreateFactor"
onPress={exportMnemonicFactor}
onPress={createMnemonicFactor}
/>
<Button title="Get Device Factor" onPress={() => getDeviceFactor()} />
<Button title="Store Device Factor" onPress={() => storeDeviceFactor()} />
Expand Down
4 changes: 2 additions & 2 deletions mpc-core-kit-react-native/mpc-core-kit-rn-quick-start/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export default function App() {
};
// IMP END - Export Social Account Factor

const exportMnemonicFactor = async (): Promise<void> => {
const createMnemonicFactor = async (): Promise<void> => {
if (!coreKitInstance) {
throw new Error('coreKitInstance is not set');
}
Expand Down Expand Up @@ -544,7 +544,7 @@ export default function App() {
<Button title="Enable MFA" onPress={enableMFA} />
<Button
title="Generate Backup (Mnemonic) - CreateFactor"
onPress={exportMnemonicFactor}
onPress={createMnemonicFactor}
/>
<Button title="Get Device Factor" onPress={() => getDeviceFactor()} />
{/* <Button title="Store Device Factor" onPress={() => storeDeviceFactor()} /> */}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Include these lines for polyfills -->
<script type="module">
import { Buffer } from "buffer";
import process from "process";
window.Buffer = Buffer;
window.process = process;
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
<!-- Optionally, you can rename index.tsx to main.tsx to be consistent with Vite folder structure. -->
</body>
</html>
Loading

0 comments on commit b9bfb34

Please sign in to comment.