@x-edu/service 0.0.4 → 0.0.5

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.
@@ -7,7 +7,8 @@ export declare const favoriteAuthAPI: ({ uc, env, sdpAppId }: {
7
7
  env: any;
8
8
  sdpAppId: any;
9
9
  }) => import('../../node_modules/@x-edu/functions/dist/request/interface').RequestInstance;
10
- export declare const favoriteAuthAPIWithError: ({ uc, env, }: {
10
+ export declare const favoriteAuthAPIWithError: ({ uc, env, sdpAppId }: {
11
11
  uc: any;
12
12
  env: any;
13
+ sdpAppId: any;
13
14
  }) => import('../../node_modules/@x-edu/functions/dist/request/interface').RequestInstance;
package/dist/service.js CHANGED
@@ -17764,11 +17764,13 @@ const favoriteAuthAPI = ({
17764
17764
  });
17765
17765
  const favoriteAuthAPIWithError = ({
17766
17766
  uc,
17767
- env
17767
+ env,
17768
+ sdpAppId
17768
17769
  }) => getApi({
17769
17770
  host: config[env]["e-favorite-api"],
17770
17771
  prefix: "/v1",
17771
17772
  uc,
17773
+ sdpAppId,
17772
17774
  throwError: true
17773
17775
  });
17774
17776
  const xStudyRecordAPI = ({
package/dist/service.mjs CHANGED
@@ -17762,11 +17762,13 @@ const favoriteAuthAPI = ({
17762
17762
  });
17763
17763
  const favoriteAuthAPIWithError = ({
17764
17764
  uc,
17765
- env
17765
+ env,
17766
+ sdpAppId
17766
17767
  }) => getApi({
17767
17768
  host: config[env]["e-favorite-api"],
17768
17769
  prefix: "/v1",
17769
17770
  uc,
17771
+ sdpAppId,
17770
17772
  throwError: true
17771
17773
  });
17772
17774
  const xStudyRecordAPI = ({
@@ -17766,11 +17766,13 @@ var __publicField = (obj, key, value) => {
17766
17766
  });
17767
17767
  const favoriteAuthAPIWithError = ({
17768
17768
  uc,
17769
- env
17769
+ env,
17770
+ sdpAppId
17770
17771
  }) => getApi({
17771
17772
  host: config[env]["e-favorite-api"],
17772
17773
  prefix: "/v1",
17773
17774
  uc,
17775
+ sdpAppId,
17774
17776
  throwError: true
17775
17777
  });
17776
17778
  const xStudyRecordAPI = ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x-edu/service",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "main": "dist/service.js",
5
5
  "module": "dist/service.mjs",
6
6
  "types": "dist/index.d.ts",