@frankieone/one-sdk 0.3.2-rc.4 → 0.3.2-rc.5

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.
@@ -5,7 +5,9 @@ import { SdkModes } from "./sdk/types";
5
5
  * Explicitly Export types (with type-only exports) and enums (without "type") at the root when importing into a typescript project via npm
6
6
  * https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export
7
7
  */
8
- export type { Accessors } from "./common";
8
+ export { ENVIRONMENTS } from "./common";
9
+ export type { Accessors, mkEventHub, ReadonlyAccessors } from "./common";
10
+ export type { CheckSummary } from "./common/shared/models/CheckSummary";
9
11
  export type { DeviceModule, DeviceModuleContext as DeviceModuleContext, Events as DeviceModuleEvents, } from "./device";
10
12
  export type { FrankieApiClient } from "./frankie-client";
11
13
  export { Status as OCRStatus } from "./ocr";
@@ -23,12 +23,18 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.SdkMode = exports.OCRStatus = void 0;
26
+ exports.SdkMode = exports.OCRStatus = exports.ENVIRONMENTS = void 0;
27
27
  const utils = __importStar(require("./common"));
28
28
  const frankie_client_1 = require("./frankie-client");
29
29
  const sdk_1 = require("./sdk");
30
30
  const types_1 = require("./sdk/types");
31
31
  Object.defineProperty(exports, "SdkMode", { enumerable: true, get: function () { return types_1.SdkModes; } });
32
+ /**
33
+ * Explicitly Export types (with type-only exports) and enums (without "type") at the root when importing into a typescript project via npm
34
+ * https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export
35
+ */
36
+ var common_1 = require("./common");
37
+ Object.defineProperty(exports, "ENVIRONMENTS", { enumerable: true, get: function () { return common_1.ENVIRONMENTS; } });
32
38
  var ocr_1 = require("./ocr");
33
39
  Object.defineProperty(exports, "OCRStatus", { enumerable: true, get: function () { return ocr_1.Status; } });
34
40
  // Exported OneSdk object
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AACxC,2DAA0D;AAC1D,+BAA+B;AAC/B,uCAAuC;AAelB,wFAfZ,gBAAQ,OAeW;AAF5B,mCAAkD;AAAzC,gGAAA,MAAM,OAAa;AAI5B,yBAAyB;AACzB,4DAA4D;AAC5D,sDAAsD;AACtD,6BAA6B;AAC7B,oDAAoD;AACpD,kBAAe,MAAM,CAAC,MAAM,CAAC,YAAM,CAAC,UAAU,EAAE;IAC9C,gBAAgB,EAAhB,iCAAgB;IAChB,KAAK;IACL,KAAK,EAAE,gBAAQ;CAChB,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AACxC,2DAA0D;AAC1D,+BAA+B;AAC/B,uCAAuC;AAiBlB,wFAjBZ,gBAAQ,OAiBW;AAf5B;;;GAGG;AACH,yCAA8C;AAArC,sGAAA,YAAY,OAAA;AASrB,mCAAkD;AAAzC,gGAAA,MAAM,OAAa;AAI5B,yBAAyB;AACzB,4DAA4D;AAC5D,sDAAsD;AACtD,6BAA6B;AAC7B,oDAAoD;AACpD,kBAAe,MAAM,CAAC,MAAM,CAAC,YAAM,CAAC,UAAU,EAAE;IAC9C,gBAAgB,EAAhB,iCAAgB;IAChB,KAAK;IACL,KAAK,EAAE,gBAAQ;CAChB,CAAC,CAAC"}
@@ -12,4 +12,4 @@ export declare const mkSubmitMethod: (deps: {
12
12
  documents$: Accessors<Document[]>;
13
13
  }) => <T extends boolean>(o?: {
14
14
  verify: T;
15
- }) => Promise<T extends true ? import("../../common/shared/models/CheckSummary").CheckSummary : true>;
15
+ }) => Promise<T extends true ? import("../..").CheckSummary : true>;
package/dist/commit.txt CHANGED
@@ -1 +1 @@
1
- f85e0f047e2ea6bc5aafa435dcc7bdaf6a2f9e6e
1
+ 5975c10499ab8d8774f026af15dbe4d76fd3db17
@@ -5,7 +5,9 @@ import { SdkModes } from "./sdk/types";
5
5
  * Explicitly Export types (with type-only exports) and enums (without "type") at the root when importing into a typescript project via npm
6
6
  * https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export
7
7
  */
8
- export type { Accessors } from "./common";
8
+ export { ENVIRONMENTS } from "./common";
9
+ export type { Accessors, mkEventHub, ReadonlyAccessors } from "./common";
10
+ export type { CheckSummary } from "./common/shared/models/CheckSummary";
9
11
  export type { DeviceModule, DeviceModuleContext as DeviceModuleContext, Events as DeviceModuleEvents, } from "./device";
10
12
  export type { FrankieApiClient } from "./frankie-client";
11
13
  export { Status as OCRStatus } from "./ocr";
@@ -2,6 +2,11 @@ import * as utils from "./common";
2
2
  import { FrankieApiClient } from "./frankie-client";
3
3
  import { oneSdk } from "./sdk";
4
4
  import { SdkModes } from "./sdk/types";
5
+ /**
6
+ * Explicitly Export types (with type-only exports) and enums (without "type") at the root when importing into a typescript project via npm
7
+ * https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export
8
+ */
9
+ export { ENVIRONMENTS } from "./common";
5
10
  export { Status as OCRStatus } from "./ocr";
6
11
  export { SdkModes as SdkMode };
7
12
  // Exported OneSdk object
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../modules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAavC,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,QAAQ,IAAI,OAAO,EAAE,CAAC;AAE/B,yBAAyB;AACzB,4DAA4D;AAC5D,sDAAsD;AACtD,6BAA6B;AAC7B,oDAAoD;AACpD,eAAe,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE;IAC9C,gBAAgB;IAChB,KAAK;IACL,KAAK,EAAE,QAAQ;CAChB,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../modules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;GAGG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAS9C,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,QAAQ,IAAI,OAAO,EAAE,CAAC;AAE/B,yBAAyB;AACzB,4DAA4D;AAC5D,sDAAsD;AACtD,6BAA6B;AAC7B,oDAAoD;AACpD,eAAe,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE;IAC9C,gBAAgB;IAChB,KAAK;IACL,KAAK,EAAE,QAAQ;CAChB,CAAC,CAAC"}
@@ -12,4 +12,4 @@ export declare const mkSubmitMethod: (deps: {
12
12
  documents$: Accessors<Document[]>;
13
13
  }) => <T extends boolean>(o?: {
14
14
  verify: T;
15
- }) => Promise<T extends true ? import("../../common/shared/models/CheckSummary").CheckSummary : true>;
15
+ }) => Promise<T extends true ? import("../..").CheckSummary : true>;