@obb871001/api-integration-sdk 1.0.212 → 1.0.213

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.js CHANGED
@@ -7181,8 +7181,20 @@ const Hr = /* @__PURE__ */ zi(Br), xe = {
7181
7181
  );
7182
7182
  return () => clearInterval(u);
7183
7183
  }, [l]);
7184
- const U = I(() => {
7185
- }, [d, p, g]);
7184
+ const U = I(
7185
+ (u, y) => {
7186
+ d && (console.log("Trigger Open Notification"), p.dispatch({
7187
+ type: "ui/openNotificationModal",
7188
+ payload: {
7189
+ title: kn[g] || "System Prompt",
7190
+ content: u,
7191
+ type: "warning",
7192
+ props: y
7193
+ }
7194
+ })), console.log("Trigger No Open Notification");
7195
+ },
7196
+ [d, p, g]
7197
+ );
7186
7198
  return ba(() => {
7187
7199
  t.current = s;
7188
7200
  }, [s]), ba(() => {
@@ -7226,17 +7238,7 @@ const Hr = /* @__PURE__ */ zi(Br), xe = {
7226
7238
  case xe.MAINTAIN_NOTICE:
7227
7239
  U(N, {
7228
7240
  notificationType: "maintainNotice"
7229
- }), p.dispatch({
7230
- type: "ui/openNotificationModal",
7231
- payload: {
7232
- title: kn[g] || "System Prompt",
7233
- content: N,
7234
- type: "warning",
7235
- props: {
7236
- notificationType: "maintainNotice"
7237
- }
7238
- }
7239
- }), console.log("Trigger"), h?.(x);
7241
+ }), h?.(x);
7240
7242
  break;
7241
7243
  case xe.MAINTAIN_NOTICE_MEMBER:
7242
7244
  L && (U(N), S?.(x), setTimeout(() => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@obb871001/api-integration-sdk",
3
3
  "private": false,
4
- "version": "1.0.212",
4
+ "version": "1.0.213",
5
5
  "description": "集成API",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",