@cloud-print/uni-utils 1.0.5 → 1.0.6

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/dist/index.d.cts CHANGED
@@ -318,7 +318,7 @@ declare const _default: {
318
318
  };
319
319
  //#endregion
320
320
  //#region src/helpers/route.d.ts
321
- export type ToPageOptions = Parameters<typeof uni.navigateTo>[0];
321
+ export type ToPageOptions = UniNamespace.NavigateToOptions;
322
322
  /**
323
323
  * 跳转页面
324
324
  * @param option 跳转选项
package/dist/index.d.mts CHANGED
@@ -318,7 +318,7 @@ declare const _default: {
318
318
  };
319
319
  //#endregion
320
320
  //#region src/helpers/route.d.ts
321
- export type ToPageOptions = Parameters<typeof uni.navigateTo>[0];
321
+ export type ToPageOptions = UniNamespace.NavigateToOptions;
322
322
  /**
323
323
  * 跳转页面
324
324
  * @param option 跳转选项
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-print/uni-utils",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "uniapp 云打印项目工具库",
5
5
  "scripts": {
6
6
  "build": "tsdown",
@@ -58,7 +58,8 @@
58
58
  "dayjs": "^1.11.12",
59
59
  "qs": "^6.12.3",
60
60
  "axios": "^1.7.2",
61
- "@cloud-print/uni-http": "*"
61
+ "@cloud-print/uni-http": "*",
62
+ "@cloud-print/uni-route": "*"
62
63
  },
63
64
  "publishConfig": {
64
65
  "access": "public",