@blueking/bk-user-selector 0.0.38-beta.2 → 0.0.38-beta.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/bk-user-selector",
3
- "version": "0.0.38-beta.2",
3
+ "version": "0.0.38-beta.3",
4
4
  "description": "蓝鲸用户选择器",
5
5
  "license": "MIT",
6
6
  "author": "Tencent BlueKing",
@@ -10678,15 +10678,10 @@ const generateCallbackName = () => {
10678
10678
  const jsonpRequest = (requestUrl, options = {}) => {
10679
10679
  return new Promise((resolve, reject) => {
10680
10680
  const url = unref(requestUrl);
10681
- const { timeout = 1e3 * 60 * 2, params, withCredentials = false } = options;
10681
+ const { timeout = 1e3 * 60 * 2, params } = options;
10682
10682
  const callbackName = generateCallbackName();
10683
10683
  const script = document.createElement("script");
10684
10684
  let timeoutId;
10685
- if (withCredentials) {
10686
- script.crossOrigin = "use-credentials";
10687
- } else {
10688
- script.crossOrigin = "anonymous";
10689
- }
10690
10685
  const cleanup = () => {
10691
10686
  if (timeoutId) {
10692
10687
  clearTimeout(timeoutId);
@@ -17336,15 +17336,10 @@ ${$(r2)}`), n2;
17336
17336
  const jsonpRequest = (requestUrl, options = {}) => {
17337
17337
  return new Promise((resolve2, reject) => {
17338
17338
  const url = unref(requestUrl);
17339
- const { timeout = 1e3 * 60 * 2, params, withCredentials = false } = options;
17339
+ const { timeout = 1e3 * 60 * 2, params } = options;
17340
17340
  const callbackName = generateCallbackName();
17341
17341
  const script = document.createElement("script");
17342
17342
  let timeoutId;
17343
- if (withCredentials) {
17344
- script.crossOrigin = "use-credentials";
17345
- } else {
17346
- script.crossOrigin = "anonymous";
17347
- }
17348
17343
  const cleanup = () => {
17349
17344
  if (timeoutId) {
17350
17345
  clearTimeout(timeoutId);
@@ -10700,15 +10700,10 @@ ${$(r2)}`), n2;
10700
10700
  const jsonpRequest = (requestUrl, options = {}) => {
10701
10701
  return new Promise((resolve, reject) => {
10702
10702
  const url = __WEBPACK_EXTERNAL_MODULE_vue__.unref(requestUrl);
10703
- const { timeout = 1e3 * 60 * 2, params, withCredentials = false } = options;
10703
+ const { timeout = 1e3 * 60 * 2, params } = options;
10704
10704
  const callbackName = generateCallbackName();
10705
10705
  const script = document.createElement("script");
10706
10706
  let timeoutId;
10707
- if (withCredentials) {
10708
- script.crossOrigin = "use-credentials";
10709
- } else {
10710
- script.crossOrigin = "anonymous";
10711
- }
10712
10707
  const cleanup = () => {
10713
10708
  if (timeoutId) {
10714
10709
  clearTimeout(timeoutId);
@@ -8,15 +8,10 @@ const generateCallbackName = () => {
8
8
  const jsonpRequest = (requestUrl, options = {}) => {
9
9
  return new Promise((resolve, reject) => {
10
10
  const url = unref(requestUrl);
11
- const { timeout = 1e3 * 60 * 2, params, withCredentials = false } = options;
11
+ const { timeout = 1e3 * 60 * 2, params } = options;
12
12
  const callbackName = generateCallbackName();
13
13
  const script = document.createElement("script");
14
14
  let timeoutId;
15
- if (withCredentials) {
16
- script.crossOrigin = "use-credentials";
17
- } else {
18
- script.crossOrigin = "anonymous";
19
- }
20
15
  const cleanup = () => {
21
16
  if (timeoutId) {
22
17
  clearTimeout(timeoutId);
@@ -10707,15 +10707,10 @@ ${$(r2)}`), n2;
10707
10707
  const jsonpRequest = (requestUrl, options = {}) => {
10708
10708
  return new Promise((resolve, reject) => {
10709
10709
  const url = __WEBPACK_EXTERNAL_MODULE_vue__.unref(requestUrl);
10710
- const { timeout = 1e3 * 60 * 2, params, withCredentials = false } = options;
10710
+ const { timeout = 1e3 * 60 * 2, params } = options;
10711
10711
  const callbackName = generateCallbackName();
10712
10712
  const script = document.createElement("script");
10713
10713
  let timeoutId;
10714
- if (withCredentials) {
10715
- script.crossOrigin = "use-credentials";
10716
- } else {
10717
- script.crossOrigin = "anonymous";
10718
- }
10719
10714
  const cleanup = () => {
10720
10715
  if (timeoutId) {
10721
10716
  clearTimeout(timeoutId);
@@ -13,15 +13,10 @@
13
13
  const jsonpRequest = (requestUrl, options = {}) => {
14
14
  return new Promise((resolve, reject) => {
15
15
  const url = vue.unref(requestUrl);
16
- const { timeout = 1e3 * 60 * 2, params, withCredentials = false } = options;
16
+ const { timeout = 1e3 * 60 * 2, params } = options;
17
17
  const callbackName = generateCallbackName();
18
18
  const script = document.createElement("script");
19
19
  let timeoutId;
20
- if (withCredentials) {
21
- script.crossOrigin = "use-credentials";
22
- } else {
23
- script.crossOrigin = "anonymous";
24
- }
25
20
  const cleanup = () => {
26
21
  if (timeoutId) {
27
22
  clearTimeout(timeoutId);