@yelon/util 17.2.0 → 17.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,6 +35,10 @@ export interface YunzaiAuthConfig {
35
35
  * 忽略TOKEN的URL地址列表,默认值为:`[/\/login/, /assets\//, /passport\//]`
36
36
  */
37
37
  ignores?: RegExp[];
38
+ /**
39
+ * 允许匿名登录KEY,若请求参数中带有该KEY表示忽略TOKEN,默认:`_allow_anonymous`
40
+ */
41
+ allow_anonymous_key?: string;
38
42
  /**
39
43
  * 刷新间隔时长(单位:ms),默认:`3000`
40
44
  */
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9jb25maWcvYXV0aC9hdXRoLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgWXVuemFpQXV0aENvbmZpZyB7XG4gIC8qKlxuICAgKiDlrZjlgqhLRVnlgLzvvIzpu5jorqTvvJpgX3Rva2VuYFxuICAgKi9cbiAgc3RvcmVfa2V5Pzogc3RyaW5nO1xuICAvKipcbiAgICog5peg5pWI5pe26Lez6L2s6Iez55m75b2V6aG177yM6buY6K6k77yaYHRydWVg77yM5YyF5ous77yaXG4gICAqIC0g5peg5pWIdG9rZW7lgLxcbiAgICogLSB0b2tlbuW3sui/h+acn++8iOmZkEpXVO+8iVxuICAgKi9cbiAgdG9rZW5faW52YWxpZF9yZWRpcmVjdD86IGJvb2xlYW47XG4gIC8qKlxuICAgKiB0b2tlbui/h+acn+aXtumXtOWBj+enu+WAvO+8jOm7mOiupO+8mmAxMGAg56eS77yI5Y2V5L2N77ya56eS77yJXG4gICAqL1xuICB0b2tlbl9leHBfb2Zmc2V0PzogbnVtYmVyO1xu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ioq5qC55o2uIGByZWZyZXNoVGltZWAg5YCN5pWw5p2l6K6+572uXG4gICAqL1xuICByZWZyZXNoT2Zmc2V0PzogbnVtYmVyO1xufVxuIl19
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9jb25maWcvYXV0aC9hdXRoLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgWXVuemFpQXV0aENvbmZpZyB7XG4gIC8qKlxuICAgKiDlrZjlgqhLRVnlgLzvvIzpu5jorqTvvJpgX3Rva2VuYFxuICAgKi9cbiAgc3RvcmVfa2V5Pzogc3RyaW5nO1xuICAvKipcbiAgICog5peg5pWI5pe26Lez6L2s6Iez55m75b2V6aG177yM6buY6K6k77yaYHRydWVg77yM5YyF5ous77yaXG4gICAqIC0g5peg5pWIdG9rZW7lgLxcbiAgICogLSB0b2tlbuW3sui/h+acn++8iOmZkEpXVO+8iVxuICAgKi9cbiAgdG9rZW5faW52YWxpZF9yZWRpcmVjdD86IGJvb2xlYW47XG4gIC8qKlxuICAgKiB0b2tlbui/h+acn+aXtumXtOWBj+enu+WAvO+8jOm7mOiupO+8mmAxMGAg56eS77yI5Y2V5L2N77ya56eS77yJXG4gICAqL1xuICB0b2tlbl9leHBfb2Zmc2V0PzogbnVtYmVyO1xuICAvKipcbiAgICog5Y+R6YCBdG9rZW7lj4LmlbDlkI3vvIzpu5jorqTvvJrCt1xuICAgKi9cbiAgdG9rZW5fc2VuZF9rZXk/OiBzdHJpbmc7XG4gIC8qKlxuICAgKiDlj5HpgIF0b2tlbuaooeadv++8iOm7mOiupOS4uu+8mmAnJHt0b2tlbn0nYO+8ie+8jOS9v+eUqCBgJHt0b2tlbn1gI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nJlc2hUaW1lYCDlgI3mlbDmnaXorr7nva5cbiAgICovXG4gIHJlZnJlc2hPZmZzZXQ/OiBudW1iZXI7XG59XG4iXX0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yelon/util",
3
- "version": "17.2.0",
3
+ "version": "17.2.2",
4
4
  "author": "yunzai-bot<yunzai-bot@outlook.com>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -47,29 +47,29 @@
47
47
  "esm": "./esm2022/browser/browser.mjs",
48
48
  "default": "./fesm2022/browser.mjs"
49
49
  },
50
- "./config": {
51
- "types": "./config/index.d.ts",
52
- "esm2022": "./esm2022/config/config.mjs",
53
- "esm": "./esm2022/config/config.mjs",
54
- "default": "./fesm2022/config.mjs"
55
- },
56
50
  "./date-time": {
57
51
  "types": "./date-time/index.d.ts",
58
52
  "esm2022": "./esm2022/date-time/date-time.mjs",
59
53
  "esm": "./esm2022/date-time/date-time.mjs",
60
54
  "default": "./fesm2022/date-time.mjs"
61
55
  },
56
+ "./form": {
57
+ "types": "./form/index.d.ts",
58
+ "esm2022": "./esm2022/form/form.mjs",
59
+ "esm": "./esm2022/form/form.mjs",
60
+ "default": "./fesm2022/form.mjs"
61
+ },
62
62
  "./decorator": {
63
63
  "types": "./decorator/index.d.ts",
64
64
  "esm2022": "./esm2022/decorator/decorator.mjs",
65
65
  "esm": "./esm2022/decorator/decorator.mjs",
66
66
  "default": "./fesm2022/decorator.mjs"
67
67
  },
68
- "./form": {
69
- "types": "./form/index.d.ts",
70
- "esm2022": "./esm2022/form/form.mjs",
71
- "esm": "./esm2022/form/form.mjs",
72
- "default": "./fesm2022/form.mjs"
68
+ "./config": {
69
+ "types": "./config/index.d.ts",
70
+ "esm2022": "./esm2022/config/config.mjs",
71
+ "esm": "./esm2022/config/config.mjs",
72
+ "default": "./fesm2022/config.mjs"
73
73
  },
74
74
  "./format": {
75
75
  "types": "./format/index.d.ts",
@@ -95,36 +95,36 @@
95
95
  "esm": "./esm2022/mtypes/mtypes.mjs",
96
96
  "default": "./fesm2022/mtypes.mjs"
97
97
  },
98
- "./other": {
99
- "types": "./other/index.d.ts",
100
- "esm2022": "./esm2022/other/other.mjs",
101
- "esm": "./esm2022/other/other.mjs",
102
- "default": "./fesm2022/other.mjs"
103
- },
104
98
  "./pipes": {
105
99
  "types": "./pipes/index.d.ts",
106
100
  "esm2022": "./esm2022/pipes/pipes.mjs",
107
101
  "esm": "./esm2022/pipes/pipes.mjs",
108
102
  "default": "./fesm2022/pipes.mjs"
109
103
  },
104
+ "./other": {
105
+ "types": "./other/index.d.ts",
106
+ "esm2022": "./esm2022/other/other.mjs",
107
+ "esm": "./esm2022/other/other.mjs",
108
+ "default": "./fesm2022/other.mjs"
109
+ },
110
110
  "./token": {
111
111
  "types": "./token/index.d.ts",
112
112
  "esm2022": "./esm2022/token/token.mjs",
113
113
  "esm": "./esm2022/token/token.mjs",
114
114
  "default": "./fesm2022/token.mjs"
115
115
  },
116
- "./pipes/currency": {
117
- "types": "./pipes/currency/index.d.ts",
118
- "esm2022": "./esm2022/pipes/currency/pipe-currency.mjs",
119
- "esm": "./esm2022/pipes/currency/pipe-currency.mjs",
120
- "default": "./fesm2022/pipe-currency.mjs"
121
- },
122
116
  "./pipes/filter": {
123
117
  "types": "./pipes/filter/index.d.ts",
124
118
  "esm2022": "./esm2022/pipes/filter/pipe-filter.mjs",
125
119
  "esm": "./esm2022/pipes/filter/pipe-filter.mjs",
126
120
  "default": "./fesm2022/pipe-filter.mjs"
127
121
  },
122
+ "./pipes/currency": {
123
+ "types": "./pipes/currency/index.d.ts",
124
+ "esm2022": "./esm2022/pipes/currency/pipe-currency.mjs",
125
+ "esm": "./esm2022/pipes/currency/pipe-currency.mjs",
126
+ "default": "./fesm2022/pipe-currency.mjs"
127
+ },
128
128
  "./pipes/format": {
129
129
  "types": "./pipes/format/index.d.ts",
130
130
  "esm2022": "./esm2022/pipes/format/pipe-format.mjs",