Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@re-ai/inner-tool-sdk

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@re-ai/inner-tool-sdk - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

0

dist/interfaces/wechat.d.ts

@@ -0,0 +0,0 @@ import { RPCClientResponseResult } from "../types/rpc";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

3

dist/services/FileService.js

@@ -28,3 +28,4 @@ "use strict";

try {
Logger_1.Logger.debug('uploadFile', filePath);
Logger_1.Logger.debug('uploadFile', filePath, fileName);
fileName = encodeURIComponent(fileName);
const buffer = (0, fs_1.readFileSync)(filePath);

@@ -31,0 +32,0 @@ const filename = (0, path_1.basename)(filePath);

@@ -0,0 +0,0 @@ import { WechatInterface } from "../interfaces/wechat";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -15,6 +15,6 @@ type OSSResultData = {

data: {
accessKeyId: string;
accessKeySecret: string;
securityToken: string;
expiration: string;
accessKeyId: any;
accessKeySecret: any;
securityToken: any;
expiration: any;
region: string;

@@ -21,0 +21,0 @@ bucket: string;

@@ -0,0 +0,0 @@ ### 示例代码

@@ -0,0 +0,0 @@ # 文件上传及管理

@@ -0,0 +0,0 @@ # 硬件ws消息发送接口sdk

@@ -0,0 +0,0 @@ # OneAPI 接口文档

{
"name": "@re-ai/inner-tool-sdk",
"version": "0.3.1",
"version": "0.3.2",
"description": "ReAI内部接口sdk",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@ export * from './types/sms'

@@ -0,0 +0,0 @@ import { WSBridgePayload } from "../types/bridge";

@@ -0,0 +0,0 @@ import { DIFYChatMessageData, DIFYChunkChatCompletionResponse, DIFYHitTestResult } from "../types/dify";

@@ -0,0 +0,0 @@ import { ExpressQueryReqData, ExpressQueryResData } from "../types/express";

@@ -0,0 +0,0 @@ import { FileData, FileListResult, FileUploadResult } from "../types/file";

@@ -0,0 +0,0 @@ import { HDWSMessageRecieveKeys, HDWSMessageRecieveResultData } from "../../types/hd/message";

@@ -0,0 +0,0 @@ import { HDInfoTypes } from "../../types/hd/message";

@@ -0,0 +0,0 @@ import { OneAPIChannelData, OneAPIChannelListData, OneAPIChannelListReq, OneAPILoginReq, OneAPILoginRes, OneAPILogsListData, OneAPILogsReq, OneAPIModelsData, OneAPIPriceData, OneAPIRedemptionAddReq, OneAPIRedemptionData, OneAPIRedemptionListData, OneAPIRedemptionReq, OneAPIRegisterReq, OneAPIResponse, OneAPISelfData, OneAPITokenAddReq, OneAPITokenData, OneAPITokenListData, OneAPITokenListReq, OneAPITokenUpdateReq, OneAPITopupReq } from "../types/oneapi";

@@ -0,0 +0,0 @@ import { PayOrderCreateData, PayOrderInfo, PayOrderRefundCreateData, PayOrderRefundCreateInfo, PayOrderRefundInfo, PayType } from "../types/pay";

@@ -0,0 +0,0 @@ import { RPCClientResponseResult } from "../types/rpc";

@@ -0,0 +0,0 @@ import { RPCClientResponseResult } from "../types/rpc";

@@ -0,0 +0,0 @@ export interface ITranslate {

@@ -0,0 +0,0 @@ import { DIFYChatCompletionResponse, DIFYChatMessageData, DIFYChunkChatCompletionResponse, DIFYHitTestResult, DIFYOptions } from "../types/dify";

@@ -0,0 +0,0 @@ import axios, { AxiosRequestConfig, AxiosResponse } from "axios";

@@ -0,0 +0,0 @@ import jayson, { TcpClient } from "jayson";

@@ -0,0 +0,0 @@ import WebSocket, { CloseEvent, ErrorEvent, MessageEvent } from "ws"

@@ -0,0 +0,0 @@ import { DifyInterface } from "../interfaces/dify";

@@ -0,0 +0,0 @@ import { ExpressInterface } from "../interfaces/express";

@@ -32,3 +32,4 @@ import { readFileSync } from "fs";

try {
Logger.debug('uploadFile', filePath)
Logger.debug('uploadFile', filePath, fileName)
fileName = encodeURIComponent(fileName)

@@ -35,0 +36,0 @@ const buffer = readFileSync(filePath);

@@ -0,0 +0,0 @@ import WebSocket from "ws";

@@ -0,0 +0,0 @@ // import { join } from "path";

@@ -0,0 +0,0 @@ import { PayInterface } from "../interfaces/pay";

@@ -0,0 +0,0 @@ import WebSocket, { CloseEvent, Data, ErrorEvent, MessageEvent, OpenEvent } from "ws";

@@ -0,0 +0,0 @@ import { SMSInterface } from "../interfaces/sms";

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@ export type DIFYChatMessageData = {

@@ -0,0 +0,0 @@ export type ExpressQueryReqData = {

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@ export enum HDInfoTypes {

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ export type SeamlessOptions = {

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ export enum TextPlatform {

@@ -0,0 +0,0 @@ export const getCurrentDate = (): string => {

@@ -0,0 +0,0 @@ export enum LogLevel {

@@ -0,0 +0,0 @@ {

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