@shopify/shopify-app-remix 2.0.1 → 2.0.2
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/build/cjs/server/boundary/error.js +1 -1
- package/build/cjs/server/version.js +1 -1
- package/build/ts/server/boundary/error.d.ts.map +1 -1
- package/build/ts/server/boundary/error.js +2 -1
- package/build/ts/server/boundary/error.js.map +1 -1
- package/build/ts/server/version.d.ts +1 -1
- package/build/ts/server/version.js +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
7
7
|
function errorBoundary(error) {
|
|
8
|
-
if (error.constructor.name === 'ErrorResponse') {
|
|
8
|
+
if (error.constructor.name === 'ErrorResponse' || error.constructor.name === 'ErrorResponseImpl') {
|
|
9
9
|
return /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
10
10
|
dangerouslySetInnerHTML: {
|
|
11
11
|
__html: error.data || 'Handling response'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../src/server/boundary/error.tsx"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../src/server/boundary/error.tsx"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,2CAavC"}
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.errorBoundary = void 0;
|
|
4
4
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
function errorBoundary(error) {
|
|
6
|
-
if (error.constructor.name === 'ErrorResponse'
|
|
6
|
+
if (error.constructor.name === 'ErrorResponse' ||
|
|
7
|
+
error.constructor.name === 'ErrorResponseImpl') {
|
|
7
8
|
return ((0, jsx_runtime_1.jsx)("div", { dangerouslySetInnerHTML: { __html: error.data || 'Handling response' } }));
|
|
8
9
|
}
|
|
9
10
|
throw error;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../../src/server/boundary/error.tsx"],"names":[],"mappings":";;;;AAAA,SAAgB,aAAa,CAAC,KAAU;IACtC,
|
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../../src/server/boundary/error.tsx"],"names":[],"mappings":";;;;AAAA,SAAgB,aAAa,CAAC,KAAU;IACtC,IACE,KAAK,CAAC,WAAW,CAAC,IAAI,KAAK,eAAe;QAC1C,KAAK,CAAC,WAAW,CAAC,IAAI,KAAK,mBAAmB,EAC9C;QACA,OAAO,CACL,gCACE,uBAAuB,EAAE,EAAC,MAAM,EAAE,KAAK,CAAC,IAAI,IAAI,mBAAmB,EAAC,GACpE,CACH,CAAC;KACH;IAED,MAAM,KAAK,CAAC;AACd,CAAC;AAbD,sCAaC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SHOPIFY_REMIX_LIBRARY_VERSION = "2.0.
|
|
1
|
+
export declare const SHOPIFY_REMIX_LIBRARY_VERSION = "2.0.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|