@virtonetwork/authenticators-webauthn 1.2.0 → 1.2.2
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.
|
@@ -39,8 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.WebAuthn = exports.KREIVO_AUTHORITY_ID = exports.InMemoryCredentialsHandler = void 0;
|
|
40
40
|
var signer_1 = require("@virtonetwork/signer");
|
|
41
41
|
var substrate_bindings_1 = require("@polkadot-api/substrate-bindings");
|
|
42
|
-
var types_ts_1 = require("./types.
|
|
43
|
-
var in_memory_credentials_handler_ts_1 = require("./in-memory-credentials-handler.
|
|
42
|
+
var types_ts_1 = require("./types.cjs");
|
|
43
|
+
var in_memory_credentials_handler_ts_1 = require("./in-memory-credentials-handler.cjs");
|
|
44
44
|
Object.defineProperty(exports, "InMemoryCredentialsHandler", { enumerable: true, get: function () { return in_memory_credentials_handler_ts_1.InMemoryCredentialsHandler; } });
|
|
45
45
|
/** Fixed authority id for Kreivo pass‑key attestors. */
|
|
46
46
|
exports.KREIVO_AUTHORITY_ID = substrate_bindings_1.Binary.fromText("kreivo_p".padEnd(32, "\0"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type": "commonjs"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virtonetwork/authenticators-webauthn",
|
|
3
3
|
"description": "An Authenticator compatible with KreivoPassSigner that uses the WebAuthn standard",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"types": "./dist/esm/index.d.ts",
|
|
12
12
|
"module": "./dist/esm/index.js",
|
|
13
13
|
"import": "./dist/esm/index.js",
|
|
14
|
-
"require": "./dist/cjs/index.
|
|
14
|
+
"require": "./dist/cjs/index.cjs"
|
|
15
15
|
},
|
|
16
16
|
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
18
|
-
"main": "./dist/cjs/index.
|
|
18
|
+
"main": "./dist/cjs/index.cjs",
|
|
19
19
|
"module": "./dist/esm/index.js",
|
|
20
20
|
"browser": "./dist/esm/index.js",
|
|
21
21
|
"types": "./dist/esm/index.d.ts",
|
|
22
22
|
"scripts": {
|
|
23
23
|
"test": "node --loader ts-node/esm test/test.ts",
|
|
24
|
-
"build": "tsc && tsc -p tsconfig.cjs.json",
|
|
24
|
+
"build": "tsc && tsc -p tsconfig.cjs.json && node ../../scripts/fix-cjs.js dist/cjs",
|
|
25
25
|
"prepack": "npm run build"
|
|
26
26
|
},
|
|
27
27
|
"author": "Virto Network <contact@virto.networks>",
|
|
File without changes
|
|
File without changes
|