@miso.ai/server-wordpress 0.6.3-beta.16 → 0.6.3-beta.17

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/cli/entities.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { Transform } from 'stream';
2
+ import { pipeline } from 'stream/promises';
2
3
  import split2 from 'split2';
3
4
  import { stream, parseDuration } from '@miso.ai/server-commons';
4
5
  import { WordPressClient } from '../src/index.js';
@@ -52,12 +53,12 @@ export async function runTerms(client, name, options) {
52
53
  }
53
54
 
54
55
  export async function runGet(client, name, { transform, ...options }) {
55
- await stream.pipelineToStdout(
56
+ await pipeline(
56
57
  await client.entities(name).stream({
57
58
  ...options,
58
59
  transform,
59
60
  }),
60
- stream.stringify(),
61
+ new stream.OutputStream(),
61
62
  );
62
63
  }
63
64
 
package/package.json CHANGED
@@ -17,9 +17,9 @@
17
17
  "simonpai <simon.pai@askmiso.com>"
18
18
  ],
19
19
  "dependencies": {
20
- "@miso.ai/server-commons": "0.6.3-beta.16",
20
+ "@miso.ai/server-commons": "0.6.3-beta.17",
21
21
  "axios": "^1.6.2",
22
22
  "axios-retry": "^3.3.1"
23
23
  },
24
- "version": "0.6.3-beta.16"
24
+ "version": "0.6.3-beta.17"
25
25
  }
package/src/version.js CHANGED
@@ -1 +1 @@
1
- export default '0.6.3-beta.16';
1
+ export default '0.6.3-beta.17';