Comparing version 0.0.1-beta.10 to 0.0.1-beta.11
@@ -512,7 +512,7 @@ import { createRequire as topLevelCreateRequire } from 'module' | ||
async function readStream(stream) { | ||
let result = ""; | ||
const chunks = []; | ||
for await (const chunk of stream) { | ||
result += chunk; | ||
chunks.push(chunk); | ||
} | ||
return result; | ||
return Buffer.concat(chunks).toString("utf8"); | ||
} | ||
@@ -519,0 +519,0 @@ var ApiRequest = class { |
{ | ||
"name": "@ampt/api", | ||
"version": "0.0.1-beta.10", | ||
"version": "0.0.1-beta.11", | ||
"type": "module", | ||
@@ -19,4 +19,4 @@ "types": "dist/index.d.ts", | ||
"suretype": "^3.2.0", | ||
"@ampt/sdk": "^1.0.0" | ||
"@ampt/sdk": "^1.0.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
39473
Updated@ampt/sdk@^1.0.1