@sunggang/ui-lib 0.1.8 → 0.1.9

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 -2
  2. package/package.json +1 -1
package/index.esm3.js CHANGED
@@ -61286,7 +61286,7 @@ function _ts_values(o) {
61286
61286
  value: function _initRequest(t, e) {
61287
61287
  var _$n = this.xhr = new XMLHttpRequest();
61288
61288
  if (e.size > aD) return this._renderModal(this._errorContent(e)), void t();
61289
- _$n.open("POST", "https://dev-api-web.sunggang.com.tw/file_upload/upload_pic/event"), _$n.responseType = "json";
61289
+ _$n.open("POST", "https://dev-api-web.sunggang.com.tw/file_upload/upload_pic/booking"), _$n.responseType = "json";
61290
61290
  }
61291
61291
  },
61292
61292
  {
@@ -61313,7 +61313,7 @@ function _ts_values(o) {
61313
61313
  value: function _sendRequest(t) {
61314
61314
  var e = new FormData();
61315
61315
  e.append("pic_file", t, t.name);
61316
- var _$n = JSON.parse(localStorage.getItem("sg-auth-storage"));
61316
+ var _$n = JSON.parse(localStorage.getItem("one-gobo-book-memberLogin-storage"));
61317
61317
  this.xhr.setRequestHeader("Authorization", _$n === null || _$n === void 0 ? void 0 : _$n.state.access_token), this.xhr.send(e);
61318
61318
  }
61319
61319
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "dependencies": {
5
5
  "@radix-ui/react-switch": "^1.0.3",
6
6
  "class-variance-authority": "^0.7.0",