@or-sdk/sdk-api 0.23.4-418.0 → 0.23.4-421.0

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.
@@ -21,16 +21,14 @@ var constants_1 = require("./constants");
21
21
  var SdkApi = (function (_super) {
22
22
  __extends(SdkApi, _super);
23
23
  function SdkApi(params) {
24
- var _this = this;
25
24
  var token = params.token, discoveryUrl = params.discoveryUrl, accountId = params.accountId, sdkUrl = params.sdkUrl;
26
- _this = _super.call(this, {
25
+ return _super.call(this, {
27
26
  token: token,
28
27
  discoveryUrl: discoveryUrl,
29
28
  serviceKey: constants_1.SERVICE_KEY,
30
29
  accountId: accountId,
31
30
  serviceUrl: sdkUrl,
32
31
  }) || this;
33
- return _this;
34
32
  }
35
33
  SdkApi.prototype.makeRequest = function (params) {
36
34
  return this.callApi(params);
@@ -1 +1 @@
1
- {"version":3,"file":"SdkApi.js","sourceRoot":"","sources":["../../src/SdkApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qCAAkD;AAElD,yCAA0C;AAS1C;IAA4B,0BAAI;IAO9B,gBAAY,MAAoB;QAAhC,iBAUC;QATS,IAAA,KAAK,GAAsC,MAAM,MAA5C,EAAE,YAAY,GAAwB,MAAM,aAA9B,EAAE,SAAS,GAAa,MAAM,UAAnB,EAAE,MAAM,GAAK,MAAM,OAAX,CAAY;QAE1D,QAAA,kBAAM;YACJ,KAAK,OAAA;YACL,YAAY,cAAA;YACZ,UAAU,EAAE,uBAAW;YACvB,SAAS,WAAA;YACT,UAAU,EAAE,MAAM;SACnB,CAAC,SAAC;;IACL,CAAC;IAEM,4BAAW,GAAlB,UAAsB,MAAoB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAC9B,CAAC;IACH,aAAC;AAAD,CAAC,AAtBD,CAA4B,WAAI,GAsB/B;AAtBY,wBAAM"}
1
+ {"version":3,"file":"SdkApi.js","sourceRoot":"","sources":["../../src/SdkApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qCAAkD;AAElD,yCAA0C;AAS1C;IAA4B,0BAAI;IAO9B,gBAAY,MAAoB;QACtB,IAAA,KAAK,GAAsC,MAAM,MAA5C,EAAE,YAAY,GAAwB,MAAM,aAA9B,EAAE,SAAS,GAAa,MAAM,UAAnB,EAAE,MAAM,GAAK,MAAM,OAAX,CAAY;eAE1D,kBAAM;YACJ,KAAK,OAAA;YACL,YAAY,cAAA;YACZ,UAAU,EAAE,uBAAW;YACvB,SAAS,WAAA;YACT,UAAU,EAAE,MAAM;SACnB,CAAC;IACJ,CAAC;IAEM,4BAAW,GAAlB,UAAsB,MAAoB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAC9B,CAAC;IACH,aAAC;AAAD,CAAC,AAtBD,CAA4B,WAAI,GAsB/B;AAtBY,wBAAM"}
package/dist/cjs/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,0CAAwB"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
- "version": "0.23.4-418.0",
2
+ "version": "0.23.4-421.0",
3
3
  "name": "@or-sdk/sdk-api",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
7
7
  "scripts": {
8
- "build": "npm run build:cjs && npm run build:esm && npm run build:types",
8
+ "build": "npm run clean && concurrently \"npm run build:cjs\" \"npm run build:esm\" \"npm run build:types\"",
9
9
  "build:watch": "concurrently -r --hide 1,2 \"npm run build:watch:cjs\" \"npm run build:watch:esm\" \"npm run build:watch:types\"",
10
10
  "build:cjs": "tsc --project tsconfig.json",
11
11
  "build:watch:cjs": "tsc --project tsconfig.json -w",
@@ -23,6 +23,6 @@
23
23
  "access": "public"
24
24
  },
25
25
  "dependencies": {
26
- "@or-sdk/base": "^0.24.2-418.0"
26
+ "@or-sdk/base": "^0.24.2-421.0"
27
27
  }
28
28
  }