feat(rest)!: allow passing tokens per request (#10682)

BREAKING CHANGE: `RequestData.authPrefix` has been removed in favor of `RequestData.auth.prefix`
This commit is contained in:
ckohen
2025-01-12 21:36:05 -08:00
committed by GitHub
parent 11438c230b
commit ae0265eefc
8 changed files with 71 additions and 22 deletions

9
pnpm-lock.yaml generated
View File

@@ -1318,6 +1318,9 @@ importers:
undici:
specifier: 6.21.0
version: 6.21.0
uuid:
specifier: ^11.0.3
version: 11.0.3
devDependencies:
'@discordjs/api-extractor':
specifier: workspace:^
@@ -12849,6 +12852,10 @@ packages:
util@0.12.5:
resolution: {integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==}
uuid@11.0.3:
resolution: {integrity: sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==}
hasBin: true
uuid@3.3.2:
resolution: {integrity: sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==}
deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
@@ -27849,6 +27856,8 @@ snapshots:
is-typed-array: 1.1.15
which-typed-array: 1.1.18
uuid@11.0.3: {}
uuid@3.3.2: {}
uuid@3.4.0: {}