gap-nodejs-sdk 1.0.56 → 1.0.57

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.
@@ -57,7 +57,7 @@ export default class CheckIn extends Base {
57
57
  static updateCheckOutConfig(data) {
58
58
  var _a;
59
59
  return __awaiter(this, void 0, void 0, function* () {
60
- const response = yield this.client.post({
60
+ const response = yield this.client.get({
61
61
  path: endpoints.settings.UPDATE_CHECKOUT_CONFIG,
62
62
  data: data
63
63
  });
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import Clover from './clover/Clover';
1
2
  import * as GapError from './error';
2
3
  import PosClientApi from "./pos_client_api";
3
4
  import SettingsApi from "./settings_api";
@@ -10,6 +11,7 @@ export declare const Gap: {
10
11
  GoCheckInApi: typeof GoCheckInApi;
11
12
  AppointmentApi: typeof AppointmentApi;
12
13
  Errors: typeof GapError;
14
+ Clover: typeof Clover;
13
15
  };
14
16
  export default Gap;
15
17
  export * from './types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AACpC,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,GAAG;;;;;;;CAOf,CAAC;AAIF,eAAe,GAAG,CAAC;AACnB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AACpC,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,GAAG;;;;;;;;CAQf,CAAC;AAIF,eAAe,GAAG,CAAC;AACnB,cAAc,SAAS,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import Clover from './clover/Clover';
1
2
  import { Context } from './context';
2
3
  import * as GapError from './error';
3
4
  import PosClientApi from "./pos_client_api";
@@ -11,6 +12,7 @@ export const Gap = {
11
12
  GoCheckInApi,
12
13
  AppointmentApi,
13
14
  Errors: GapError,
15
+ Clover
14
16
  };
15
17
  window.Gap = Gap;
16
18
  export default Gap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gap-nodejs-sdk",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "GCI App Platform Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "build": "tsc && webpack",
14
14
  "lint": "eslint '**/*.{ts,tsx}' --max-warnings 0",
15
15
  "clean": "rimraf ./dist tsconfig.tsbuildinfo",
16
- "bundle": "tsc && browserify -p esmify dist/index.js -o javascript/bundle.js"
16
+ "bundle": "npm run clean && tsc && browserify -p esmify dist/index.js -o javascript/bundle.js"
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
@@ -31,6 +31,7 @@
31
31
  "webpack-cli": "^4.10.0"
32
32
  },
33
33
  "dependencies": {
34
+ "@xuantan97/remote-pay-cloud": "^1.0.3",
34
35
  "axios": "^0.27.2",
35
36
  "dayjs": "^1.11.3",
36
37
  "js-file-download": "^0.4.12",