Merge branch 'dev' into release

This commit is contained in:
Xu Chang 2024-02-22 19:59:36 +08:00
commit 64e5569d11
8 changed files with 45 additions and 18 deletions

View File

@ -0,0 +1,4 @@
import { io } from './weapp.socket.io.wx.js';
import { Socket } from "socket.io-client";
export default io;
export { Socket, };

View File

@ -1,8 +1,6 @@
"use strict";
// 这里要处理小程序环境下的socketIO待定
/* import { io } from 'weapp.socket.io';
// @ts-ignore
import { io } from './weapp.socket.io.wx.js';
import { Socket } from "socket.io-client";
export default io;
export {
Socket,
}; */
export { Socket, };

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import { io } from './weapp.socket.io.wx.js';
import { Socket } from "socket.io-client";
export default io;
export { Socket, };

View File

@ -1,8 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Socket = void 0;
// 这里要处理小程序环境下的socketIO待定
/* import { io } from 'weapp.socket.io';
import { Socket } from "socket.io-client";
export default io;
export {
Socket,
}; */
// @ts-ignore
const weapp_socket_io_wx_js_1 = require("./weapp.socket.io.wx.js");
const socket_io_client_1 = require("socket.io-client");
Object.defineProperty(exports, "Socket", { enumerable: true, get: function () { return socket_io_client_1.Socket; } });
exports.default = weapp_socket_io_wx_js_1.io;

View File

@ -1,6 +1,6 @@
{
"name": "oak-frontend-base",
"version": "4.2.1",
"version": "4.2.2",
"description": "oak框架中前端与业务逻辑无关的平台部分",
"author": {
"name": "XuChang"
@ -22,7 +22,7 @@
"i18n-js": "^4.3.0",
"node-schedule": "^2.1.1",
"oak-common-aspect": "^2.2.5",
"oak-domain": "^4.2.0",
"oak-domain": "^4.2.1",
"oak-memory-tree-store": "^3.1.4",
"ol": "^7.3.0",
"react-native-device-info": "^10.12.0",
@ -31,8 +31,7 @@
"react-responsive": "^9.0.2",
"rmc-pull-to-refresh": "^1.0.13",
"socket.io-client": "^4.7.2",
"uuid": "^8.3.2",
"weapp.socket.io": "^2.2.1"
"uuid": "^8.3.2"
},
"peerDependencies": {
"@ant-design/icons": ">=5.2.6",
@ -94,4 +93,4 @@
"module": "es/index",
"types": "es/index.d.ts",
"typings": "es/index.d.ts"
}
}

View File

@ -1,7 +1,8 @@
// 这里要处理小程序环境下的socketIO待定
/* import { io } from 'weapp.socket.io';
// @ts-ignore
import { io } from './weapp.socket.io.wx.js';
import { Socket } from "socket.io-client";
export default io;
export {
Socket,
}; */
};

File diff suppressed because one or more lines are too long