sample-piral 1.4.1 → 1.4.2-beta.6402

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.
@@ -2946,14 +2946,7 @@ function integrateDebugger(context, options) {
2946
2946
  removePilet: context.removePilet,
2947
2947
  updatePilet: function updatePilet(pilet) {
2948
2948
  if (!pilet.disabled) {
2949
- var createApi = options.createApi;
2950
- var newApi = createApi(pilet);
2951
- try {
2952
- context.injectPilet(pilet);
2953
- pilet.setup(newApi);
2954
- } catch (error) {
2955
- console.error(error);
2956
- }
2949
+ context.addPilet(pilet);
2957
2950
  } else {
2958
2951
  context.injectPilet(pilet);
2959
2952
  }
@@ -6594,12 +6587,12 @@ function installPiralDebug(options) {
6594
6587
  debug: debugApiVersion,
6595
6588
  instance: {
6596
6589
  name: "sample-piral",
6597
- version: "1.4.1",
6590
+ version: "1.4.2-beta.6402",
6598
6591
  dependencies: "reactstrap,tslib,react,react-dom,react-router,react-router-dom"
6599
6592
  },
6600
6593
  build: {
6601
- date: "2023-12-14T11:01:19.069Z",
6602
- cli: "1.4.1",
6594
+ date: "2023-12-15T22:37:16.823Z",
6595
+ cli: "1.4.2-beta.6402",
6603
6596
  compat: "1"
6604
6597
  }
6605
6598
  };
@@ -66608,12 +66601,6 @@ var instance = (0,piral__WEBPACK_IMPORTED_MODULE_5__.createInstance)({
66608
66601
  }
66609
66602
  }))),
66610
66603
  requestPilets: function requestPilets() {
66611
- return Promise.resolve([{
66612
- spec: 'mf',
66613
- name: '@wmf/foo',
66614
- version: '1.0.0',
66615
- link: 'http://localhost:8080/index.js'
66616
- }]);
66617
66604
  return fetch('https://feed.piral.cloud/api/v1/pilet/sample').then(function (res) {
66618
66605
  return res.json();
66619
66606
  }).then(function (res) {
@@ -66633,4 +66620,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(piral
66633
66620
 
66634
66621
  /******/ })()
66635
66622
  ;
66636
- //# sourceMappingURL=index.99341c.js.map
66623
+ //# sourceMappingURL=index.211068.js.map