@opexa/portal-sdk 0.59.85 → 0.59.86
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/{chunk-IT7ND6PF.js → chunk-KTIDTIQ6.js} +23 -2
- package/dist/chunk-KTIDTIQ6.js.map +1 -0
- package/dist/index.cjs +28 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +21 -0
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +4 -3
- package/dist/services/index.d.ts +4 -3
- package/dist/services/index.js +1 -1
- package/dist/{types-BBo3Cpm5.d.cts → types-CHjedE6P.d.cts} +13 -1
- package/dist/{types-D67kK6qx.d.ts → types-yuha_bQI.d.ts} +13 -1
- package/package.json +1 -1
- package/dist/chunk-IT7ND6PF.js.map +0 -1
|
@@ -2097,6 +2097,11 @@ var RESET_PASSWORD_MUTATION = gql`
|
|
|
2097
2097
|
}
|
|
2098
2098
|
}
|
|
2099
2099
|
`;
|
|
2100
|
+
var UPDATE_PASSWORD_MUTATION = gql`
|
|
2101
|
+
mutation UpdatePassword($input: UpdatePasswordInput!) {
|
|
2102
|
+
updatePassword(input: $input)
|
|
2103
|
+
}
|
|
2104
|
+
`;
|
|
2100
2105
|
var DELETE_MEMBER_ACCOUNT_MUTATION = gql`
|
|
2101
2106
|
mutation DeleteMemberAccount($input: DeleteMemberAccountInput!) {
|
|
2102
2107
|
deleteMemberAccount(input: $input)
|
|
@@ -4123,6 +4128,22 @@ var AccountService = class {
|
|
|
4123
4128
|
ok: true
|
|
4124
4129
|
};
|
|
4125
4130
|
}
|
|
4131
|
+
async updatePassword(variables) {
|
|
4132
|
+
const res = await this.client.request(UPDATE_PASSWORD_MUTATION, variables);
|
|
4133
|
+
if (!res.ok) return res;
|
|
4134
|
+
if (!res.data.updatePassword) {
|
|
4135
|
+
return {
|
|
4136
|
+
ok: false,
|
|
4137
|
+
error: {
|
|
4138
|
+
name: "UnknownError",
|
|
4139
|
+
message: "Something went wrong."
|
|
4140
|
+
}
|
|
4141
|
+
};
|
|
4142
|
+
}
|
|
4143
|
+
return {
|
|
4144
|
+
ok: true
|
|
4145
|
+
};
|
|
4146
|
+
}
|
|
4126
4147
|
async profileCompletion() {
|
|
4127
4148
|
const res = await this.client.request(
|
|
4128
4149
|
PROFILE_COMPLETION_QUERY
|
|
@@ -6619,5 +6640,5 @@ var ExtensionService = class {
|
|
|
6619
6640
|
};
|
|
6620
6641
|
|
|
6621
6642
|
export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint };
|
|
6622
|
-
//# sourceMappingURL=chunk-
|
|
6623
|
-
//# sourceMappingURL=chunk-
|
|
6643
|
+
//# sourceMappingURL=chunk-KTIDTIQ6.js.map
|
|
6644
|
+
//# sourceMappingURL=chunk-KTIDTIQ6.js.map
|