Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use hardcoded v3 license #30626

Closed
wants to merge 2 commits into from
Closed
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
10 changes: 1 addition & 9 deletions ee/packages/license/babel.config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{
"presets": ["@babel/preset-typescript"],
"plugins": [
[
"transform-inline-environment-variables",
{
"include": ["LICENSE_PUBLIC_KEY_V3"]
}
]
]
"presets": ["@babel/preset-typescript"]
}
1 change: 0 additions & 1 deletion ee/packages/license/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"@types/bcrypt": "^5.0.0",
"@types/jest": "~29.5.3",
"@types/ws": "^8.5.5",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"eslint": "~8.45.0",
"jest": "~29.6.1",
"jest-environment-jsdom": "~29.6.1",
Expand Down
3 changes: 2 additions & 1 deletion ee/packages/license/src/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import type { ILicenseV3 } from './definition/ILicenseV3';
const PUBLIC_LICENSE_KEY_V2 =
'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQ0lqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FnOEFNSUlDQ2dLQ0FnRUFxV1Nza2Q5LzZ6Ung4a3lQY2ljcwpiMzJ3Mnd4VnV3N3lCVDk2clEvOEQreU1lQ01POXdTU3BIYS85bkZ5d293RXRpZ3B0L3dyb1BOK1ZHU3didHdQCkZYQmVxRWxCbmRHRkFsODZlNStFbGlIOEt6L2hHbkNtSk5tWHB4RUsyUkUwM1g0SXhzWVg3RERCN010eC9pcXMKY2pCL091dlNCa2ppU2xlUzdibE5JVC9kQTdLNC9DSjNvaXUwMmJMNEV4Y2xDSGVwenFOTWVQM3dVWmdweE9uZgpOT3VkOElYWUs3M3pTY3VFOEUxNTdZd3B6Q0twVmFIWDdaSmY4UXVOc09PNVcvYUlqS2wzTDYyNjkrZUlPRXJHCndPTm1hSG56Zmc5RkxwSmh6Z3BPMzhhVm43NnZENUtLakJhaldza1krNGEyZ1NRbUtOZUZxYXFPb3p5RUZNMGUKY0ZXWlZWWjNMZWg0dkVNb1lWUHlJeng5Nng4ZjIveW1QbmhJdXZRdjV3TjRmeWVwYTdFWTVVQ2NwNzF6OGtmUAo0RmNVelBBMElEV3lNaWhYUi9HNlhnUVFaNEdiL3FCQmh2cnZpSkNGemZZRGNKZ0w3RmVnRllIUDNQR0wwN1FnCnZMZXZNSytpUVpQcnhyYnh5U3FkUE9rZ3VyS2pWclhUVXI0QTlUZ2lMeUlYNVVsSnEzRS9SVjdtZk9xWm5MVGEKU0NWWEhCaHVQbG5DR1pSMDFUb1RDZktoTUcxdTBDRm5MMisxNWhDOWZxT21XdjlRa2U0M3FsSjBQZ0YzVkovWAp1eC9tVHBuazlnbmJHOUpIK21mSDM5Um9GdlROaW5Zd1NNdll6dXRWT242OXNPemR3aERsYTkwbDNBQ2g0eENWCks3Sk9YK3VIa29OdTNnMmlWeGlaVU0wQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo=';

const PUBLIC_LICENSE_KEY_V3 = process.env.PUBLIC_LICENSE_KEY_V3 || PUBLIC_LICENSE_KEY_V2;
// TODO we're using V2 key for V3, this is temporary and needs to be replaced by the actual V3 key
const PUBLIC_LICENSE_KEY_V3 = PUBLIC_LICENSE_KEY_V2;

let TEST_KEYS: [string, string] | undefined = undefined;

Expand Down
8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8488,7 +8488,6 @@ __metadata:
"@types/bcrypt": ^5.0.0
"@types/jest": ~29.5.3
"@types/ws": ^8.5.5
babel-plugin-transform-inline-environment-variables: ^0.4.4
bcrypt: ^5.0.1
eslint: ~8.45.0
jest: ~29.6.1
Expand Down Expand Up @@ -15433,13 +15432,6 @@ __metadata:
languageName: node
linkType: hard

"babel-plugin-transform-inline-environment-variables@npm:^0.4.4":
version: 0.4.4
resolution: "babel-plugin-transform-inline-environment-variables@npm:0.4.4"
checksum: fa361287411301237fd8ce332aff4f8e8ccb8db30e87a2ddc7224c8bf7cd792eda47aca24dc2e09e70bce4c027bc8cbe22f4999056be37a25d2472945df21ef5
languageName: node
linkType: hard

"babel-polyfill@npm:^6.2.0":
version: 6.26.0
resolution: "babel-polyfill@npm:6.26.0"
Expand Down
Loading