@trackunit/iris-app-runtime-core 0.3.158 → 0.3.161

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.
package/index.cjs.js CHANGED
@@ -28,7 +28,12 @@ function __awaiter(thisArg, _arguments, P, generator) {
28
28
  function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
29
29
  step((generator = generator.apply(thisArg, _arguments || [])).next());
30
30
  });
31
- }
31
+ }
32
+
33
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
34
+ var e = new Error(message);
35
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
36
+ };
32
37
 
33
38
  const doNothingByDefault = () => { };
34
39
  /**
@@ -339,9 +344,9 @@ const NavigationRuntime = {
339
344
  const api = yield getHostConnector();
340
345
  return api.gotoCustomer(customerId);
341
346
  }),
342
- gotoMyExports: () => __awaiter(void 0, void 0, void 0, function* () {
347
+ gotoMyExports: (exportId) => __awaiter(void 0, void 0, void 0, function* () {
343
348
  const api = yield getHostConnector();
344
- return api.gotoMyExports();
349
+ return api.gotoMyExports(exportId);
345
350
  }),
346
351
  gotoAdmin: () => __awaiter(void 0, void 0, void 0, function* () {
347
352
  const api = yield getHostConnector();
@@ -394,8 +399,8 @@ const SiteRuntime = {
394
399
 
395
400
  const ToastRuntime = {
396
401
  addToast(toast) {
397
- var _a, _b;
398
402
  return __awaiter(this, void 0, void 0, function* () {
403
+ var _a, _b;
399
404
  const api = yield getHostConnector();
400
405
  return api
401
406
  .addToast(Object.assign(Object.assign({}, toast), { primaryAction: (_a = toast.primaryAction) === null || _a === void 0 ? void 0 : _a.label, secondaryAction: (_b = toast.secondaryAction) === null || _b === void 0 ? void 0 : _b.label }))
package/index.esm.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./src/index";
package/index.esm.js CHANGED
@@ -24,7 +24,12 @@ function __awaiter(thisArg, _arguments, P, generator) {
24
24
  function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
25
25
  step((generator = generator.apply(thisArg, _arguments || [])).next());
26
26
  });
27
- }
27
+ }
28
+
29
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
30
+ var e = new Error(message);
31
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
32
+ };
28
33
 
29
34
  const doNothingByDefault = () => { };
30
35
  /**
@@ -335,9 +340,9 @@ const NavigationRuntime = {
335
340
  const api = yield getHostConnector();
336
341
  return api.gotoCustomer(customerId);
337
342
  }),
338
- gotoMyExports: () => __awaiter(void 0, void 0, void 0, function* () {
343
+ gotoMyExports: (exportId) => __awaiter(void 0, void 0, void 0, function* () {
339
344
  const api = yield getHostConnector();
340
- return api.gotoMyExports();
345
+ return api.gotoMyExports(exportId);
341
346
  }),
342
347
  gotoAdmin: () => __awaiter(void 0, void 0, void 0, function* () {
343
348
  const api = yield getHostConnector();
@@ -390,8 +395,8 @@ const SiteRuntime = {
390
395
 
391
396
  const ToastRuntime = {
392
397
  addToast(toast) {
393
- var _a, _b;
394
398
  return __awaiter(this, void 0, void 0, function* () {
399
+ var _a, _b;
395
400
  const api = yield getHostConnector();
396
401
  return api
397
402
  .addToast(Object.assign(Object.assign({}, toast), { primaryAction: (_a = toast.primaryAction) === null || _a === void 0 ? void 0 : _a.label, secondaryAction: (_b = toast.secondaryAction) === null || _b === void 0 ? void 0 : _b.label }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.3.158",
3
+ "version": "0.3.161",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {