Skip to content

Commit

Permalink
Add compiled assets
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattMufson committed Aug 16, 2024
1 parent 7d7a27d commit 16dd220
Show file tree
Hide file tree
Showing 19 changed files with 174 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.idea

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down Expand Up @@ -82,7 +81,7 @@ web_modules/

# Nuxt.js build / generate output
.nuxt
dist
# dist

# Gatsby files
.cache/
Expand Down Expand Up @@ -115,8 +114,8 @@ dist
.yarn/build-state.yml
.pnp.*

build
prebuilds
# build
# prebuilds

# Mac storage
.DS_Store
7 changes: 4 additions & 3 deletions .gitignore.prebuild → .gitignore.main
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.idea

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down Expand Up @@ -81,7 +82,7 @@ web_modules/

# Nuxt.js build / generate output
.nuxt
# dist
dist

# Gatsby files
.cache/
Expand Down Expand Up @@ -114,8 +115,8 @@ web_modules/
.yarn/build-state.yml
.pnp.*

# build
# prebuilds
build
prebuilds

# Mac storage
.DS_Store
1 change: 1 addition & 0 deletions dist/demo/electron-demo.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import './ipcHandlers';
29 changes: 29 additions & 0 deletions dist/demo/electron-demo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/demo/electron-demo.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/demo/ipcHandlers.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
16 changes: 16 additions & 0 deletions dist/demo/ipcHandlers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/demo/ipcHandlers.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/demo/ipcKeys.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare const CREATE_CREDS = "WEBAUTHN-CREATE";
export declare const GET_CREDS = "WEBAUTHN-GET";
6 changes: 6 additions & 0 deletions dist/demo/ipcKeys.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/demo/ipcKeys.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/demo/preload.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
14 changes: 14 additions & 0 deletions dist/demo/preload.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/demo/preload.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
export interface PublicKeyCredentialCreationOptions {
rp: {
id: string;
name: string;
};
user: {
id: ArrayBuffer | string;
name: string;
displayName: string;
};
challenge: ArrayBuffer | string;
pubKeyCredParams: Array<{
type: string;
alg: number;
}>;
timeout?: number;
authenticatorSelection?: {
authenticatorAttachment?: 'platform' | 'cross-platform';
requireResidentKey?: boolean;
userVerification?: 'required' | 'preferred' | 'discouraged';
};
attestation?: 'none' | 'indirect' | 'direct' | 'enterprise';
extensions?: AuthenticationExtensionsClientInputs;
}
type ExtendedAuthenticatorTransport = AuthenticatorTransport | 'smart-card';
export interface CredentialDescriptor {
id: string;
transports: ExtendedAuthenticatorTransport[];
}
export interface PublicKeyCredentialRequestOptions {
rpId?: string;
challenge: Buffer;
allowCredentials?: Array<CredentialDescriptor>;
userVerification?: 'required' | 'preferred' | 'discouraged';
timeout?: number;
extensions?: AuthenticationExtensionsClientInputs;
}
export interface PasskeyOptions {
publicKey: PublicKeyCredentialCreationOptions | PublicKeyCredentialRequestOptions;
mediation?: 'conditional';
signal?: AbortSignal;
}
declare class Passkey {
private static instance;
private handler;
private constructor();
static getInstance(): Passkey;
handlePasskeyCreate(options: PasskeyOptions): Promise<string>;
handlePasskeyGet(options: PasskeyOptions): Promise<string>;
static getPackageName(): string;
}
export default Passkey;
40 changes: 40 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added prebuilds/darwin-arm64/electron-passkey.node
Binary file not shown.
Binary file added prebuilds/darwin-x64/electron-passkey.node
Binary file not shown.

0 comments on commit 16dd220

Please sign in to comment.