electron-webauthn 0.0.1 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ import { create, get } from "../index";
2
+ export declare const webauthn: {
3
+ create: typeof create;
4
+ get: typeof get;
5
+ };
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,QAAQ;;;CAGpB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.webauthn = void 0;
4
+ const index_1 = require("../index");
5
+ exports.webauthn = {
6
+ create: index_1.create,
7
+ get: index_1.get,
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../ts/index.ts"],"names":[],"mappings":";;;AAAA,oCAAuC;AAE1B,QAAA,QAAQ,GAAG;IACtB,MAAM,EAAN,cAAM;IACN,GAAG,EAAH,WAAG;CACJ,CAAC"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "electron-webauthn",
3
- "version": "0.0.1",
4
- "main": "index.js",
5
- "types": "index.d.ts",
3
+ "version": "0.0.5",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
6
  "napi": {
7
7
  "name": "electron-webauthn",
8
8
  "triples": {
@@ -20,7 +20,8 @@
20
20
  ],
21
21
  "devDependencies": {
22
22
  "@napi-rs/cli": "^2.18.4",
23
- "ava": "^6.0.1"
23
+ "ava": "^6.0.1",
24
+ "typescript": "^5.8.3"
24
25
  },
25
26
  "ava": {
26
27
  "timeout": "3m"
@@ -30,7 +31,9 @@
30
31
  },
31
32
  "scripts": {
32
33
  "artifacts": "napi artifacts",
33
- "build": "napi build --platform --release",
34
+ "build": "yarn run build:ts && yarn run build:rust",
35
+ "build:ts": "tsc",
36
+ "build:rust": "napi build --platform --release",
34
37
  "build:debug": "napi build --platform",
35
38
  "prepublishOnly": "napi prepublish -t npm",
36
39
  "test": "ava",
@@ -38,13 +41,13 @@
38
41
  "version": "napi version"
39
42
  },
40
43
  "packageManager": "yarn@4.9.2",
41
- "repository": "https://github.com/iamEvanYT/electron-webauthn-native",
42
- "description": "Add support for WebAuthn for Electron.",
44
+ "repository": "https://github.com/iamEvanYT/electron-webauthn.git",
45
+ "description": "Add support for WebAuthn in Electron.",
43
46
  "optionalDependencies": {
44
- "electron-webauthn-win32-x64-msvc": "0.0.1",
45
- "electron-webauthn-darwin-x64": "0.0.1",
46
- "electron-webauthn-linux-x64-gnu": "0.0.1",
47
- "electron-webauthn-darwin-arm64": "0.0.1",
48
- "electron-webauthn-win32-arm64-msvc": "0.0.1"
47
+ "electron-webauthn-win32-x64-msvc": "0.0.5",
48
+ "electron-webauthn-darwin-x64": "0.0.5",
49
+ "electron-webauthn-linux-x64-gnu": "0.0.5",
50
+ "electron-webauthn-darwin-arm64": "0.0.5",
51
+ "electron-webauthn-win32-arm64-msvc": "0.0.5"
49
52
  }
50
53
  }