pika-shared 1.2.0 → 1.3.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.
@@ -1,6 +1,7 @@
1
1
  import { BedrockActionGroupLambdaEvent, BedrockActionGroupLambdaResponse, Parameter } from '../types/chatbot/bedrock.mjs';
2
2
  import { SessionDataWithChatUserCustomDataSpreadIn, RecordOrUndef } from '../types/chatbot/chatbot-types.mjs';
3
3
  import '@aws-sdk/client-bedrock-agent-runtime';
4
+ import '@aws-sdk/client-bedrock-agentcore';
4
5
 
5
6
  /**
6
7
  * Handles an error and returns a BedrockLambdaResponse object.
@@ -1,6 +1,7 @@
1
1
  import { BedrockActionGroupLambdaEvent, BedrockActionGroupLambdaResponse, Parameter } from '../types/chatbot/bedrock.js';
2
2
  import { SessionDataWithChatUserCustomDataSpreadIn, RecordOrUndef } from '../types/chatbot/chatbot-types.js';
3
3
  import '@aws-sdk/client-bedrock-agent-runtime';
4
+ import '@aws-sdk/client-bedrock-agentcore';
4
5
 
5
6
  /**
6
7
  * Handles an error and returns a BedrockLambdaResponse object.
@@ -1,5 +1,6 @@
1
1
  import { InstructionAssistanceConfig, TagsChatAppOverridableFeature, AgentInstructionChatAppOverridableFeature, TagDefinition, TagDefinitionWidget } from '../types/chatbot/chatbot-types.mjs';
2
2
  import '@aws-sdk/client-bedrock-agent-runtime';
3
+ import '@aws-sdk/client-bedrock-agentcore';
3
4
 
4
5
  /**
5
6
  * IMPORTANT!!!!!!!!!!!!!!!!!!!!!!
@@ -1,5 +1,6 @@
1
1
  import { InstructionAssistanceConfig, TagsChatAppOverridableFeature, AgentInstructionChatAppOverridableFeature, TagDefinition, TagDefinitionWidget } from '../types/chatbot/chatbot-types.js';
2
2
  import '@aws-sdk/client-bedrock-agent-runtime';
3
+ import '@aws-sdk/client-bedrock-agentcore';
3
4
 
4
5
  /**
5
6
  * IMPORTANT!!!!!!!!!!!!!!!!!!!!!!
@@ -1,5 +1,6 @@
1
1
  import { RecordOrUndef, SimpleAuthenticatedUser } from '../types/chatbot/chatbot-types.mjs';
2
2
  import '@aws-sdk/client-bedrock-agent-runtime';
3
+ import '@aws-sdk/client-bedrock-agentcore';
3
4
 
4
5
  /**
5
6
  * Converts a payload containing a userId and optional customUserData into a JWT string.
@@ -1,5 +1,6 @@
1
1
  import { RecordOrUndef, SimpleAuthenticatedUser } from '../types/chatbot/chatbot-types.js';
2
2
  import '@aws-sdk/client-bedrock-agent-runtime';
3
+ import '@aws-sdk/client-bedrock-agentcore';
3
4
 
4
5
  /**
5
6
  * Converts a payload containing a userId and optional customUserData into a JWT string.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pika-shared",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -22,7 +22,8 @@
22
22
  }
23
23
  },
24
24
  "devDependencies": {
25
- "@aws-sdk/client-bedrock-agent-runtime": "^3.859.0",
25
+ "@aws-sdk/client-bedrock-agent-runtime": "^3.887.0",
26
+ "@aws-sdk/client-bedrock-agentcore": "^3.887.0",
26
27
  "@types/aws-lambda": "^8.10.149",
27
28
  "@types/jsonwebtoken": "^9.0.9",
28
29
  "@types/node": "^22.15.17",