@opexa/portal-sdk 0.59.133 → 0.59.134

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.
@@ -85,10 +85,11 @@ declare class AccountService {
85
85
  interface FetchOptions {
86
86
  headers?: HeadersInit;
87
87
  }
88
+ type Getter$1<T> = () => T;
88
89
  interface AuthServiceConfig {
89
90
  url: string;
90
91
  graphqlClient?: GraphQLClient;
91
- fetchOptions?: FetchOptions;
92
+ fetchOptions?: FetchOptions | Getter$1<FetchOptions>;
92
93
  }
93
94
  declare class AuthService {
94
95
  private url;
@@ -111,6 +112,10 @@ interface CmsPortalServiceConfig {
111
112
  site: string;
112
113
  platform: string;
113
114
  fetch?: typeof globalThis.fetch | null;
115
+ /**
116
+ * Extra headers appended to every outgoing request.
117
+ */
118
+ headers?: HeadersInit;
114
119
  }
115
120
  type Getter<T> = () => T;
116
121
  declare class CmsPortalService {
@@ -85,10 +85,11 @@ declare class AccountService {
85
85
  interface FetchOptions {
86
86
  headers?: HeadersInit;
87
87
  }
88
+ type Getter$1<T> = () => T;
88
89
  interface AuthServiceConfig {
89
90
  url: string;
90
91
  graphqlClient?: GraphQLClient;
91
- fetchOptions?: FetchOptions;
92
+ fetchOptions?: FetchOptions | Getter$1<FetchOptions>;
92
93
  }
93
94
  declare class AuthService {
94
95
  private url;
@@ -111,6 +112,10 @@ interface CmsPortalServiceConfig {
111
112
  site: string;
112
113
  platform: string;
113
114
  fetch?: typeof globalThis.fetch | null;
115
+ /**
116
+ * Extra headers appended to every outgoing request.
117
+ */
118
+ headers?: HeadersInit;
114
119
  }
115
120
  type Getter<T> = () => T;
116
121
  declare class CmsPortalService {
@@ -1,4 +1,4 @@
1
- export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService } from '../chunk-ISVV44MD.js';
2
- import '../chunk-WVFSGB7Y.js';
1
+ export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService } from '../chunk-SBPWGV33.js';
2
+ import '../chunk-BTV72WJH.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { GraphQLClient } from '../chunk-7APXFZ5G.js';
2
- export { gql } from '../chunk-WVFSGB7Y.js';
1
+ export { GraphQLClient } from '../chunk-7Y7FWND5.js';
2
+ export { gql } from '../chunk-BTV72WJH.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opexa/portal-sdk",
3
3
  "type": "module",
4
- "version": "0.59.133",
4
+ "version": "0.59.134",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",