Merge branch 'dev' of codeup.aliyun.com:61c14a7efa282c88e103c23f/oak-external-sdk into dev

This commit is contained in:
梁朝伟 2023-12-05 18:19:27 +08:00
commit d59c6c4340
12 changed files with 34 additions and 7 deletions

View File

@ -23,7 +23,7 @@ export class AliSmsInstance {
};
}
async sendSms(params) {
console.log('react-native走不到这里');
console.log('react-native走不到这里[ali/sms.native');
return {};
}
}

View File

@ -1,6 +1,6 @@
export class TencentSmsInstance {
async sendSms(params) {
console.log('react-native走不到这里');
console.log('react-native走不到这里[tencent/sms.native]');
return {};
}
}

2
es/utils/cheerio/index.native.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
declare function load(content: string): void;
export { load };

View File

@ -0,0 +1,5 @@
import { assert } from 'oak-domain/lib/utils/assert';
function load(content) {
assert(false, 'cheerio load not implemented');
}
export { load };

View File

@ -26,7 +26,7 @@ class AliSmsInstance {
};
}
async sendSms(params) {
console.log('react-native走不到这里');
console.log('react-native走不到这里[ali/sms.native');
return {};
}
}

View File

@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.TencentSmsInstance = void 0;
class TencentSmsInstance {
async sendSms(params) {
console.log('react-native走不到这里');
console.log('react-native走不到这里[tencent/sms.native]');
return {};
}
}

2
lib/utils/cheerio/index.native.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
declare function load(content: string): void;
export { load };

View File

@ -0,0 +1,8 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.load = void 0;
const assert_1 = require("oak-domain/lib/utils/assert");
function load(content) {
(0, assert_1.assert)(false, 'cheerio load not implemented');
}
exports.load = load;

View File

@ -1,6 +1,6 @@
{
"name": "oak-external-sdk",
"version": "1.0.14",
"version": "2.0.1",
"description": "",
"author": {
"name": "XuChang"

View File

@ -47,7 +47,7 @@ export class AliSmsInstance {
}
async sendSms(params: SendSmsRequest) {
console.log('react-native走不到这里');
console.log('react-native走不到这里[ali/sms.native');
return {} as SendSmsResponse;
}
}

View File

@ -5,7 +5,7 @@ import {
export class TencentSmsInstance {
async sendSms(params: SendSmsRequest) {
console.log('react-native走不到这里');
console.log('react-native走不到这里[tencent/sms.native]');
return {} as SendSmsResponse;
}
}

View File

@ -0,0 +1,10 @@
import { assert } from 'oak-domain/lib/utils/assert';
function load(content: string) {
assert(false, 'cheerio load not implemented');
}
export {
load
}