From e04da0a06cbb3ece9868ad9c61f2f148f6487fc5 Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Sat, 14 Sep 2024 18:16:42 -0300 Subject: [PATCH] Revert "Update SPDX-License-Identifier" This reverts commit a3dfa0d4f48be52c6ed636ba8760ee8cc7358118. --- examples/api.js | 2 +- examples/bot.js | 2 +- examples/client.js | 2 +- examples/server.js | 2 +- scripts/esbuild.js | 2 +- src/api.ts | 2 +- src/bot.ts | 2 +- src/client.ts | 2 +- src/constants.ts | 2 +- src/index.ts | 2 +- src/models/cluster.ts | 2 +- src/models/profile.ts | 2 +- src/node.ts | 2 +- src/options.ts | 2 +- src/server.ts | 2 +- src/socket/index.ts | 2 +- src/token.ts | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/examples/api.js b/examples/api.js index 6f74357..34d9d16 100644 --- a/examples/api.js +++ b/examples/api.js @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT import dotenv from 'dotenv'; import { TribufuApi } from '../build/index.mjs'; diff --git a/examples/bot.js b/examples/bot.js index 3abf1cf..347605f 100644 --- a/examples/bot.js +++ b/examples/bot.js @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT import dotenv from 'dotenv'; import { TribufuBot } from '../build/index.mjs'; diff --git a/examples/client.js b/examples/client.js index e5d7ac9..026d208 100644 --- a/examples/client.js +++ b/examples/client.js @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT import dotenv from 'dotenv'; import { TribufuClient } from '../build/index.mjs'; diff --git a/examples/server.js b/examples/server.js index 8236802..78e41e1 100644 --- a/examples/server.js +++ b/examples/server.js @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT import dotenv from 'dotenv'; import { TribufuServer } from '../build/index.mjs'; diff --git a/scripts/esbuild.js b/scripts/esbuild.js index fa4b770..ea28cd6 100644 --- a/scripts/esbuild.js +++ b/scripts/esbuild.js @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT import { build } from "esbuild"; import { nodeExternalsPlugin } from "esbuild-node-externals"; diff --git a/src/api.ts b/src/api.ts index 7b84f2f..6061d02 100644 --- a/src/api.ts +++ b/src/api.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT import { HttpHeaders, HttpClient } from "@tribufu/mintaka"; import { JavaScriptRuntime } from "./node"; diff --git a/src/bot.ts b/src/bot.ts index fa0c21f..4b4b63c 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT import { TribufuApi } from "./api"; diff --git a/src/client.ts b/src/client.ts index 0cce0b2..6725759 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT import { HttpCookieMap, HttpHeaders } from "@tribufu/mintaka"; import { OAuth2GrantType, OAuth2IntrospectionRequest, OAuth2IntrospectionResponse, OAuth2TokenRequest, OAuth2TokenResponse } from "@tribufu/mintaka"; diff --git a/src/constants.ts b/src/constants.ts index 8896d07..d791f8d 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT /** * The version of the Tribufu SDK. diff --git a/src/index.ts b/src/index.ts index 53193bc..845cf6d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT import { TRIBUFU_API_URL, diff --git a/src/models/cluster.ts b/src/models/cluster.ts index dcee161..490bd32 100644 --- a/src/models/cluster.ts +++ b/src/models/cluster.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT import { MiniProfile } from "./profile"; diff --git a/src/models/profile.ts b/src/models/profile.ts index b16da1a..d07cd28 100644 --- a/src/models/profile.ts +++ b/src/models/profile.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT export type ProfileType = "user" | "bot" | "org"; diff --git a/src/node.ts b/src/node.ts index 17b644e..a945919 100644 --- a/src/node.ts +++ b/src/node.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT export enum JavaScriptRuntime { Browser, diff --git a/src/options.ts b/src/options.ts index b3b6a19..ff95462 100644 --- a/src/options.ts +++ b/src/options.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT export interface TribufuApiOptions { apiKey?: string | null; diff --git a/src/server.ts b/src/server.ts index 067ca11..33bda1a 100644 --- a/src/server.ts +++ b/src/server.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT import { TribufuClient } from "./client"; diff --git a/src/socket/index.ts b/src/socket/index.ts index fd42580..da87559 100644 --- a/src/socket/index.ts +++ b/src/socket/index.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT /** * Tribufu Socket diff --git a/src/token.ts b/src/token.ts index 704e759..b1f38f8 100644 --- a/src/token.ts +++ b/src/token.ts @@ -1,5 +1,5 @@ // Copyright (c) Tribufu. All Rights Reserved. -// SPDX-License-Identifier: MIT AND Apache-2.0 +// SPDX-License-Identifier: MIT export type TokenType = "user" | "bot" | "client" | "server";