@parra/parra-js-sdk 0.2.64 → 0.2.66

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.
@@ -195,7 +195,7 @@ export interface TenantInvitation {
195
195
  member_id?: string | null;
196
196
  name: string;
197
197
  email: string;
198
- code?: string;
198
+ code: string;
199
199
  expires_at?: string;
200
200
  accepted_at?: string | null;
201
201
  }
package/dist/index.d.ts CHANGED
@@ -1,9 +1,8 @@
1
1
  import 'isomorphic-fetch';
2
- import { AuthorizationProvider, HTTPInterceptor } from '@parra/http-client';
2
+ import { HTTPRequestBody, HTTPUrlComponent, HTTPResponse, HTTPHeaders, HTTPQuery, HTTPMethod, HTTPLogger, HTTPOptions, HTTPRequest, HTTPRequestWithoutMethod, HTTPClient, HTTPInterceptor, Authorization, AuthFunctionProvider, AuthPromiseProvider, AuthorizationProvider, AuthInterceptor } from '@parra/http-client';
3
3
  import { default as ParraAPI } from './ParraAPI';
4
4
  export * from './ParraAPI';
5
- export * from '@parra/http-client';
6
- export { ParraAPI };
5
+ export { ParraAPI, HTTPRequestBody, HTTPUrlComponent, HTTPResponse, HTTPHeaders, HTTPQuery, HTTPMethod, HTTPLogger, HTTPOptions, HTTPRequest, HTTPRequestWithoutMethod, HTTPClient, HTTPInterceptor, Authorization, AuthFunctionProvider, AuthPromiseProvider, AuthorizationProvider, AuthInterceptor };
7
6
  export declare type ParraAPIType = typeof ParraAPI;
8
7
  export interface ParraAPIOptions {
9
8
  authorization?: AuthorizationProvider;
package/dist/index.js CHANGED
@@ -17,13 +17,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.ParraAPI = void 0;
20
+ exports.AuthInterceptor = exports.HTTPClient = exports.ParraAPI = void 0;
21
21
  require("isomorphic-fetch");
22
22
  var http_client_1 = require("@parra/http-client");
23
+ Object.defineProperty(exports, "HTTPClient", { enumerable: true, get: function () { return http_client_1.HTTPClient; } });
24
+ Object.defineProperty(exports, "AuthInterceptor", { enumerable: true, get: function () { return http_client_1.AuthInterceptor; } });
23
25
  var ParraAPI_1 = __importDefault(require("./ParraAPI"));
24
26
  Object.defineProperty(exports, "ParraAPI", { enumerable: true, get: function () { return ParraAPI_1.default; } });
25
27
  __exportStar(require("./ParraAPI"), exports);
26
- __exportStar(require("@parra/http-client"), exports);
27
28
  function default_1(options) {
28
29
  if (options === void 0) { options = {}; }
29
30
  var baseUrl = options.baseUrl || 'https://api.parra.io';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.64",
3
+ "version": "0.2.66",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "typescript": "^4.6.4"
23
23
  },
24
24
  "dependencies": {
25
- "@parra/http-client": "0.2.5",
25
+ "@parra/http-client": "0.2.6",
26
26
  "isomorphic-fetch": "^3.0.0"
27
27
  }
28
28
  }