@rsmax/one 1.3.13 → 1.3.15-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/cjs/api/index.ali.d.ts +5 -1
- package/cjs/api/index.ali.js +6 -6
- package/cjs/api/index.toutiao.d.ts +5 -1
- package/cjs/api/index.toutiao.js +6 -6
- package/esm/api/index.ali.d.ts +5 -1
- package/esm/api/index.ali.js +6 -1
- package/esm/api/index.toutiao.d.ts +5 -1
- package/esm/api/index.toutiao.js +6 -1
- package/package.json +10 -11
- package/rstest.config.js +6 -0
- package/vitest.config.js +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.3.14](https://github.com/remaxjs/remax/compare/v1.3.13...v1.3.14) (2025-09-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rsmax/one
|
|
9
|
+
|
|
6
10
|
## [1.3.13](https://github.com/remaxjs/remax/compare/v1.3.12...v1.3.13) (2025-06-16)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @rsmax/one
|
package/cjs/api/index.ali.d.ts
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const navigateTo: (arg?: any) => Promise<any>;
|
|
2
|
+
export declare const navigateBack: (arg?: any) => Promise<any>;
|
|
3
|
+
export declare const redirectTo: (arg?: any) => Promise<any>;
|
|
4
|
+
export declare const reLaunch: (arg?: any) => Promise<any>;
|
|
5
|
+
export declare const switchTab: (arg?: any) => Promise<any>;
|
package/cjs/api/index.ali.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.switchTab = exports.reLaunch = exports.redirectTo = exports.navigateBack = exports.navigateTo = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
const framework_shared_1 = require("@rsmax/framework-shared");
|
|
5
|
+
exports.navigateTo = (0, framework_shared_1.promisify)(my.navigateTo);
|
|
6
|
+
exports.navigateBack = (0, framework_shared_1.promisify)(my.navigateBack);
|
|
7
|
+
exports.redirectTo = (0, framework_shared_1.promisify)(my.redirectTo);
|
|
8
|
+
exports.reLaunch = (0, framework_shared_1.promisify)(my.reLaunch);
|
|
9
|
+
exports.switchTab = (0, framework_shared_1.promisify)(my.switchTab);
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const navigateTo: (arg?: any) => Promise<any>;
|
|
2
|
+
export declare const navigateBack: (arg?: any) => Promise<any>;
|
|
3
|
+
export declare const redirectTo: (arg?: any) => Promise<any>;
|
|
4
|
+
export declare const reLaunch: (arg?: any) => Promise<any>;
|
|
5
|
+
export declare const switchTab: (arg?: any) => Promise<any>;
|
package/cjs/api/index.toutiao.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.switchTab = exports.reLaunch = exports.redirectTo = exports.navigateBack = exports.navigateTo = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
const framework_shared_1 = require("@rsmax/framework-shared");
|
|
5
|
+
exports.navigateTo = (0, framework_shared_1.promisify)(tt.navigateTo);
|
|
6
|
+
exports.navigateBack = (0, framework_shared_1.promisify)(tt.navigateBack);
|
|
7
|
+
exports.redirectTo = (0, framework_shared_1.promisify)(tt.redirectTo);
|
|
8
|
+
exports.reLaunch = (0, framework_shared_1.promisify)(tt.reLaunch);
|
|
9
|
+
exports.switchTab = (0, framework_shared_1.promisify)(tt.switchTab);
|
package/esm/api/index.ali.d.ts
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const navigateTo: (arg?: any) => Promise<any>;
|
|
2
|
+
export declare const navigateBack: (arg?: any) => Promise<any>;
|
|
3
|
+
export declare const redirectTo: (arg?: any) => Promise<any>;
|
|
4
|
+
export declare const reLaunch: (arg?: any) => Promise<any>;
|
|
5
|
+
export declare const switchTab: (arg?: any) => Promise<any>;
|
package/esm/api/index.ali.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { promisify } from '@rsmax/framework-shared';
|
|
2
|
+
export const navigateTo = promisify(my.navigateTo);
|
|
3
|
+
export const navigateBack = promisify(my.navigateBack);
|
|
4
|
+
export const redirectTo = promisify(my.redirectTo);
|
|
5
|
+
export const reLaunch = promisify(my.reLaunch);
|
|
6
|
+
export const switchTab = promisify(my.switchTab);
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const navigateTo: (arg?: any) => Promise<any>;
|
|
2
|
+
export declare const navigateBack: (arg?: any) => Promise<any>;
|
|
3
|
+
export declare const redirectTo: (arg?: any) => Promise<any>;
|
|
4
|
+
export declare const reLaunch: (arg?: any) => Promise<any>;
|
|
5
|
+
export declare const switchTab: (arg?: any) => Promise<any>;
|
package/esm/api/index.toutiao.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { promisify } from '@rsmax/framework-shared';
|
|
2
|
+
export const navigateTo = promisify(tt.navigateTo);
|
|
3
|
+
export const navigateBack = promisify(tt.navigateBack);
|
|
4
|
+
export const redirectTo = promisify(tt.redirectTo);
|
|
5
|
+
export const reLaunch = promisify(tt.reLaunch);
|
|
6
|
+
export const switchTab = promisify(tt.switchTab);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsmax/one",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15-alpha.29+42a6372",
|
|
4
4
|
"description": "Rsmax 小程序多端方案",
|
|
5
5
|
"repository": "git+https://github.com/remaxjs/remax.git",
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,22 +13,21 @@
|
|
|
13
13
|
"postbuild": "node ./scripts/postbuild.js",
|
|
14
14
|
"build:cjs": "tsc --module CommonJS --outDir cjs",
|
|
15
15
|
"clean": "rimraf cjs esm tsconfig.tsbuildinfo",
|
|
16
|
-
"test": "
|
|
16
|
+
"test": "rstest run"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@rsmax/ali": "1.3.
|
|
20
|
-
"@rsmax/framework-shared": "1.3.
|
|
21
|
-
"@rsmax/
|
|
22
|
-
"@rsmax/
|
|
23
|
-
"@rsmax/
|
|
24
|
-
"@rsmax/
|
|
25
|
-
"@rsmax/wechat": "1.3.13",
|
|
19
|
+
"@rsmax/ali": "1.3.15-alpha.29+42a6372",
|
|
20
|
+
"@rsmax/framework-shared": "1.3.15-alpha.29+42a6372",
|
|
21
|
+
"@rsmax/runtime": "1.3.15-alpha.29+42a6372",
|
|
22
|
+
"@rsmax/toutiao": "1.3.15-alpha.29+42a6372",
|
|
23
|
+
"@rsmax/web": "1.3.15-alpha.29+42a6372",
|
|
24
|
+
"@rsmax/wechat": "1.3.15-alpha.29+42a6372",
|
|
26
25
|
"clsx": "^2.1.1",
|
|
27
26
|
"memoize-one": "^5.1.1",
|
|
28
27
|
"react-autosize-textarea": "^7.0.0"
|
|
29
28
|
},
|
|
30
29
|
"devDependencies": {
|
|
31
|
-
"@rsmax/types": "1.3.
|
|
30
|
+
"@rsmax/types": "1.3.15-alpha.29+42a6372",
|
|
32
31
|
"@types/react": "^18.3.0",
|
|
33
32
|
"@types/react-dom": "^18.3.0",
|
|
34
33
|
"@types/react-test-renderer": "^18.3.0",
|
|
@@ -40,5 +39,5 @@
|
|
|
40
39
|
"access": "public"
|
|
41
40
|
},
|
|
42
41
|
"esnext": "./esm/index.js",
|
|
43
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "42a6372a437e9f43f5bf03de5a4e15302caaccee"
|
|
44
43
|
}
|
package/rstest.config.js
ADDED