STATUS
--
+ +
Auth Example
+-
- - - - + + +
diff --git a/.github/ISSUE_TEMPLATE/auth_issue.yml b/.github/ISSUE_TEMPLATE/auth_issue.yml index e2a8256..cbd33d4 100644 --- a/.github/ISSUE_TEMPLATE/auth_issue.yml +++ b/.github/ISSUE_TEMPLATE/auth_issue.yml @@ -1,7 +1,7 @@ name: Arcana Auth SDK Bug Report description: File an bug report for Arcana Auth SDK -title: "[Auth_SDK_Issuecw]: " -labels: ["docs", "bug", "triage"] +title: '[Auth_SDK_Issuecw]: ' +labels: ['docs', 'bug', 'triage'] assignees: - makylfang body: @@ -26,7 +26,7 @@ body: required: false - type: markdown attributes: - value: "## Create GitHub Issue for Arcana Auth SDK" + value: '## Create GitHub Issue for Arcana Auth SDK' - type: markdown attributes: value: | @@ -40,7 +40,7 @@ body: label: What happened? description: Describe the scenario and the bug. placeholder: Tell us what you see! - value: "Something did not work when you tried..." + value: 'Something did not work when you tried...' validations: required: true - type: textarea @@ -49,12 +49,12 @@ body: label: Expected Behavior description: Tell us, what did you expect to happen? placeholder: Tell us about the expected behavior! - value: "This error should show up or this value should be returned, etc." + value: 'This error should show up or this value should be returned, etc.' validations: required: true - type: markdown attributes: - value: "## Help us Recreate the Bug" + value: '## Help us Recreate the Bug' - type: textarea id: steps attributes: @@ -62,11 +62,11 @@ body: description: Describe how to reproduce the bug step by step. placeholder: Details value: | - 1. Do this... - 2. Next do this... - 3. ... + 1. Do this... + 2. Next do this... + 3. ... validations: - required: true + required: true - type: markdown attributes: value: | @@ -86,9 +86,9 @@ body: * What's the version of React Native / Vue / JavaScript / TypeScript you're using in your dApp? * Does this issue show up on iOS, Android or both mobileplatforms? * Are you using Mac, Linux or Windows desktop platform? - * Which browser / version you were using to access the Dashboard? + * Which browser / version you were using to access the Dashboard? validations: - required: false + required: false - type: input id: contact attributes: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a61aa69..769848d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: CI -on: +on: pull_request: branches: - dev @@ -13,65 +13,64 @@ on: - 'feature/*' jobs: - lint: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up NodeJS - uses: actions/setup-node@v3 - with: - node-version: 16.0 - - name: Install dependencies - run: npm install - - name: Run linters - uses: wearerequired/lint-action@v2 - with: - eslint: true - prettier: true - prettier_dir: src/ - eslint_dir: src/ - eslint_extensions: js,ts + - name: Checkout + uses: actions/checkout@v2 + - name: Set up NodeJS + uses: actions/setup-node@v3 + with: + node-version: 16.0 + - name: Install dependencies + run: npm install + - name: Run linters + uses: wearerequired/lint-action@v2 + with: + eslint: true + prettier: true + prettier_dir: src/ + eslint_dir: src/ + eslint_extensions: js,ts test: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up NodeJS - uses: actions/setup-node@v3 - with: - node-version: 16.0 - - name: Install dependencies - run: npm install - - name: Test - run: npm test - - name: Upload test coverage - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: /coverage/cobertura-coverage.xml - fail_ci_if_error: true - verbose: true + - name: Checkout + uses: actions/checkout@v2 + - name: Set up NodeJS + uses: actions/setup-node@v3 + with: + node-version: 16.0 + - name: Install dependencies + run: npm install + - name: Test + run: npm test + - name: Upload test coverage + uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: /coverage/cobertura-coverage.xml + fail_ci_if_error: true + verbose: true build: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up NodeJS - uses: actions/setup-node@v3 - with: - node-version: 16.0 - - name: Install dependencies - run: npm install - - name: Build - run: npm run build --if-present + - name: Checkout + uses: actions/checkout@v2 + - name: Set up NodeJS + uses: actions/setup-node@v3 + with: + node-version: 16.0 + - name: Install dependencies + run: npm install + - name: Build + run: npm run build --if-present branch-name: runs-on: ubuntu-latest - name: Check branch name + name: Check branch name steps: - uses: deepakputhraya/action-branch-name@master with: diff --git a/README.md b/README.md index 4219754..fbf03d0 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ The following authentication mechanisms are supported: - Passwordless authentication -Application developers can choose to use plug and play feature of the Auth SDK that provides a default UI for user login. Alternatively, they can build their own UI and simply call the Auth SDK functions for social login and passwordless authentication. +Application developers can choose to use plug and play feature of the Auth SDK that provides a default UI for user login. Alternatively, they can build their own UI and simply call the Auth SDK functions for social login and passwordless authentication. # 💪 Key Features diff --git a/babel.config.json b/babel.config.json index 8ba8da5..3642e69 100644 --- a/babel.config.json +++ b/babel.config.json @@ -1,8 +1,11 @@ - { - "plugins":[ - ["@babel/plugin-transform-react-jsx", { - "pragma": "h" - }] +{ + "plugins": [ + [ + "@babel/plugin-transform-react-jsx", + { + "pragma": "h" + } + ] ], "presets": [ ["@babel/preset-env", { "targets": { "node": "current" } }], diff --git a/examples/index.html b/examples/index.html index e893fa0..b9a672f 100644 --- a/examples/index.html +++ b/examples/index.html @@ -1,84 +1,82 @@ +
+ + + + +