@partium/ionic-sdk 14.14.0 → 14.14.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.
Files changed (3) hide show
  1. package/core/index.js +1 -33
  2. package/index.js +1 -31
  3. package/package.json +2 -2
package/core/index.js CHANGED
@@ -1,34 +1,2 @@
1
1
  // Copyright © 2022-2025 Partium, Inc. DBA Partium
2
- "use strict";
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
- };
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- __exportStar(require("@partium/js-sdk/core"), exports);
19
- const js_sdk_1 = require("@partium/js-sdk");
20
- const core_1 = require("@partium/js-sdk/core");
21
- const origInit = js_sdk_1.Partium.init;
22
- js_sdk_1.Partium.init = function (config) {
23
- // TODO replace any
24
- console.log('Initializing Partium...');
25
- return origInit(Object.assign(config, {
26
- authenticationConfig: config.authenticationConfig,
27
- httpsClientService: config.httpsClientService || core_1.AxiosHttpsClientService,
28
- fileTransferService: config.fileTransferService || core_1.AxiosFileTransferService,
29
- localStorageService: config.localStorageService || core_1.WebLocalStorageService,
30
- deviceStatusService: config.deviceStatusService || core_1.WebDeviceStatusService,
31
- fileService: config.fileService || core_1.WebFileService,
32
- }));
33
- };
34
- //# sourceMappingURL=index.js.map
2
+ "use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(e,i,r,t){void 0===t&&(t=r);var c=Object.getOwnPropertyDescriptor(i,r);c&&!("get"in c?!i.__esModule:c.writable||c.configurable)||(c={enumerable:!0,get:function(){return i[r]}}),Object.defineProperty(e,t,c)}:function(e,i,r,t){void 0===t&&(t=r),e[t]=i[r]}),__exportStar=this&&this.__exportStar||function(e,i){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(i,r)||__createBinding(i,e,r)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(require("@partium/js-sdk/core"),exports);const js_sdk_1=require("@partium/js-sdk"),core_1=require("@partium/js-sdk/core"),origInit=js_sdk_1.Partium.init;js_sdk_1.Partium.init=function(e){return console.log("Initializing Partium..."),origInit(Object.assign(e,{authenticationConfig:e.authenticationConfig,httpsClientService:e.httpsClientService||core_1.AxiosHttpsClientService,fileTransferService:e.fileTransferService||core_1.AxiosFileTransferService,localStorageService:e.localStorageService||core_1.WebLocalStorageService,deviceStatusService:e.deviceStatusService||core_1.WebDeviceStatusService,fileService:e.fileService||core_1.WebFileService}))};
package/index.js CHANGED
@@ -1,32 +1,2 @@
1
1
  // Copyright © 2022-2025 Partium, Inc. DBA Partium
2
- "use strict";
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
- };
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.INITIALIZATION_STATUS = exports.Partium = void 0;
19
- __exportStar(require("./core"), exports);
20
- __exportStar(require("@partium/js-sdk/core"), exports);
21
- __exportStar(require("@partium/js-sdk/find"), exports);
22
- __exportStar(require("@partium/js-sdk/data"), exports);
23
- __exportStar(require("@partium/js-sdk/user-data"), exports);
24
- __exportStar(require("@partium/js-sdk/ocr"), exports);
25
- __exportStar(require("@partium/js-sdk/management"), exports);
26
- __exportStar(require("@partium/js-sdk/catalog"), exports);
27
- __exportStar(require("@partium/js-sdk/datacuration"), exports);
28
- __exportStar(require("@partium/js-sdk/enrichment"), exports);
29
- var js_sdk_1 = require("@partium/js-sdk");
30
- Object.defineProperty(exports, "Partium", { enumerable: true, get: function () { return js_sdk_1.Partium; } });
31
- Object.defineProperty(exports, "INITIALIZATION_STATUS", { enumerable: true, get: function () { return js_sdk_1.INITIALIZATION_STATUS; } });
32
- //# sourceMappingURL=index.js.map
2
+ "use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(r,e,t,i){void 0===i&&(i=t);var o=Object.getOwnPropertyDescriptor(e,t);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(r,i,o)}:function(r,e,t,i){void 0===i&&(i=t),r[i]=e[t]}),__exportStar=this&&this.__exportStar||function(r,e){for(var t in r)"default"===t||Object.prototype.hasOwnProperty.call(e,t)||__createBinding(e,r,t)};Object.defineProperty(exports,"__esModule",{value:!0}),exports.INITIALIZATION_STATUS=exports.Partium=void 0,__exportStar(require("./core"),exports),__exportStar(require("@partium/js-sdk/core"),exports),__exportStar(require("@partium/js-sdk/find"),exports),__exportStar(require("@partium/js-sdk/data"),exports),__exportStar(require("@partium/js-sdk/user-data"),exports),__exportStar(require("@partium/js-sdk/ocr"),exports),__exportStar(require("@partium/js-sdk/management"),exports),__exportStar(require("@partium/js-sdk/catalog"),exports),__exportStar(require("@partium/js-sdk/datacuration"),exports),__exportStar(require("@partium/js-sdk/enrichment"),exports);var js_sdk_1=require("@partium/js-sdk");Object.defineProperty(exports,"Partium",{enumerable:!0,get:function(){return js_sdk_1.Partium}}),Object.defineProperty(exports,"INITIALIZATION_STATUS",{enumerable:!0,get:function(){return js_sdk_1.INITIALIZATION_STATUS}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@partium/ionic-sdk",
3
- "version": "14.14.0",
3
+ "version": "14.14.1",
4
4
  "description": "The Partium Find SDK enables integration of Partium’s parts and materials search capabilities into Ionic-based applications.",
5
5
  "author": "Partium Inc.",
6
6
  "license": "See LICENSE.txt",
@@ -19,7 +19,7 @@
19
19
  "clean": "npx rimraf -- node_modules package-lock.json && npm i"
20
20
  },
21
21
  "dependencies": {
22
- "@partium/js-sdk": "14.14.0",
22
+ "@partium/js-sdk": "14.14.1",
23
23
  "rxjs": "~7.8.2"
24
24
  },
25
25
  "devDependencies": {