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.2.16 to 0.2.17

0

dist/interfaces/wechat.d.ts

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

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

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

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

2

dist/types/pay.d.ts

@@ -23,2 +23,3 @@ /**

* @param returnUrl 支付成功回调地址
* @param openid 微信openid
*/

@@ -34,2 +35,3 @@ export type PayOrderCreateData = {

notifyUrl?: string;
openid?: string;
};

@@ -36,0 +38,0 @@ /**

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

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

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

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

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

2

package.json
{
"name": "@re-ai/inner-tool-sdk",
"version": "0.2.16",
"version": "0.2.17",
"description": "ReAI内部接口sdk",

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

@@ -6,2 +6,6 @@

+ 2024.07.01
+ 微信支付添加jsapi类型下单,参数添加openid(可选),不传入openid公众号去授权获取
+ 2024.06.30
+ 添加AI翻译seamless接口
+ 2024.06.19

@@ -8,0 +12,0 @@ + 添加dify接口,[示例](./doc/dify.md)

@@ -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 { 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, 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 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 enum HDInfoTypes {

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

@@ -25,2 +25,3 @@ /**

* @param returnUrl 支付成功回调地址
* @param openid 微信openid
*/

@@ -36,2 +37,3 @@ export type PayOrderCreateData = {

notifyUrl?: string // 可选,消息通知地址
openid?: string // wx.jsapi可选填
}

@@ -38,0 +40,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 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