dfx 0.124.0 → 0.124.2
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/DiscordGateway/Messaging.d.ts +74 -74
- package/DiscordGateway/Shard.d.ts +1 -1
- package/DiscordGateway/Sharder.d.ts +1 -1
- package/DiscordREST/Generated.d.ts +724 -622
- package/DiscordREST/Generated.d.ts.map +1 -1
- package/DiscordREST/Generated.js +39 -11
- package/DiscordREST/Generated.js.map +1 -1
- package/DiscordREST.d.ts.map +1 -1
- package/DiscordREST.js +1 -1
- package/DiscordREST.js.map +1 -1
- package/Helpers/permissions.d.ts +2 -2
- package/Interactions/definitions.d.ts +5 -5
- package/mjs/DiscordREST/Generated.mjs +38 -10
- package/mjs/DiscordREST/Generated.mjs.map +1 -1
- package/mjs/DiscordREST.mjs +1 -1
- package/mjs/DiscordREST.mjs.map +1 -1
- package/mjs/version.mjs +1 -1
- package/package.json +3 -3
- package/src/DiscordREST/Generated.ts +778 -760
- package/src/DiscordREST.ts +6 -2
- package/src/version.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/src/DiscordREST.ts
CHANGED
|
@@ -116,7 +116,9 @@ const make = Effect.gen(function* () {
|
|
|
116
116
|
}
|
|
117
117
|
})
|
|
118
118
|
|
|
119
|
-
const defaultClient = yield* HttpClient.HttpClient
|
|
119
|
+
const defaultClient = (yield* HttpClient.HttpClient).pipe(
|
|
120
|
+
HttpClient.withTracerPropagation(false),
|
|
121
|
+
)
|
|
120
122
|
const rateLimitedClient: HttpClient.HttpClient = defaultClient.pipe(
|
|
121
123
|
HttpClient.tapRequest(request =>
|
|
122
124
|
Effect.zipRight(requestRateLimit(request.url, request), globalRateLimit),
|
|
@@ -190,7 +192,9 @@ const make = Effect.gen(function* () {
|
|
|
190
192
|
if (request.body._tag === "Uint8Array") {
|
|
191
193
|
formData.value.set(
|
|
192
194
|
"payload_json",
|
|
193
|
-
new Blob([request.body.body], {
|
|
195
|
+
new Blob([request.body.body as Uint8Array<ArrayBuffer>], {
|
|
196
|
+
type: "application/json",
|
|
197
|
+
}),
|
|
194
198
|
"",
|
|
195
199
|
)
|
|
196
200
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const LIB_VERSION = "0.124.
|
|
1
|
+
export const LIB_VERSION = "0.124.2";
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":[],"fileInfos":[],"root":[],"options":{"allowJs":false,"checkJs":false,"composite":true,"declaration":true,"declarationMap":true,"downlevelIteration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":7,"noEmitOnError":false,"noErrorTruncation":false,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitReturns":false,"noImplicitThis":true,"noUncheckedIndexedAccess":false,"noUnusedLocals":true,"noUnusedParameters":false,"removeComments":false,"skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"stripInternal":true,"target":99},"version":"5.
|
|
1
|
+
{"fileNames":[],"fileInfos":[],"root":[],"options":{"allowJs":false,"checkJs":false,"composite":true,"declaration":true,"declarationMap":true,"downlevelIteration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":7,"noEmitOnError":false,"noErrorTruncation":false,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitReturns":false,"noImplicitThis":true,"noUncheckedIndexedAccess":false,"noUnusedLocals":true,"noUnusedParameters":false,"removeComments":false,"skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"stripInternal":true,"target":99},"version":"5.9.2"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "0.124.
|
|
1
|
+
export declare const LIB_VERSION = "0.124.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED