@etsoo/appscript 1.4.0 → 1.4.1

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.
@@ -63,7 +63,7 @@ export * from './erp/PublicApi';
63
63
  export * from './i18n/en';
64
64
  export * from './i18n/zhHans';
65
65
  export * from './i18n/zhHant';
66
- export { ApiAuthorizationScheme, ApiMethod, ApiResponseType, createClient } from '@etsoo/restclient';
66
+ export { ApiAuthorizationScheme, ApiMethod, ApiResponseType, createClient, createClientAsync } from '@etsoo/restclient';
67
67
  export type { IApi, IApiPayload } from '@etsoo/restclient';
68
68
  export * from './result/ActionResult';
69
69
  export * from './result/ActionResultError';
package/lib/cjs/index.js CHANGED
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.createClient = exports.ApiResponseType = exports.ApiMethod = exports.ApiAuthorizationScheme = void 0;
17
+ exports.createClientAsync = exports.createClient = exports.ApiResponseType = exports.ApiMethod = exports.ApiAuthorizationScheme = void 0;
18
18
  // address
19
19
  __exportStar(require("./address/AddressAutocomplete"), exports);
20
20
  __exportStar(require("./address/AddressCity"), exports);
@@ -95,6 +95,7 @@ Object.defineProperty(exports, "ApiAuthorizationScheme", { enumerable: true, get
95
95
  Object.defineProperty(exports, "ApiMethod", { enumerable: true, get: function () { return restclient_1.ApiMethod; } });
96
96
  Object.defineProperty(exports, "ApiResponseType", { enumerable: true, get: function () { return restclient_1.ApiResponseType; } });
97
97
  Object.defineProperty(exports, "createClient", { enumerable: true, get: function () { return restclient_1.createClient; } });
98
+ Object.defineProperty(exports, "createClientAsync", { enumerable: true, get: function () { return restclient_1.createClientAsync; } });
98
99
  // result
99
100
  __exportStar(require("./result/ActionResult"), exports);
100
101
  __exportStar(require("./result/ActionResultError"), exports);
@@ -63,7 +63,7 @@ export * from './erp/PublicApi';
63
63
  export * from './i18n/en';
64
64
  export * from './i18n/zhHans';
65
65
  export * from './i18n/zhHant';
66
- export { ApiAuthorizationScheme, ApiMethod, ApiResponseType, createClient } from '@etsoo/restclient';
66
+ export { ApiAuthorizationScheme, ApiMethod, ApiResponseType, createClient, createClientAsync } from '@etsoo/restclient';
67
67
  export type { IApi, IApiPayload } from '@etsoo/restclient';
68
68
  export * from './result/ActionResult';
69
69
  export * from './result/ActionResultError';
package/lib/mjs/index.js CHANGED
@@ -73,7 +73,7 @@ export * from './i18n/en';
73
73
  export * from './i18n/zhHans';
74
74
  export * from './i18n/zhHant';
75
75
  // @etsoo/restclient
76
- export { ApiAuthorizationScheme, ApiMethod, ApiResponseType, createClient } from '@etsoo/restclient';
76
+ export { ApiAuthorizationScheme, ApiMethod, ApiResponseType, createClient, createClientAsync } from '@etsoo/restclient';
77
77
  // result
78
78
  export * from './result/ActionResult';
79
79
  export * from './result/ActionResultError';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -52,8 +52,8 @@
52
52
  },
53
53
  "homepage": "https://github.com/ETSOO/AppScript#readme",
54
54
  "dependencies": {
55
- "@etsoo/notificationbase": "^1.1.24",
56
- "@etsoo/restclient": "^1.0.87",
55
+ "@etsoo/notificationbase": "^1.1.25",
56
+ "@etsoo/restclient": "^1.0.88",
57
57
  "@etsoo/shared": "^1.2.5",
58
58
  "crypto-js": "^4.1.1"
59
59
  },
package/src/index.ts CHANGED
@@ -86,7 +86,8 @@ export {
86
86
  ApiAuthorizationScheme,
87
87
  ApiMethod,
88
88
  ApiResponseType,
89
- createClient
89
+ createClient,
90
+ createClientAsync
90
91
  } from '@etsoo/restclient';
91
92
  export type { IApi, IApiPayload } from '@etsoo/restclient';
92
93