@passwordless-id/webauthn
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@passwordless-id/webauthn", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A small wrapper around the webauthn protocol to make one's life easier.", | ||
"main": "src/passwordless.ts", | ||
"browser": "dist/passwordless-id.min.js", | ||
"scripts": { | ||
"build": "esbuild src/passwordless.ts --bundle --sourcemap --minify --target=es2022 --outfile=dist/passwordless-id.min.js" | ||
"build": "esbuild src/passwordless.ts --platform=neutral --bundle --sourcemap --minify --target=es2022 --outfile=dist/passwordless.min.js" | ||
}, | ||
@@ -12,0 +11,0 @@ "repository": { |
@@ -8,12 +8,22 @@ Passwordless.ID / webauthn | ||
Installation/usage | ||
------------------ | ||
Installation / Usage | ||
-------------------- | ||
NPM: | ||
npm install @passwordless-id/webauthn | ||
```bash | ||
npm install @passwordless-id/webauthn | ||
``` | ||
```js | ||
import * as passwordless from '@passwordless-id/webauthn' | ||
``` | ||
Browser: | ||
<script src="https://unpkg.com/@passwordless-id/webauthn@0.0.1/dist/passwordless-id.min.js"></script> | ||
```js | ||
<script type="module"> | ||
import * as passwordless from 'https://unpkg.com/@passwordless-id/webauthn@latest/dist/passwordless.min.js' | ||
</script> | ||
``` | ||
@@ -75,5 +85,5 @@ | ||
Unlike the webauthn protocol, there are some significant differences. | ||
Unlike the [webauthn protocol](), there are some significant differences. | ||
First, some defaults are also different. Most notably: | ||
First, some defaults are different: | ||
@@ -80,0 +90,0 @@ - The `timeout` is one minute by default. |
{ | ||
"compilerOptions": { | ||
"target": "es2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ | ||
"target": "es2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ | ||
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | ||
@@ -5,0 +5,0 @@ "strict": true, /* Enable all strict type-checking options. */ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
483
99
55297