We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2baa149 commit b7ea175Copy full SHA for b7ea175
src/core.ts
@@ -818,7 +818,8 @@ const getPlatformProperties = (): PlatformProperties => {
818
'X-Stainless-OS': normalizePlatform(Deno.build.os),
819
'X-Stainless-Arch': normalizeArch(Deno.build.arch),
820
'X-Stainless-Runtime': 'deno',
821
- 'X-Stainless-Runtime-Version': Deno.version,
+ 'X-Stainless-Runtime-Version':
822
+ typeof Deno.version === 'string' ? Deno.version : Deno.version?.deno ?? 'unknown',
823
};
824
}
825
if (typeof EdgeRuntime !== 'undefined') {
0 commit comments