@cpzxrobot/sdk 1.2.8 → 1.2.9

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/types.d.ts CHANGED
@@ -357,8 +357,8 @@ declare module "@cpzxrobot/sdk" {
357
357
  devAuth: string;
358
358
  baseURL?: string;
359
359
  appCode: string;
360
- selectedFarm: Factory;
361
- selectedUnit: Unit;
360
+ selectedFarm: Factory | null | undefined;
361
+ selectedUnit: Unit | null | undefined;
362
362
  } = {
363
363
  devAuth: "",
364
364
  appCode: "",