@ray-js/lock-sdk 1.1.1-beta.13 → 1.1.1-beta.15

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.
@@ -89,7 +89,7 @@ const reportAdd = [
89
89
  const remove = [
90
90
  ...common,
91
91
  {
92
- name: "category",
92
+ name: "operation",
93
93
  },
94
94
  ];
95
95
  const reportRemove = [
@@ -161,7 +161,7 @@ declare const remove: readonly [{
161
161
  }, {
162
162
  readonly name: "unlockId";
163
163
  }, {
164
- readonly name: "target";
164
+ readonly name: "operation";
165
165
  }];
166
166
  declare const reportRemove: ({
167
167
  readonly name: "type";
@@ -176,7 +176,7 @@ declare const reportRemove: ({
176
176
  } | {
177
177
  readonly name: "unlockId";
178
178
  } | {
179
- readonly name: "target";
179
+ readonly name: "operation";
180
180
  } | {
181
181
  name: string;
182
182
  })[];
@@ -649,7 +649,7 @@ declare const _default: {
649
649
  }, {
650
650
  readonly name: "unlockId";
651
651
  }, {
652
- readonly name: "target";
652
+ readonly name: "operation";
653
653
  }];
654
654
  reportRemove: ({
655
655
  readonly name: "type";
@@ -664,7 +664,7 @@ declare const _default: {
664
664
  } | {
665
665
  readonly name: "unlockId";
666
666
  } | {
667
- readonly name: "target";
667
+ readonly name: "operation";
668
668
  } | {
669
669
  name: string;
670
670
  })[];
@@ -87,7 +87,7 @@ const reportAdd = [
87
87
  const remove = [
88
88
  ...common,
89
89
  {
90
- name: "target",
90
+ name: "operation",
91
91
  },
92
92
  ];
93
93
  const reportRemove = [
package/lib/temporary.js CHANGED
@@ -241,11 +241,7 @@ export const updateTempCustom = async (params) => {
241
241
  };
242
242
  const getOfflinePassword = async (params) => {
243
243
  try {
244
- const res = await createOfflinePassword(params);
245
- return {
246
- ...res,
247
- pwd: parseOfflinePassword(res.pwd),
248
- };
244
+ return await createOfflinePassword(params);
249
245
  }
250
246
  catch (error) {
251
247
  throw handleError(error);
@@ -479,7 +479,7 @@ export const deleteUnlockMethod = parallelOnly(async (id) => {
479
479
  admin: isAdmin(userType),
480
480
  memberId: lockUserId,
481
481
  unlockId,
482
- target: 1,
482
+ operation: 1,
483
483
  };
484
484
  const res = await publishDps({
485
485
  [removeDPCode]: dpUtils.format(dpData, (config.supportBigData ? removeBigMap : removeMap)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/lock-sdk",
3
- "version": "1.1.1-beta.13",
3
+ "version": "1.1.1-beta.15",
4
4
  "files": [
5
5
  "lib",
6
6
  "LICENSE.md"