@frontegg/rest-api 2.10.38 → 2.10.39

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.10.39](https://github.com/frontegg/typescript-rest-api/compare/v2.10.38...v2.10.39) (2021-10-14)
6
+
5
7
  ### [2.10.38](https://github.com/frontegg/typescript-rest-api/compare/v2.10.37...v2.10.38) (2021-10-13)
6
8
 
7
9
  ### [2.10.37](https://github.com/frontegg/typescript-rest-api/compare/v2.10.36...v2.10.37) (2021-10-13)
@@ -41,30 +41,3 @@ declare const api: {
41
41
  vendor: typeof vendor;
42
42
  };
43
43
  export { fetch, ContextHolder, FronteggContext, api, FronteggApiError };
44
- declare const _default: {
45
- fetch: typeof fetch;
46
- ContextHolder: typeof ContextHolder;
47
- FronteggContext: {
48
- getContext: () => import("./interfaces").ContextOptions;
49
- getAccessToken: () => string | null;
50
- getUser: () => import("./teams/interfaces").IUserProfile | null;
51
- onRedirectTo: (path: string, opts: import("./interfaces").RedirectOptions) => void;
52
- logout: (callback?: (() => void) | undefined) => void;
53
- };
54
- api: {
55
- auth: typeof auth;
56
- teams: typeof teams;
57
- metadata: typeof metadata;
58
- reports: typeof reports;
59
- connectivity: typeof connectivity;
60
- notifications: typeof notifications;
61
- audits: typeof audits;
62
- tenants: typeof tenants;
63
- accountSettings: typeof accountSettings;
64
- roles: typeof roles;
65
- subscriptions: typeof subscriptions;
66
- vendor: typeof vendor;
67
- };
68
- FronteggApiError: typeof FronteggApiError;
69
- };
70
- export default _default;
@@ -41,5 +41,4 @@ const api = {
41
41
  vendor
42
42
  };
43
43
  export { fetch, ContextHolder, FronteggContext, api, FronteggApiError };
44
- export default { fetch, ContextHolder, FronteggContext, api, FronteggApiError };
45
44
  //# sourceMappingURL=index.js.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AAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AAEpC,MAAM,GAAG,GAAG;IACV,IAAI;IACJ,KAAK;IACL,QAAQ;IACR,OAAO;IACP,YAAY;IACZ,aAAa;IACb,MAAM;IACN,OAAO;IACP,eAAe;IACf,KAAK;IACL,aAAa;IACb,MAAM;CACP,CAAC;AAEF,OAAO,EAAC,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,EAAE,gBAAgB,EAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -41,30 +41,3 @@ declare const api: {
41
41
  vendor: typeof vendor;
42
42
  };
43
43
  export { fetch, ContextHolder, FronteggContext, api, FronteggApiError };
44
- declare const _default: {
45
- fetch: typeof fetch;
46
- ContextHolder: typeof ContextHolder;
47
- FronteggContext: {
48
- getContext: () => import("./interfaces").ContextOptions;
49
- getAccessToken: () => string | null;
50
- getUser: () => import("./teams/interfaces").IUserProfile | null;
51
- onRedirectTo: (path: string, opts: import("./interfaces").RedirectOptions) => void;
52
- logout: (callback?: (() => void) | undefined) => void;
53
- };
54
- api: {
55
- auth: typeof auth;
56
- teams: typeof teams;
57
- metadata: typeof metadata;
58
- reports: typeof reports;
59
- connectivity: typeof connectivity;
60
- notifications: typeof notifications;
61
- audits: typeof audits;
62
- tenants: typeof tenants;
63
- accountSettings: typeof accountSettings;
64
- roles: typeof roles;
65
- subscriptions: typeof subscriptions;
66
- vendor: typeof vendor;
67
- };
68
- FronteggApiError: typeof FronteggApiError;
69
- };
70
- export default _default;
package/dist/index.js CHANGED
@@ -70,5 +70,4 @@ const api = {
70
70
  vendor
71
71
  };
72
72
  exports.api = api;
73
- exports.default = { fetch, ContextHolder: ContextHolder_1.ContextHolder, FronteggContext: ContextHolder_1.FronteggContext, api, FronteggApiError: error_1.FronteggApiError };
74
73
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,+CAAiC;AACjC,qDAAuC;AACvC,mDAAqC;AACrC,+DAAiD;AACjD,iDAAmC;AACnC,+CAAiC;AAwCzB,sBAAK;AAvCb,6DAA+C;AAC/C,mDAAqC;AACrC,oEAAsD;AACtD,+CAAiC;AACjC,+DAAiD;AACjD,mCAAyC;AAkCW,iGAlC5C,wBAAgB,OAkC4C;AAjCpE,iDAAmC;AAEnC,mDAA+D;AA+BhD,8FA/BP,6BAAa,OA+BO;AAAE,gGA/BP,+BAAe,OA+BO;AA7B7C,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,6DAA2C;AAC3C,sDAAoC;AACpC,uDAAqC;AACrC,gEAA8C;AAC9C,qDAAmC;AACnC,6DAA2C;AAC3C,sDAAoC;AAEpC,MAAM,GAAG,GAAG;IACV,IAAI;IACJ,KAAK;IACL,QAAQ;IACR,OAAO;IACP,YAAY;IACZ,aAAa;IACb,MAAM;IACN,OAAO;IACP,eAAe;IACf,KAAK;IACL,aAAa;IACb,MAAM;CACP,CAAC;AAE6C,kBAAG;AAElD,kBAAe,EAAC,KAAK,EAAE,aAAa,EAAb,6BAAa,EAAE,eAAe,EAAf,+BAAe,EAAE,GAAG,EAAE,gBAAgB,EAAhB,wBAAgB,EAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,+CAAiC;AACjC,qDAAuC;AACvC,mDAAqC;AACrC,+DAAiD;AACjD,iDAAmC;AACnC,+CAAiC;AAwCzB,sBAAK;AAvCb,6DAA+C;AAC/C,mDAAqC;AACrC,oEAAsD;AACtD,+CAAiC;AACjC,+DAAiD;AACjD,mCAAyC;AAkCW,iGAlC5C,wBAAgB,OAkC4C;AAjCpE,iDAAmC;AAEnC,mDAA+D;AA+BhD,8FA/BP,6BAAa,OA+BO;AAAE,gGA/BP,+BAAe,OA+BO;AA7B7C,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,6DAA2C;AAC3C,sDAAoC;AACpC,uDAAqC;AACrC,gEAA8C;AAC9C,qDAAmC;AACnC,6DAA2C;AAC3C,sDAAoC;AAEpC,MAAM,GAAG,GAAG;IACV,IAAI;IACJ,KAAK;IACL,QAAQ;IACR,OAAO;IACP,YAAY;IACZ,aAAa;IACb,MAAM;IACN,OAAO;IACP,eAAe;IACf,KAAK;IACL,aAAa;IACb,MAAM;CACP,CAAC;AAE6C,kBAAG"}
package/dist/umd/index.js CHANGED
@@ -2305,14 +2305,12 @@
2305
2305
  roles,
2306
2306
  subscriptions,
2307
2307
  vendor
2308
- };
2309
- var index = { fetch: fetch$1, ContextHolder, FronteggContext, api, FronteggApiError };
2308
+ };
2310
2309
 
2311
2310
  exports.ContextHolder = ContextHolder;
2312
2311
  exports.FronteggApiError = FronteggApiError;
2313
2312
  exports.FronteggContext = FronteggContext;
2314
2313
  exports.api = api;
2315
- exports.default = index;
2316
2314
  exports.fetch = fetch$1;
2317
2315
 
2318
2316
  Object.defineProperty(exports, '__esModule', { value: true });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frontegg/rest-api",
3
3
  "libName": "FronteggRestApi",
4
- "version": "2.10.38",
4
+ "version": "2.10.39",
5
5
  "author": "Frontegg LTD",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -46,4 +46,4 @@ const api = {
46
46
 
47
47
  export {fetch, ContextHolder, FronteggContext, api, FronteggApiError};
48
48
 
49
- export default {fetch, ContextHolder, FronteggContext, api, FronteggApiError};
49
+