@sendelius/vue 0.2.9 → 0.3.0
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/{core → api}/index.d.ts +0 -2
- package/dist/auth/index.d.ts +1 -0
- package/dist/captcha/index.d.ts +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/sendelius-vue.js +3 -3
- package/package.json +1 -1
- /package/dist/{core → api}/api.d.ts +0 -0
- /package/dist/{core → api}/errors.d.ts +0 -0
- /package/dist/{core → api}/requests.d.ts +0 -0
- /package/dist/{core → auth}/auth.d.ts +0 -0
- /package/dist/{core → captcha}/captcha.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useAuth } from './auth.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { captcha } from './captcha.js';
|
package/dist/index.d.ts
CHANGED
package/dist/sendelius-vue.js
CHANGED
|
@@ -51,7 +51,7 @@ var ae = Object.defineProperty, oe = Object.getOwnPropertyDescriptor, se = Objec
|
|
|
51
51
|
super(r.message), this.name = "ApiError", this.status = e, this.data = t, this.error = r, this.field = r.field;
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
|
-
// src/
|
|
54
|
+
// src/api/requests.js
|
|
55
55
|
async function ye(e, t = {}, n = {}) {
|
|
56
56
|
return we("get", e, {
|
|
57
57
|
params: t,
|
|
@@ -90,7 +90,7 @@ async function we(e, t, n = {}, r = {}) {
|
|
|
90
90
|
});
|
|
91
91
|
return a;
|
|
92
92
|
}
|
|
93
|
-
// src/
|
|
93
|
+
// src/auth/auth.js
|
|
94
94
|
var Te = t("auth", {
|
|
95
95
|
state: () => ({
|
|
96
96
|
user: {},
|
|
@@ -150,7 +150,7 @@ var Te = t("auth", {
|
|
|
150
150
|
function Ee() {
|
|
151
151
|
return Te();
|
|
152
152
|
}
|
|
153
|
-
// src/
|
|
153
|
+
// src/captcha/captcha.js
|
|
154
154
|
async function De() {
|
|
155
155
|
let e = await Oe(), t = await Ae(e.challenge);
|
|
156
156
|
return ke(e.id, t);
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|