@opexa/portal-sdk 0.59.72 → 0.59.73
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/README.md +1634 -1634
- package/dist/{chunk-MQC7EE6J.js → chunk-2KACCSX3.js} +17 -3
- package/dist/chunk-2KACCSX3.js.map +1 -0
- package/dist/{chunk-5WRVWQBT.js → chunk-7APXFZ5G.js} +3 -3
- package/dist/chunk-7APXFZ5G.js.map +1 -0
- package/dist/{chunk-ROBGEUSE.js → chunk-WVFSGB7Y.js} +2 -2
- package/dist/chunk-WVFSGB7Y.js.map +1 -0
- package/dist/index.cjs +112 -88
- 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 +101 -91
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +14 -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 +2 -2
- package/dist/{types-B8RFcTu9.d.ts → types-C2Mdipgs.d.ts} +13 -1
- package/dist/{types-BqFODW6R.d.cts → types-DXuCcBxY.d.cts} +13 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-5WRVWQBT.js.map +0 -1
- package/dist/chunk-MQC7EE6J.js.map +0 -1
- package/dist/chunk-ROBGEUSE.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { gql, statusCodeToOperationError, callIfFn } from './chunk-
|
|
1
|
+
import { gql, statusCodeToOperationError, callIfFn } from './chunk-WVFSGB7Y.js';
|
|
2
2
|
import { Thumbmark } from '@thumbmarkjs/thumbmarkjs';
|
|
3
3
|
|
|
4
4
|
// src/services/queries.ts
|
|
@@ -55,6 +55,14 @@ var MEMBER_WALLET_ACCOUNT_QUERY = gql`
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
`;
|
|
58
|
+
var MEMBER_LEVEL_HISTORY_QUERY = gql`
|
|
59
|
+
query MemberLevelHistory {
|
|
60
|
+
self {
|
|
61
|
+
id
|
|
62
|
+
memberLevelHistory
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
`;
|
|
58
66
|
var POINTS_WALLET_QUERY = gql`
|
|
59
67
|
query PointsWallet {
|
|
60
68
|
pointsWallet {
|
|
@@ -5592,6 +5600,12 @@ var WalletService = class {
|
|
|
5592
5600
|
);
|
|
5593
5601
|
return res.ok ? { ok: res.ok, data: res.data.self } : res;
|
|
5594
5602
|
}
|
|
5603
|
+
async memberLevelHistory() {
|
|
5604
|
+
const res = await this.client.request(
|
|
5605
|
+
MEMBER_LEVEL_HISTORY_QUERY
|
|
5606
|
+
);
|
|
5607
|
+
return res.ok ? { ok: res.ok, data: res.data.self } : res;
|
|
5608
|
+
}
|
|
5595
5609
|
async deposit(variables) {
|
|
5596
5610
|
const res = await this.client.request(
|
|
5597
5611
|
DEPOSIT_QUERY,
|
|
@@ -6457,5 +6471,5 @@ var ExtensionService = class {
|
|
|
6457
6471
|
};
|
|
6458
6472
|
|
|
6459
6473
|
export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint };
|
|
6460
|
-
//# sourceMappingURL=chunk-
|
|
6461
|
-
//# sourceMappingURL=chunk-
|
|
6474
|
+
//# sourceMappingURL=chunk-2KACCSX3.js.map
|
|
6475
|
+
//# sourceMappingURL=chunk-2KACCSX3.js.map
|