Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polykey",
"version": "2.0.2",
"version": "2.0.3",
"homepage": "https://polykey.com",
"author": "Matrix AI",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion src/status/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { JSONSchemaType, ValidateFunction } from 'ajv';
import type { StatusInfo } from './types.js';
import Ajv from 'ajv';
import StatusSchema from './StatusSchema.json';
import StatusSchema from './StatusSchema.json' assert { type: 'json' };

// @ts-ignore Ajv is improperly exported for ESM
const ajv = new Ajv.default();
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/schemas/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { ValidateFunction } from 'ajv';
import type { SignedTokenEncoded } from '../types.js';
import Ajv from 'ajv';
import SignedTokenEncodedSchema from './SignedTokenEncodedSchema.json';
import SignedTokenEncodedSchema from './SignedTokenEncodedSchema.json' assert { type: 'json' };

// @ts-ignore: Ajv exports is function improperly for ESM
const ajv = new Ajv.default();
Expand Down