Update to support ES6
This commit is contained in:
parent
4ec8f6ac83
commit
2872319626
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@paltiverse-public/palauth-iam-node",
|
"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",
|
"repository": "https://gitlab.palk.me/paltiverse-public/palauth-iam-node.git",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://gitlab.palk.me/api/v4/projects/57/packages/npm/"
|
"registry": "https://gitlab.palk.me/api/v4/projects/57/packages/npm/"
|
||||||
@ -22,6 +22,7 @@
|
|||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"prepublishOnly": "yarn run build"
|
"prepublishOnly": "yarn run build"
|
||||||
},
|
},
|
||||||
|
"type": "module",
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"types": "build/index.d.ts",
|
"types": "build/index.d.ts",
|
||||||
"packageManager": "yarn@4.0.2",
|
"packageManager": "yarn@4.0.2",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import type { Optional } from "utility-types"
|
import type { Optional } from "utility-types"
|
||||||
import type { Wretch } from "wretch"
|
import type { Wretch } from "wretch"
|
||||||
import wretch from "wretch"
|
import wretch from "wretch"
|
||||||
import { CheckPermissionRequest, CheckPermissionResponse } from "./types/check"
|
import { CheckPermissionRequest, CheckPermissionResponse } from "./types/check.js"
|
||||||
|
|
||||||
export interface PalAuthIAMConfig {
|
export interface PalAuthIAMConfig {
|
||||||
clientID: string
|
clientID: string
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "commonjs",
|
"module": "NodeNext",
|
||||||
|
"moduleResolution": "NodeNext",
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"inlineSourceMap": true,
|
"inlineSourceMap": true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user