Update to support ES6

This commit is contained in:
Pal Kerecsenyi 2023-12-23 12:55:51 +00:00
parent 4ec8f6ac83
commit 2872319626
Signed by: palk
GPG Key ID: 6891661E25394C2C
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@paltiverse-public/palauth-iam-node",
"version": "1.0.0",
"version": "1.0.1",
"repository": "https://gitlab.palk.me/paltiverse-public/palauth-iam-node.git",
"publishConfig": {
"registry": "https://gitlab.palk.me/api/v4/projects/57/packages/npm/"
@ -22,6 +22,7 @@
"build": "tsc",
"prepublishOnly": "yarn run build"
},
"type": "module",
"main": "build/index.js",
"types": "build/index.d.ts",
"packageManager": "yarn@4.0.2",

View File

@ -1,7 +1,7 @@
import type { Optional } from "utility-types"
import type { Wretch } from "wretch"
import wretch from "wretch"
import { CheckPermissionRequest, CheckPermissionResponse } from "./types/check"
import { CheckPermissionRequest, CheckPermissionResponse } from "./types/check.js"
export interface PalAuthIAMConfig {
clientID: string

View File

@ -1,6 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noImplicitAny": true,
"removeComments": true,
"inlineSourceMap": true,