@ai-sdk/provider-utils 2.1.7 → 2.1.8
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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/test/dist/index.d.mts +5 -1
- package/test/dist/index.d.ts +5 -1
- package/test/dist/index.js +10 -0
- package/test/dist/index.js.map +1 -1
- package/test/dist/index.mjs +9 -0
- package/test/dist/index.mjs.map +1 -1
package/test/dist/index.mjs
CHANGED
@@ -18488,6 +18488,14 @@ var JsonTestServer = class {
|
|
18488
18488
|
}
|
18489
18489
|
};
|
18490
18490
|
|
18491
|
+
// src/test/mock-id.ts
|
18492
|
+
function mockId({
|
18493
|
+
prefix = "id"
|
18494
|
+
} = {}) {
|
18495
|
+
let counter = 0;
|
18496
|
+
return () => `${prefix}-${counter++}`;
|
18497
|
+
}
|
18498
|
+
|
18491
18499
|
// src/test/streaming-test-server.ts
|
18492
18500
|
var StreamingTestServer = class {
|
18493
18501
|
/**
|
@@ -18843,6 +18851,7 @@ export {
|
|
18843
18851
|
convertResponseStreamToArray,
|
18844
18852
|
createTestServer,
|
18845
18853
|
describeWithTestServer,
|
18854
|
+
mockId,
|
18846
18855
|
withTestServer
|
18847
18856
|
};
|
18848
18857
|
/*! Bundled license information:
|