New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ai-sdk/ui-utils

Package Overview
Dependencies
Maintainers
0
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/ui-utils - npm Package Compare versions

Comparing version 1.1.10 to 1.1.11

6

CHANGELOG.md
# @ai-sdk/ui-utils
## 1.1.11
### Patch Changes
- 318b351: fix (ui): update ui before automatic client-side tool call is executed
## 1.1.10

@@ -4,0 +10,0 @@

27

dist/index.js

@@ -179,2 +179,14 @@ "use strict";

// src/duplicated/usage.ts
function calculateLanguageModelUsage({
promptTokens,
completionTokens
}) {
return {
promptTokens,
completionTokens,
totalTokens: promptTokens + completionTokens
};
}
// src/parse-partial-json.ts

@@ -856,14 +868,2 @@ var import_provider_utils = require("@ai-sdk/provider-utils");

// src/duplicated/usage.ts
function calculateLanguageModelUsage({
promptTokens,
completionTokens
}) {
return {
promptTokens,
completionTokens,
totalTokens: promptTokens + completionTokens
};
}
// src/process-chat-response.ts

@@ -1019,2 +1019,3 @@ async function processChatResponse({

updateToolInvocationPart(value.toolCallId, invocation);
execUpdate();
if (onToolCall) {

@@ -1031,5 +1032,5 @@ const result = await onToolCall({ toolCall: value });

updateToolInvocationPart(value.toolCallId, invocation2);
execUpdate();
}
}
execUpdate();
},

@@ -1036,0 +1037,0 @@ onToolResultPart(value) {

{
"name": "@ai-sdk/ui-utils",
"version": "1.1.10",
"version": "1.1.11",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "sideEffects": false,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc