brainerce 1.3.0 → 1.3.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.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3119,12 +3119,12 @@ var BrainerceClient = class {
|
|
|
3119
3119
|
if (this.isVibeCodedMode()) {
|
|
3120
3120
|
const result = await this.vibeCodedRequest(
|
|
3121
3121
|
"GET",
|
|
3122
|
-
"/
|
|
3122
|
+
"/pickup-locations"
|
|
3123
3123
|
);
|
|
3124
3124
|
return result.pickupLocations;
|
|
3125
3125
|
}
|
|
3126
3126
|
if (this.storeId && !this.apiKey) {
|
|
3127
|
-
return this.storefrontRequest("GET", "/
|
|
3127
|
+
return this.storefrontRequest("GET", "/pickup-locations");
|
|
3128
3128
|
}
|
|
3129
3129
|
return this.adminRequest("GET", "/api/v1/checkouts/pickup-locations");
|
|
3130
3130
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -3061,12 +3061,12 @@ var BrainerceClient = class {
|
|
|
3061
3061
|
if (this.isVibeCodedMode()) {
|
|
3062
3062
|
const result = await this.vibeCodedRequest(
|
|
3063
3063
|
"GET",
|
|
3064
|
-
"/
|
|
3064
|
+
"/pickup-locations"
|
|
3065
3065
|
);
|
|
3066
3066
|
return result.pickupLocations;
|
|
3067
3067
|
}
|
|
3068
3068
|
if (this.storeId && !this.apiKey) {
|
|
3069
|
-
return this.storefrontRequest("GET", "/
|
|
3069
|
+
return this.storefrontRequest("GET", "/pickup-locations");
|
|
3070
3070
|
}
|
|
3071
3071
|
return this.adminRequest("GET", "/api/v1/checkouts/pickup-locations");
|
|
3072
3072
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brainerce",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Official SDK for building e-commerce storefronts with Brainerce Platform. Perfect for vibe-coded sites, AI-built stores (Cursor, Lovable, v0), and custom storefronts.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|