@wolfstar/shared-http-pieces 2.0.2 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,24 +1,24 @@
1
1
  import * as Sentry from "@sentry/node";
2
2
  //#region src/lib/information.d.ts
3
- declare function setRepository(url: string): void;
4
- declare function getRepository(): string;
5
- declare function setInvite(clientId: string, permissions?: string): void;
6
- declare function getInvite(): string | null;
3
+ export declare function setRepository(url: string): void;
4
+ export declare function getRepository(): string;
5
+ export declare function setInvite(clientId: string, permissions?: string): void;
6
+ export declare function getInvite(): string | null;
7
7
  //#endregion
8
8
  //#region src/lib/sentry.d.ts
9
- declare function isSentryInitialized(): boolean;
10
- declare function initializeSentry(options?: SentryOptions): void;
11
- interface SentryOptions extends Omit<Sentry.NodeOptions, 'dsn'> {
9
+ export declare function isSentryInitialized(): boolean;
10
+ export declare function initializeSentry(options?: SentryOptions): void;
11
+ export interface SentryOptions extends Omit<Sentry.NodeOptions, 'dsn'> {
12
12
  root?: URL | string;
13
13
  }
14
14
  //#endregion
15
15
  //#region src/lib/utilities/register-command.d.ts
16
- declare function registerCommands(): Promise<void>;
16
+ export declare function registerCommands(): Promise<void>;
17
17
  declare module '@wolfstar/env-utilities' {
18
18
  interface Env {
19
19
  REGISTRY_GUILD_ID: string;
20
20
  }
21
21
  }
22
22
  //#endregion
23
- export { Sentry, SentryOptions, getInvite, getRepository, initializeSentry, isSentryInitialized, registerCommands, setInvite, setRepository };
23
+ export { Sentry };
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/lib/information.ts","../src/lib/sentry.ts","../src/lib/utilities/register-command.ts"],"mappings":";;iBAGgB,cAAc;iBAId;iBAIA,UAAU,kBAAkB;iBAI5B;;;iBCTA;iBAIA,iBAAiB,UAAS;UAwCzB,sBAAsB,KAAK,OAAO;EAClD,OAAO;;;;iBChDc,oBAAgB;;YAS3B;IACT"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/lib/information.ts","../src/lib/sentry.ts","../src/lib/utilities/register-command.ts"],"mappings":";;wBAGgB,cAAc;wBAId;wBAIA,UAAU,kBAAkB;wBAI5B;;;wBCTA;wBAIA,iBAAiB,UAAS;iBAwCzB,sBAAsB,KAAK,OAAO;EAClD,OAAO;;;;wBChDc,oBAAgB;;YAS3B;IACT"}
@@ -4,7 +4,6 @@ import { Command, Listener } from "@wolfstar/http-framework";
4
4
  * Path pattern for this package's bundled locales, in the format
5
5
  * `@wolfstar/plugin-i18next` expects for `i18n.backend.paths`.
6
6
  */
7
- declare const localesPath: string;
7
+ export declare const localesPath: string;
8
8
  //#endregion
9
- export { localesPath };
10
9
  //# sourceMappingURL=register.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"register.d.ts","names":[],"sources":["../src/register.ts"],"mappings":";;;;;;cAWa"}
1
+ {"version":3,"file":"register.d.ts","names":[],"sources":["../src/register.ts"],"mappings":";;;;;;qBAWa"}
package/dist/register.js CHANGED
@@ -9,7 +9,7 @@ import { ButtonStyle, ComponentType, MessageFlags } from "discord-api-types/v10"
9
9
  import { cpus, uptime } from "node:os";
10
10
  import { getRootData } from "@sapphire/pieces";
11
11
 
12
- //#region \0@oxc-project+runtime@0.144.0/helpers/esm/decorate.js
12
+ //#region \0@oxc-project+runtime@0.149.0/helpers/esm/decorate.js
13
13
  function __decorate(decorators, target, key, desc) {
14
14
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
15
15
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wolfstar/shared-http-pieces",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "The common pieces for Star Network's HTTP-only bots",
5
5
  "keywords": [
6
6
  "api",
@@ -50,17 +50,17 @@
50
50
  "@discordjs/builders": "^1.14.1",
51
51
  "@discordjs/collection": "^2.1.1",
52
52
  "@sapphire/pieces": "^4.4.1",
53
- "@sentry/node": "^10.73.0",
54
- "@wolfstar/env-utilities": "^2.0.8",
55
- "@wolfstar/http-framework": "^3.6.0",
56
- "@wolfstar/plugin-i18next": "2.0.1",
53
+ "@sentry/node": "^10.74.0",
54
+ "@wolfstar/env-utilities": "^2.1.1",
55
+ "@wolfstar/http-framework": "^4.0.1",
56
+ "@wolfstar/plugin-i18next": "2.0.2",
57
57
  "discord-api-types": "^0.38.8",
58
58
  "i18next": "^25.10.10",
59
59
  "tslib": "^2.8.1"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@vitest/coverage-v8": "^4.1.11",
63
- "@wolfstar/i18next-type-generator": "^3.1.2",
63
+ "@wolfstar/i18next-type-generator": "^3.1.3",
64
64
  "golar": "^0.1.10",
65
65
  "typescript": "~7.0.2",
66
66
  "vitest": "^4.1.11"