@mux/ai 0.49.0 → 0.50.0
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/dist/index.d.ts +1 -2
- package/dist/index.js +1 -24
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import '@ai-sdk/google';
|
|
|
10
10
|
import '@ai-sdk/openai';
|
|
11
11
|
import '@mux/ts';
|
|
12
12
|
|
|
13
|
-
var version = "0.
|
|
13
|
+
var version = "0.50.0";
|
|
14
14
|
|
|
15
15
|
type MuxAiErrorType = "validation_error" | "processing_error" | "timeout_error" | "content_policy_error";
|
|
16
16
|
/**
|
|
@@ -116,7 +116,6 @@ interface WorkflowStorageClientOptions {
|
|
|
116
116
|
* operations compatible across edge/ESM and Node runtimes.
|
|
117
117
|
*/
|
|
118
118
|
declare class WorkflowStorageClient {
|
|
119
|
-
static classId: string;
|
|
120
119
|
private readonly accessKeyId?;
|
|
121
120
|
private readonly secretAccessKey?;
|
|
122
121
|
constructor(options?: WorkflowStorageClientOptions);
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var __export = (target, all) => {
|
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
// package.json
|
|
8
|
-
var version = "0.
|
|
8
|
+
var version = "0.50.0";
|
|
9
9
|
|
|
10
10
|
// src/lib/language-codes.ts
|
|
11
11
|
var ISO639_1_TO_3 = {
|
|
@@ -1741,27 +1741,6 @@ async function createPresignedGetUrl({
|
|
|
1741
1741
|
return `${resolvedEndpoint.origin}${canonicalUri}?${queryWithSignature}`;
|
|
1742
1742
|
}
|
|
1743
1743
|
|
|
1744
|
-
// src/lib/workflow-serialization.ts
|
|
1745
|
-
var WORKFLOW_CLASS_REGISTRY = /* @__PURE__ */ Symbol.for("workflow-class-registry");
|
|
1746
|
-
function registerWorkflowSerializationClass(classId, cls) {
|
|
1747
|
-
const globalObject = globalThis;
|
|
1748
|
-
let registry = globalObject[WORKFLOW_CLASS_REGISTRY];
|
|
1749
|
-
if (!registry) {
|
|
1750
|
-
registry = /* @__PURE__ */ new Map();
|
|
1751
|
-
globalObject[WORKFLOW_CLASS_REGISTRY] = registry;
|
|
1752
|
-
}
|
|
1753
|
-
registry.set(classId, cls);
|
|
1754
|
-
const serializableClass = cls;
|
|
1755
|
-
if (serializableClass.classId !== classId) {
|
|
1756
|
-
Object.defineProperty(cls, "classId", {
|
|
1757
|
-
value: classId,
|
|
1758
|
-
writable: false,
|
|
1759
|
-
enumerable: false,
|
|
1760
|
-
configurable: false
|
|
1761
|
-
});
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
1744
|
// src/lib/workflow-storage-client.ts
|
|
1766
1745
|
var WorkflowStorageClient = class {
|
|
1767
1746
|
constructor(options = {}) {
|
|
@@ -1813,8 +1792,6 @@ var WorkflowStorageClient = class {
|
|
|
1813
1792
|
return new this(value);
|
|
1814
1793
|
}
|
|
1815
1794
|
};
|
|
1816
|
-
WorkflowStorageClient.classId = "WorkflowStorageClient";
|
|
1817
|
-
registerWorkflowSerializationClass(WorkflowStorageClient.classId, WorkflowStorageClient);
|
|
1818
1795
|
function createWorkflowStorageClient(options = {}) {
|
|
1819
1796
|
return new WorkflowStorageClient(options);
|
|
1820
1797
|
}
|