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

@shinkai_protocol/shinkai-typescript-lib

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shinkai_protocol/shinkai-typescript-lib - npm Package Compare versions

Comparing version 0.6.0-development.24 to 0.6.0-development.25

10

dist/schemas/shinkai_name.js

@@ -51,5 +51,5 @@ "use strict";

if (process.env.NODE_ENV !== "test") {
console.error(`Node part of the name should start with '@@' and end with '.shinkai' or '.sepolia-shinkai': ${rawName}`);
console.error(`Node part of the name should start with '@@' and end with '.shinkai' or '.sepolia-shinkai' or '.arb-sep-shinkai': ${rawName}`);
}
throw new Error("Node part of the name should start with '@@' and end with '.shinkai' or '.sepolia-shinkai'.");
throw new Error("Node part of the name should start with '@@' and end with '.shinkai' or '.sepolia-shinkai' or '.arb-sep-shinkai'.");
}

@@ -84,3 +84,3 @@ const partRegex = /^[a-zA-Z0-9_]*$/;

index !== 2 &&
(!partRegex.test(part) || part.includes(".shinkai") || part.includes(".sepolia-shinkai"))) {
(!partRegex.test(part) || part.includes(".shinkai") || part.includes(".sepolia-shinkai") || part.includes(".arb-sep-shinkai"))) {
if (process.env.NODE_ENV !== "test") {

@@ -183,3 +183,3 @@ console.error(`Name parts should be alphanumeric or underscore and not contain '.shinkai': ${rawName}`);

// A node name is valid if it starts with '@@', ends with '.shinkai', and doesn't contain '/'
return (name.startsWith("@@") && (name.endsWith(".shinkai") || name.endsWith(".sepolia-shinkai")) && !name.includes("/"));
return (name.startsWith("@@") && (name.endsWith(".shinkai") || name.endsWith(".sepolia-shinkai") || name.endsWith(".arb-sep-shinkai")) && !name.includes("/"));
}

@@ -235,3 +235,3 @@ contains(other) {

}
if (!nodeName.endsWith(".shinkai") && !nodeName.endsWith(".sepolia-shinkai")) {
if (!nodeName.endsWith(".shinkai") && !nodeName.endsWith(".sepolia-shinkai") && !nodeName.endsWith(".arb-sep-shinkai")) {
nodeName = nodeName + ".shinkai";

@@ -238,0 +238,0 @@ }

{
"name": "@shinkai_protocol/shinkai-typescript-lib",
"version": "0.6.0-development.24",
"version": "0.6.0-development.25",
"description": "Typescript library to build and handle Shinkai Messages",

@@ -5,0 +5,0 @@ "type": "commonjs",

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