@sunggang/ui-lib 0.1.9 → 0.1.11

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.
Files changed (2) hide show
  1. package/index.esm3.js +2 -1
  2. package/package.json +1 -1
package/index.esm3.js CHANGED
@@ -61311,10 +61311,11 @@ function _ts_values(o) {
61311
61311
  {
61312
61312
  key: "_sendRequest",
61313
61313
  value: function _sendRequest(t) {
61314
+ var _n_state_loginAuth_data, _n_state_loginAuth, _n_state;
61314
61315
  var e = new FormData();
61315
61316
  e.append("pic_file", t, t.name);
61316
61317
  var _$n = JSON.parse(localStorage.getItem("one-gobo-book-memberLogin-storage"));
61317
- this.xhr.setRequestHeader("Authorization", _$n === null || _$n === void 0 ? void 0 : _$n.state.access_token), this.xhr.send(e);
61318
+ this.xhr.setRequestHeader("Authorization", _$n === null || _$n === void 0 ? void 0 : (_n_state = _$n.state) === null || _n_state === void 0 ? void 0 : (_n_state_loginAuth = _n_state.loginAuth) === null || _n_state_loginAuth === void 0 ? void 0 : (_n_state_loginAuth_data = _n_state_loginAuth.data) === null || _n_state_loginAuth_data === void 0 ? void 0 : _n_state_loginAuth_data.access_token), this.xhr.send(e);
61318
61319
  }
61319
61320
  }
61320
61321
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "dependencies": {
5
5
  "@radix-ui/react-switch": "^1.0.3",
6
6
  "class-variance-authority": "^0.7.0",