@agnostack/next-shopify 3.3.0 → 4.0.0-beta.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.
|
@@ -4,7 +4,9 @@ export * from "./callback";
|
|
|
4
4
|
export * from "./uninstall";
|
|
5
5
|
export * from "./verifiable";
|
|
6
6
|
export * from "./webhook";
|
|
7
|
-
export
|
|
8
|
-
api:
|
|
9
|
-
|
|
7
|
+
export const API_CONFIG: Readonly<{
|
|
8
|
+
api: Readonly<{
|
|
9
|
+
bodyParser: false;
|
|
10
|
+
}>;
|
|
11
|
+
}>;
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/handlers/api/index.js"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/handlers/api/index.js"],"names":[],"mappings":";;;;;;AAaA;;;;GAIE"}
|
|
@@ -14,15 +14,22 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
17
|
+
exports.API_CONFIG = void 0;
|
|
18
18
|
__exportStar(require("./auth"), exports);
|
|
19
19
|
__exportStar(require("./billing"), exports);
|
|
20
20
|
__exportStar(require("./callback"), exports);
|
|
21
21
|
__exportStar(require("./uninstall"), exports);
|
|
22
22
|
__exportStar(require("./verifiable"), exports);
|
|
23
23
|
__exportStar(require("./webhook"), exports);
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
// Next's build-time analyzer only accepts a literal for `export const config` — on next 15
|
|
25
|
+
// any call/identifier/spread is a fatal "Unsupported node type" (next 12 only warned). The
|
|
26
|
+
// one indirection it accepts is a named re-export, so consumers on next 15+ should use:
|
|
27
|
+
// export { API_CONFIG as config } from '@agnostack/next-shopify/lib'
|
|
28
|
+
// Only runtime-read keys (api.*) belong here — static keys (runtime, maxDuration, amp)
|
|
29
|
+
// would be silently ignored in that shape.
|
|
30
|
+
exports.API_CONFIG = Object.freeze({
|
|
31
|
+
api: Object.freeze({
|
|
32
|
+
bodyParser: false,
|
|
33
|
+
}),
|
|
26
34
|
});
|
|
27
|
-
exports.getAPIConfig = getAPIConfig;
|
|
28
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/handlers/api/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,4CAAyB;AACzB,6CAA0B;AAC1B,8CAA2B;AAC3B,+CAA4B;AAC5B,4CAAyB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/handlers/api/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,4CAAyB;AACzB,6CAA0B;AAC1B,8CAA2B;AAC3B,+CAA4B;AAC5B,4CAAyB;AAEzB,2FAA2F;AAC3F,2FAA2F;AAC3F,wFAAwF;AACxF,uEAAuE;AACvE,uFAAuF;AACvF,2CAA2C;AAC9B,QAAA,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC;IACtC,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC;QACjB,UAAU,EAAE,KAAK;KAClB,CAAC;CACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agnostack/next-shopify",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-beta.1",
|
|
4
4
|
"author": "agnoStack Dev <developers@agnostack.com> (https://agnostack.com)",
|
|
5
5
|
"owner": "agnoStack",
|
|
6
6
|
"description": "Please contact agnoStack via info@agnostack.com for any questions",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"js-base64": "3.1.0",
|
|
84
84
|
"jsonwebtoken": "9.0.1",
|
|
85
85
|
"jwt-decode": "3.1.2",
|
|
86
|
-
"luxon": "3.2
|
|
86
|
+
"luxon": "3.7.2",
|
|
87
87
|
"minimatch": "9.0.1",
|
|
88
88
|
"mustache": "4.2.0",
|
|
89
89
|
"nextjs-cors": "2.1.1",
|
|
@@ -128,5 +128,6 @@
|
|
|
128
128
|
},
|
|
129
129
|
"publishConfig": {
|
|
130
130
|
"access": "public"
|
|
131
|
-
}
|
|
131
|
+
},
|
|
132
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
132
133
|
}
|